def get_ps(self): sym_addr = self.symbol_list["_kernproc"] nprocs = struct.unpack("=I", self.x86_mem_pae.read(self.base_address + self.symbol_list["_nprocs"], 4))[0] proc_list = get_proc_list( self.x86_mem_pae, sym_addr, self.arch, self.os_version, self.build, self.base_address, nprocs ) proc_print(proc_list, self.os_version)
def get_ps(self): sym_addr = self.symbol_list['_kernproc'] nprocs = struct.unpack( '=I', self.x86_mem_pae.read( self.base_address + self.symbol_list['_nprocs'], 4))[0] proc_list = get_proc_list(self.x86_mem_pae, sym_addr, self.arch, self.os_version, self.build, self.base_address, nprocs) proc_print(proc_list, self.os_version)
def get_ps(self): sym_addr = self.symbol_list['_kernproc'] proc_list = get_proc_list(self.x86_mem_pae, sym_addr, self.arch, self.os_version, self.build, self.base_address) proc_print(proc_list, self.os_version)