is_init 5185 tools/finsig_thumb2.c int is_immediate_ret_sub(firmware *fw,iter_state_t *is_init) is_init 5187 tools/finsig_thumb2.c fw_disasm_iter_single(fw,is_init->adr | is_init->thumb); is_init 1315 tools/firmware_load_ng.c int get_call_const_args(firmware *fw, iter_state_t *is_init, int max_backtrack, uint32_t *res) is_init 1333 tools/firmware_load_ng.c if(is_init->ah.count <= 1) { is_init 1336 tools/firmware_load_ng.c if(is_init->ah.count - 1 < max_backtrack) { is_init 1342 tools/firmware_load_ng.c max_backtrack = is_init->ah.count-1; is_init 1350 tools/firmware_load_ng.c fw_disasm_iter_single(fw,adr_hist_get(&is_init->ah,i)); // thumb state comes from hist is_init 1441 tools/firmware_load_ng.c uint32_t get_direct_jump_target(firmware *fw, iter_state_t *is_init) is_init 1443 tools/firmware_load_ng.c uint32_t adr=B_target(fw,is_init->insn); is_init 1446 tools/firmware_load_ng.c return (adr | is_init->thumb); is_init 1448 tools/firmware_load_ng.c adr=LDR_PC_PC_target(fw,is_init->insn); is_init 1454 tools/firmware_load_ng.c adr=BX_PC_target(fw,is_init->insn); is_init 1457 tools/firmware_load_ng.c if(is_init->thumb) { is_init 1464 tools/firmware_load_ng.c if((is_init->insn->id == ARM_INS_MOV || is_init->insn->id == ARM_INS_MOVW) is_init 1465 tools/firmware_load_ng.c && is_init->insn->detail->arm.operands[0].reg == ARM_REG_IP is_init 1466 tools/firmware_load_ng.c && is_init->insn->detail->arm.operands[1].type == ARM_OP_IMM) { is_init 1467 tools/firmware_load_ng.c adr = is_init->insn->detail->arm.operands[1].imm; is_init 1469 tools/firmware_load_ng.c if(!fw_disasm_iter_single(fw,is_init->adr | is_init->thumb)) { is_init 468 tools/firmware_load_ng.h int get_call_const_args(firmware *fw, iter_state_t *is_init, int max_backtrack, uint32_t *res); is_init 483 tools/firmware_load_ng.h uint32_t get_direct_jump_target(firmware *fw, iter_state_t *is_init);