Exemple #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)
Exemple #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,
     )
Exemple #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)
Exemple #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)