Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exec_func = cmd_map.get(self.cmd_id)
if exec_func:
return exec_func(self.data)
class LoadSegment(LoadCommand):
def __init__(self, data):
super().__init__(data)
self.segment_name = self.FR.read(0x10).decode("utf-8")
def get_complete(self):
pass
class LoadSegment32(LoadSegment):
def __init__(self, data):
super().__init__(data)
self.vm_address = unpack("
self.file_offset = unpack("