Ejemplo n.º 1
0
 def machdump(self, pid):
     sym_addr = self.symbol_list['_kernproc']
     nprocs = struct.unpack(
         '=I',
         self.x86_mem_pae.read(
             self.base_address + self.symbol_list['_nprocs'], 4))[0]
     get_macho_dump(self.x86_mem_pae, sym_addr, self.arch, self.os_version,
                    self.build, pid, self.base_address, self.mempath,
                    nprocs)
Ejemplo n.º 2
0
 def machdump(self, pid):
     sym_addr = self.symbol_list["_kernproc"]
     nprocs = struct.unpack("=I", self.x86_mem_pae.read(self.base_address + self.symbol_list["_nprocs"], 4))[0]
     get_macho_dump(
         self.x86_mem_pae,
         sym_addr,
         self.arch,
         self.os_version,
         self.build,
         pid,
         self.base_address,
         self.mempath,
         nprocs,
     )
Ejemplo n.º 3
0
 def machdump(self, pid):
     sym_addr = self.symbol_list['_kernproc']
     get_macho_dump(self.x86_mem_pae, sym_addr, self.arch, self.os_version, self.build, pid, self.base_address, self.mempath)
Ejemplo n.º 4
0
 def machdump(self, pid):
     sym_addr = self.symbol_list['_kernproc']
     get_macho_dump(self.x86_mem_pae, sym_addr, self.arch, self.os_version,
                    self.build, pid, self.base_address, self.mempath)