Projects STRLCPY IDAGolangHelper Commits 5df37376
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    GO_Utils/Firstmoduledata.py
    skipped 2 lines
    3 3  import struct
    4 4   
    5 5  def findFirstModuleData(addr, bt):
    6  - #addr_st = "".join(["%s "% x.encode('hex') for x in ("%x" % addr).decode('hex')[::-1]])
    7  - print '%x' % addr
    8 6   possible_addr = idautils.XrefsTo(addr).next().frm
    9 7   if Utils.is_hardcoded_slice(possible_addr, bt):
    10 8   return possible_addr
    skipped 149 lines
  • ■ ■ ■ ■ ■
    GO_Utils/__init__.py
    skipped 83 lines
    84 84   self.typer = Types.Go16Types(self.structCreator)
    85 85   elif typ == 4 or typ == 5:
    86 86   self.typer = Types.Go17Types(self.structCreator)
    87  - elif typ == 6:
     87 + elif typ == 6: #1.9
     88 + self.typer = Types.Go17Types(self.structCreator)
     89 + elif typ == 7: #1.10
    88 90   self.typer = Types.Go17Types(self.structCreator)
    89 91   
    90 92   def typesModuleData(self, typ):
    skipped 16 lines
    107 109   elif typ == 6:
    108 110   beg, end, robase = Firstmoduledata.getTypeinfo18(fmd, self.bt_obj)
    109 111   self.processor = Types.TypeProcessing19(beg, end, self.bt_obj, self, robase)
     112 + elif typ == 7:
     113 + beg, end, robase = Firstmoduledata.getTypeinfo18(fmd, self.bt_obj)
     114 + self.processor = Types.TypeProcessing19(beg, end, self.bt_obj, self, robase)
    110 115   else:
    111 116   beg, end = Firstmoduledata.getTypeinfo(fmd, self.bt_obj)
    112 117   self.processor = Types.TypeProcessing(beg, end, self.bt_obj, self)
    113  - print "%x %x % x" % (beg, end, robase)
     118 + print "%x %x %x" % (beg, end, robase)
    114 119   for i in self.processor:
    115 120   pass
    116 121   return
  • ■ ■ ■ ■ ■
    go_entry.py
    skipped 32 lines
    33 33  <Go1.6:{r6}>
    34 34  <Go1.7:{r7}>
    35 35  <Go1.8:{r8}>
    36  -<Go1.9:{r9}>{cGoVers}>
     36 +<Go1.9:{r9}>
     37 +<Go1.10:{r10}>{cGoVers}>
    37 38  <##Add standard go types:{iButton4}>
    38 39  <##Parse types by moduledata:{iButton5}>
    39 40  """, {
    skipped 2 lines
    42 43   'iButton3': Form.ButtonInput(self.OnButton3),
    43 44   'iButton4': Form.ButtonInput(self.OnButton4),
    44 45   'iButton5': Form.ButtonInput(self.OnButton5),
    45  - 'cGoVers': Form.RadGroupControl(("r2", "r3","r4","r5","r6","r7", "r8", "r9")),
     46 + 'cGoVers': Form.RadGroupControl(("r2", "r3","r4","r5","r6","r7", "r8", "r9", "r10")),
    46 47   'FormChangeCb': Form.FormChangeCb(self.OnFormChange),
    47 48   })
    48 49   
    skipped 51 lines
Please wait...
Page is in error, reload to recover