Exemple #1
0
 def add_port_1(ea, name):
     idaapi.set_name(ea, name)
     idaapi.create_byte(ea, 1)
Exemple #2
0
 def make_byte(self, offset, size=1):
     """Create a byte at the given offset in the IDB"""
     self.ret = idaapi.create_byte(offset, size)
     return self.ret
Exemple #3
0
def name_byte(ea, name):
    idaapi.set_name(ea, name)
    idaapi.create_byte(ea, 1)
    idaapi.set_offset(ea, 0, 0)