| skipped 28 lines |
29 | 29 | | def findGoPcLn(): |
30 | 30 | | end_ea = idc.get_segm_end(0) |
31 | 31 | | possible_loc = ida_search.find_binary(0, end_ea, lookup, 16, idc.SEARCH_DOWN) #header of gopclntab |
32 | | - | print("Possible gopclntab: %s" % hex(possible_loc)) |
33 | | - | |
34 | | - | # gopclntab = ida_segment.get_segm_by_name('.gopclntab') |
35 | | - | # print("Possible gopclntab: %s" % hex(gopclntab)) |
36 | 32 | | |
37 | 33 | | if check_is_gopclntab(possible_loc): |
38 | 34 | | return possible_loc |
| skipped 25 lines |