예제 #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
파일: volafox.py 프로젝트: bigerdb/volafox
 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)