示例#1
0
文件: volafox.py 项目: idkwim/volafox
 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)
示例#2
0
 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)
示例#3
0
 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)
示例#4
0
 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)