rule              810 tools/finsig_thumb2.c typedef int (*sig_match_fn)(firmware *fw, iter_state_t *is, sig_rule_t *rule);
rule              846 tools/finsig_thumb2.c int init_disasm_sig_ref(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule              848 tools/finsig_thumb2.c     if(!rule->ref_name) {
rule              849 tools/finsig_thumb2.c         printf("init_disasm_sig_ref: %s missing ref_name\n",rule->name);
rule              852 tools/finsig_thumb2.c     uint32_t adr=get_saved_sig_val(rule->ref_name);
rule              854 tools/finsig_thumb2.c         printf("init_disasm_sig_ref: %s missing %s\n",rule->name,rule->ref_name);
rule              858 tools/finsig_thumb2.c         printf("init_disasm_sig_ref: %s bad address 0x%08x for %s\n",rule->name,adr,rule->ref_name);
rule              864 tools/finsig_thumb2.c int sig_match_near_str(firmware *fw, iter_state_t *is, sig_rule_t *rule);
rule              870 tools/finsig_thumb2.c int sig_match_str_r0_call(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule              872 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule              874 tools/finsig_thumb2.c         printf("sig_match_str_r0_call: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule              889 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,adr);
rule              897 tools/finsig_thumb2.c int sig_match_reg_evp(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule              926 tools/finsig_thumb2.c int sig_match_reg_evp_table(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule              929 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name); // note this string may appear more than once, assuming want first
rule              931 tools/finsig_thumb2.c         printf("sig_match_reg_evp_table: failed to find %s\n",rule->ref_name);
rule              980 tools/finsig_thumb2.c int sig_match_reg_evp_alt2(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule              984 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule              986 tools/finsig_thumb2.c         printf("sig_match_reg_evp_alt2: failed to find %s\n",rule->ref_name);
rule             1022 tools/finsig_thumb2.c int sig_match_unreg_evp_table(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1024 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1026 tools/finsig_thumb2.c         printf("sig_match_unreg_evp_table: failed to find %s\n",rule->ref_name);
rule             1083 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1088 tools/finsig_thumb2.c int sig_match_evp_table_veneer(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1090 tools/finsig_thumb2.c     uint32_t ref_adr = get_saved_sig_val(rule->ref_name);
rule             1106 tools/finsig_thumb2.c                     add_func_name(rule->name,cadr | is->thumb,NULL);
rule             1116 tools/finsig_thumb2.c int sig_match_get_nd_value(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1123 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1149 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,addr);
rule             1152 tools/finsig_thumb2.c int sig_match_get_current_exp(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1154 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1173 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1176 tools/finsig_thumb2.c int sig_match_get_current_nd_value(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1182 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1203 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1206 tools/finsig_thumb2.c int sig_match_imager_active_callback(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1208 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1230 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,f1);
rule             1232 tools/finsig_thumb2.c int sig_match_imager_active(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1234 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1249 tools/finsig_thumb2.c         init_disasm_sig_ref(fw,is,rule);
rule             1286 tools/finsig_thumb2.c int sig_match_screenlock(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1288 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1303 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1306 tools/finsig_thumb2.c int sig_match_screenunlock(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1308 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1328 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1332 tools/finsig_thumb2.c int sig_match_log_camera_event(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1334 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1355 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1359 tools/finsig_thumb2.c int sig_match_physw_misc(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1361 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1362 tools/finsig_thumb2.c         osig* ostub2 = find_sig(fw->sv->stubs,rule->ref_name);
rule             1448 tools/finsig_thumb2.c int sig_match_kbd_read_keys(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1450 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1472 tools/finsig_thumb2.c int sig_match_get_kbd_state(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1474 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1496 tools/finsig_thumb2.c int sig_match_create_jumptable(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1498 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1516 tools/finsig_thumb2.c int sig_match_take_semaphore_strict(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1518 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1579 tools/finsig_thumb2.c int sig_match_get_semaphore_value(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1581 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1583 tools/finsig_thumb2.c         printf("sig_get_semaphore_value: failed to find ref %s\n",rule->ref_name);
rule             1617 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1620 tools/finsig_thumb2.c int sig_match_stat(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1622 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1624 tools/finsig_thumb2.c         printf("sig_match_stat: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule             1639 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,adr);
rule             1656 tools/finsig_thumb2.c int sig_match_open(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1658 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1664 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1668 tools/finsig_thumb2.c int sig_match_open_gt_57(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1670 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1687 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1692 tools/finsig_thumb2.c int sig_match_close_gt_57(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1694 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1711 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1716 tools/finsig_thumb2.c int sig_match_umalloc(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1718 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1731 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1735 tools/finsig_thumb2.c int sig_match_ufree(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1737 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1758 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1761 tools/finsig_thumb2.c int sig_match_deletefile_fut(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1763 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1765 tools/finsig_thumb2.c         printf("sig_match_deletefile_fut: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule             1792 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,adr);
rule             1797 tools/finsig_thumb2.c uint32_t find_call_near_str(firmware *fw, iter_state_t *is, sig_rule_t *rule);
rule             1799 tools/finsig_thumb2.c int sig_match_closedir(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1801 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1803 tools/finsig_thumb2.c         printf("sig_match_closedir: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule             1813 tools/finsig_thumb2.c             return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1817 tools/finsig_thumb2.c     uint32_t call_adr = find_call_near_str(fw,is,rule);
rule             1827 tools/finsig_thumb2.c             return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1834 tools/finsig_thumb2.c int sig_match_strrchr(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1836 tools/finsig_thumb2.c     uint32_t sig_adr=get_saved_sig_val(rule->name);
rule             1839 tools/finsig_thumb2.c         uint32_t call_adr = find_call_near_str(fw,is,rule);
rule             1849 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1856 tools/finsig_thumb2.c int sig_match_time(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1858 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1860 tools/finsig_thumb2.c         printf("sig_match_time: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule             1880 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1885 tools/finsig_thumb2.c int sig_match_strncpy(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1887 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1896 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1899 tools/finsig_thumb2.c int sig_match_strncmp(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1901 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1903 tools/finsig_thumb2.c         printf("sig_match_strncmp: failed to find ref %s\n",rule->ref_name);
rule             1915 tools/finsig_thumb2.c             if(regs[1]==str_adr &&  regs[2] == strlen(rule->ref_name)) {
rule             1916 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1923 tools/finsig_thumb2.c int sig_match_strtolx(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1925 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             1959 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             1963 tools/finsig_thumb2.c int sig_match_exec_evp(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1965 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             1967 tools/finsig_thumb2.c         printf("sig_match_exec_evp: failed to find ref %s\n",rule->ref_name);
rule             1986 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,adr);
rule             1993 tools/finsig_thumb2.c int sig_match_fgets_fut(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             1995 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2013 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2016 tools/finsig_thumb2.c int sig_match_log(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2018 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2033 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2037 tools/finsig_thumb2.c int sig_match_pow_dry_52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2042 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2065 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,adr);
rule             2069 tools/finsig_thumb2.c int sig_match_pow_dry_gt_52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2074 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2099 tools/finsig_thumb2.c         init_disasm_sig_ref(fw,is,rule);
rule             2130 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2133 tools/finsig_thumb2.c int sig_match_sqrt(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2135 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2162 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2164 tools/finsig_thumb2.c int sig_match_get_drive_cluster_size(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2166 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2193 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2198 tools/finsig_thumb2.c int sig_match_mktime_ext(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2200 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2202 tools/finsig_thumb2.c         printf("sig_match_mktime_ext: failed to find ref %s\n",rule->ref_name);
rule             2249 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2255 tools/finsig_thumb2.c int sig_match_rec2pb(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2257 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2259 tools/finsig_thumb2.c         printf("sig_match_mktime_ext: failed to find ref %s\n",rule->ref_name);
rule             2295 tools/finsig_thumb2.c             return save_sig_with_j(fw,rule->name,adr);
rule             2305 tools/finsig_thumb2.c int sig_match_get_parameter_data(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2307 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2325 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2331 tools/finsig_thumb2.c int sig_match_prepdir_x(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2333 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2351 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2357 tools/finsig_thumb2.c int sig_match_prepdir_1(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2359 tools/finsig_thumb2.c     uint32_t call_adr = find_call_near_str(fw,is,rule);
rule             2366 tools/finsig_thumb2.c             rule->param = SIG_NEAR_BEFORE(20,5);
rule             2367 tools/finsig_thumb2.c             call_adr = find_call_near_str(fw,is,rule);
rule             2373 tools/finsig_thumb2.c             return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2377 tools/finsig_thumb2.c     rule->param = SIG_NEAR_BEFORE(7,2);
rule             2378 tools/finsig_thumb2.c     call_adr = find_call_near_str(fw,is,rule);
rule             2384 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2387 tools/finsig_thumb2.c int sig_match_prepdir_0(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2389 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2422 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,adr);
rule             2424 tools/finsig_thumb2.c int sig_match_mkdir(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2426 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2437 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2440 tools/finsig_thumb2.c     init_disasm_sig_ref(fw,is,rule);
rule             2452 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2455 tools/finsig_thumb2.c int sig_match_add_ptp_handler(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2457 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2459 tools/finsig_thumb2.c         printf("sig_match_add_ptp_handler: failed to find ref %s\n",rule->ref_name);
rule             2485 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2489 tools/finsig_thumb2.c int sig_match_qsort(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2491 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2518 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2528 tools/finsig_thumb2.c int sig_match_deletedirectory_fut(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2530 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2532 tools/finsig_thumb2.c         printf("sig_match_deletedirectory_fut: failed to find ref %s\n",rule->ref_name);
rule             2570 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2584 tools/finsig_thumb2.c int sig_match_set_control_event(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2586 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2612 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2617 tools/finsig_thumb2.c int sig_match_displaybusyonscreen_52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2622 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2624 tools/finsig_thumb2.c         printf("sig_match_displaybusyonscreen: failed to find ref %s\n",rule->ref_name);
rule             2645 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2650 tools/finsig_thumb2.c int sig_match_undisplaybusyonscreen_52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2655 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2657 tools/finsig_thumb2.c         printf("sig_match_undisplaybusyonscreen: failed to find ref %s\n",rule->ref_name);
rule             2675 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2679 tools/finsig_thumb2.c int sig_match_pt_playsound(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2685 tools/finsig_thumb2.c     return sig_match_near_str(fw,is,rule);
rule             2688 tools/finsig_thumb2.c int sig_match_try_take_sem_dry_gt_58(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2690 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2702 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2708 tools/finsig_thumb2.c int sig_match_wait_all_eventflag_strict(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2710 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2728 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2733 tools/finsig_thumb2.c int sig_match_get_num_posted_messages(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2735 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2747 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2750 tools/finsig_thumb2.c int sig_match_set_hp_timer_after_now(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2752 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2754 tools/finsig_thumb2.c         printf("sig_match_set_hp_timer_after_now: failed to find ref %s\n",rule->ref_name);
rule             2779 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2783 tools/finsig_thumb2.c int sig_match_transfer_src_overlay(firmware *fw, iter_state_t *is, sig_rule_t *rule) {
rule             2784 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2805 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2809 tools/finsig_thumb2.c int sig_match_exmem_vars(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2812 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2861 tools/finsig_thumb2.c int sig_match_zicokick_52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2863 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2865 tools/finsig_thumb2.c         printf("sig_match_zicokick_52: failed to find ref %s\n",rule->ref_name);
rule             2871 tools/finsig_thumb2.c     if(!fw_search_insn(fw,is,search_disasm_str_ref,0,rule->ref_name,(uint32_t)is->adr+SEARCH_NEAR_REF_RANGE)) {
rule             2872 tools/finsig_thumb2.c         printf("sig_match_zicokick_52: failed to find insn ref %s\n",rule->ref_name);
rule             2892 tools/finsig_thumb2.c         return save_sig_with_j(fw,rule->name,adr);
rule             2897 tools/finsig_thumb2.c int sig_match_zicokick_gt52(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2899 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             2901 tools/finsig_thumb2.c         printf("sig_match_zicokick_gt52: failed to find ref %s\n",rule->ref_name);
rule             2907 tools/finsig_thumb2.c     if(!fw_search_insn(fw,is,search_disasm_str_ref,0,rule->ref_name,(uint32_t)is->adr+SEARCH_NEAR_REF_RANGE)) {
rule             2908 tools/finsig_thumb2.c         printf("sig_match_zicokick_gt52: failed to find insn ref %s\n",rule->ref_name);
rule             2926 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,(uint32_t)(fw->is->insn->address) | is->thumb);
rule             2933 tools/finsig_thumb2.c int sig_match_zicokick_copy(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2935 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             2953 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             2956 tools/finsig_thumb2.c int sig_match_zicokick_values(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             2958 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3049 tools/finsig_thumb2.c int sig_match_enable_hdmi_power(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3051 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3071 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             3074 tools/finsig_thumb2.c int sig_match_disable_hdmi_power(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3076 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3102 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             3105 tools/finsig_thumb2.c int sig_match_levent_table(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3107 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3143 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,(uint32_t)is->insn->address);
rule             3146 tools/finsig_thumb2.c int sig_match_flash_param_table(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3148 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3199 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,(uint32_t)is->insn->address);
rule             3202 tools/finsig_thumb2.c int sig_match_jpeg_count_str(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3204 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             3206 tools/finsig_thumb2.c         printf("sig_match_jpeg_count_str: failed to find ref %s\n",rule->ref_name);
rule             3235 tools/finsig_thumb2.c         save_misc_val(rule->name,regs[0],0,(uint32_t)is->insn->address);
rule             3242 tools/finsig_thumb2.c int sig_match_misc_flag_named(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3244 tools/finsig_thumb2.c     uint32_t ref=get_saved_sig_val(rule->ref_name);
rule             3245 tools/finsig_thumb2.c     save_misc_val(rule->name,(ref)?1:0,0,ref);
rule             3249 tools/finsig_thumb2.c int sig_match_cam_has_iris_diaphragm(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3252 tools/finsig_thumb2.c     uint32_t ref=0;get_saved_sig_val(rule->ref_name);
rule             3257 tools/finsig_thumb2.c         ref=get_saved_sig_val(rule->ref_name);
rule             3260 tools/finsig_thumb2.c     save_misc_val(rule->name,v,0,ref);
rule             3264 tools/finsig_thumb2.c int sig_match_cam_uncached_bit(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3266 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3274 tools/finsig_thumb2.c         save_misc_val(rule->name,is->insn->detail->arm.operands[2].imm,0,(uint32_t)is->insn->address);
rule             3280 tools/finsig_thumb2.c int sig_match_physw_event_table(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3282 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3299 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,(uint32_t)is->insn->address);
rule             3302 tools/finsig_thumb2.c int sig_match_uiprop_count(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3304 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3324 tools/finsig_thumb2.c     save_misc_val(rule->name,is->insn->detail->arm.operands[1].imm,0,(uint32_t)is->insn->address);
rule             3328 tools/finsig_thumb2.c int sig_match_get_canon_mode_list(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3330 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             3332 tools/finsig_thumb2.c         printf("sig_match_get_canon_mode_list: failed to find ref %s\n",rule->ref_name);
rule             3415 tools/finsig_thumb2.c     return save_sig_with_j(fw,rule->name,adr);
rule             3418 tools/finsig_thumb2.c int sig_match_zoom_busy(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3420 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3454 tools/finsig_thumb2.c     save_misc_val(rule->name,base,is->insn->detail->arm.operands[1].mem.disp,(uint32_t)is->insn->address);
rule             3458 tools/finsig_thumb2.c int sig_match_focus_busy(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3460 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3502 tools/finsig_thumb2.c     save_misc_val(rule->name,base,is->insn->detail->arm.operands[1].mem.disp,(uint32_t)is->insn->address);
rule             3505 tools/finsig_thumb2.c int sig_match_aram_size(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3507 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3524 tools/finsig_thumb2.c     save_misc_val(rule->name,val,0,(uint32_t)is->insn->address);
rule             3528 tools/finsig_thumb2.c int sig_match_aram_start(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3530 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3554 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,(uint32_t)is->insn->address);
rule             3558 tools/finsig_thumb2.c int sig_match_aram_start2(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3563 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3588 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,(uint32_t)is->insn->address);
rule             3592 tools/finsig_thumb2.c int sig_match__nrflag(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3594 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3646 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,disp,fadr);
rule             3653 tools/finsig_thumb2.c int sig_match_var_struct_get(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3655 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3673 tools/finsig_thumb2.c     save_misc_val(rule->name,desc.adr_adj,desc.off,fadr);
rule             3677 tools/finsig_thumb2.c int sig_match_rom_ptr_get(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3679 tools/finsig_thumb2.c     if(!init_disasm_sig_ref(fw,is,rule)) {
rule             3705 tools/finsig_thumb2.c     save_misc_val(rule->name,adr,0,fadr);
rule             3712 tools/finsig_thumb2.c uint32_t find_call_near_str(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3714 tools/finsig_thumb2.c     uint32_t str_adr = find_str_bytes(fw,rule->ref_name);
rule             3716 tools/finsig_thumb2.c         printf("find_call_near_str: %s failed to find ref %s\n",rule->name,rule->ref_name);
rule             3722 tools/finsig_thumb2.c     if(rule->param & SIG_NEAR_INDIRECT) {
rule             3726 tools/finsig_thumb2.c             printf("find_call_near_str: %s failed to find indirect ref %s\n",rule->name,rule->ref_name);
rule             3732 tools/finsig_thumb2.c     if(rule->param & SIG_NEAR_JMP_SUB) {
rule             3738 tools/finsig_thumb2.c     int max_insns=rule->param&SIG_NEAR_OFFSET_MASK;
rule             3739 tools/finsig_thumb2.c     int n=(rule->param&SIG_NEAR_COUNT_MASK)>>SIG_NEAR_COUNT_SHIFT;
rule             3745 tools/finsig_thumb2.c         if(rule->param & SIG_NEAR_REV) {
rule             3763 tools/finsig_thumb2.c     printf("find_call_near_str: no match %s\n",rule->name);
rule             3768 tools/finsig_thumb2.c int sig_match_near_str(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3770 tools/finsig_thumb2.c     if (!get_saved_sig_val(rule->name))
rule             3772 tools/finsig_thumb2.c         uint32_t call_adr = find_call_near_str(fw,is,rule);
rule             3776 tools/finsig_thumb2.c             return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             3783 tools/finsig_thumb2.c int sig_match_prop_string(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3785 tools/finsig_thumb2.c     uint32_t call_adr = find_call_near_str(fw, is, rule);
rule             3816 tools/finsig_thumb2.c         add_prop_hit(rule->name,(int)regs[myreg]);
rule             3856 tools/finsig_thumb2.c int sig_match_named_last(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3858 tools/finsig_thumb2.c     uint32_t ref_adr = get_saved_sig_val(rule->ref_name);
rule             3859 tools/finsig_thumb2.c     int min = (rule->param&SIG_NAMED_LAST_MIN_MASK)>>SIG_NAMED_LAST_MIN_SHIFT;
rule             3860 tools/finsig_thumb2.c     int max = (rule->param&SIG_NAMED_LAST_MAX_MASK);
rule             3862 tools/finsig_thumb2.c         printf("sig_match_named_last: %s missing %s\n",rule->name,rule->ref_name);
rule             3867 tools/finsig_thumb2.c         printf("sig_match_named_last: immediate return %s\n",rule->name);
rule             3875 tools/finsig_thumb2.c             printf("sig_match_named_last: disasm failed %s 0x%"PRIx64"\n",rule->name,is->adr);
rule             3898 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,last_adr);
rule             3910 tools/finsig_thumb2.c                 printf("sig_match_named_last: disasm failed %s 0x%"PRIx64"\n",rule->name,is->adr);
rule             3914 tools/finsig_thumb2.c                 return save_sig_with_j(fw,rule->name,get_branch_call_insn_target(fw,is));
rule             3956 tools/finsig_thumb2.c int sig_match_named(firmware *fw, iter_state_t *is, sig_rule_t *rule)
rule             3958 tools/finsig_thumb2.c     uint32_t ref_adr = get_saved_sig_val(rule->ref_name);
rule             3960 tools/finsig_thumb2.c         printf("sig_match_named: missing %s\n",rule->ref_name);
rule             3963 tools/finsig_thumb2.c     uint32_t sig_type = rule->param & SIG_NAMED_TYPE_MASK;
rule             3964 tools/finsig_thumb2.c     uint32_t sig_flags = rule->param & SIG_NAMED_FLAG_MASK;
rule             3965 tools/finsig_thumb2.c     uint32_t sig_nth = (rule->param & SIG_NAMED_NTH_MASK)>>SIG_NAMED_NTH_SHIFT;
rule             3972 tools/finsig_thumb2.c         sig_match_named_save_sig(rule->name,ref_adr,sig_flags); 
rule             3983 tools/finsig_thumb2.c         printf("sig_match_named: %s invalid type %d\n",rule->ref_name,sig_type);
rule             3990 tools/finsig_thumb2.c         printf("sig_match_named: immediate return %s\n",rule->name);
rule             3998 tools/finsig_thumb2.c                 printf("sig_match_named: disasm failed %s 0x%08x\n",rule->name,(uint32_t)is->insn->address);
rule             4002 tools/finsig_thumb2.c         sig_match_named_save_sig(rule->name,(uint32_t)is->insn->address | is->thumb,sig_flags); 
rule             4025 tools/finsig_thumb2.c                     char *buf=malloc(strlen(rule->name)+3);
rule             4027 tools/finsig_thumb2.c                     sprintf(buf,"j_%s",rule->name);
rule             4032 tools/finsig_thumb2.c                 printf("sig_match_named: disasm failed in j_ check at %s 0x%08x\n",rule->name,adr);
rule             4034 tools/finsig_thumb2.c             sig_match_named_save_sig(rule->name,adr,sig_flags); 
rule             4037 tools/finsig_thumb2.c             printf("sig_match_named: %s invalid branch target 0x%08x\n",rule->ref_name,adr);
rule             4040 tools/finsig_thumb2.c         printf("sig_match_named: %s branch not found 0x%08x\n",rule->ref_name,ref_adr);
rule             4341 tools/finsig_thumb2.c     sig_rule_t *rule=sig_rules;
rule             4344 tools/finsig_thumb2.c     while(rule->match_fn) {
rule             4345 tools/finsig_thumb2.c         if((rule->dryos_min && fw->dryos_ver < rule->dryos_min)
rule             4346 tools/finsig_thumb2.c             || (rule->dryos_max && fw->dryos_ver > rule->dryos_max)) {
rule             4347 tools/finsig_thumb2.c             rule++;
rule             4352 tools/finsig_thumb2.c         rule->match_fn(fw,is,rule);
rule             4354 tools/finsig_thumb2.c         rule++;