Example #1
0
 def __init__(self, config, *args, **kwargs):
     linux_common.set_plugin_members(self)
     global address_size
     if self.profile.metadata.get('memory_model', '32bit') == '32bit':
         address_size = 4
     else:
         address_size = 8
     self.get_threads = linux_threads.linux_threads(config).get_threads
Example #2
0
 def __init__(self, config, *args, **kwargs):
     linux_common.set_plugin_members(self)
     global address_size
     if self.profile.metadata.get('memory_model', '32bit') == '32bit':
         address_size = 4
     else:
         address_size = 8
     self.get_threads = linux_threads.linux_threads(config).get_threads
Example #3
0
 def calculate(self):
     for task, (thread_group, threads) in linux_threads.linux_threads(self._config).calculate():
         name = task.get_commandline()
         thread_registers = []
         for thread_task in threads:
             thread_name = thread_task.comm
             regs = self.parse_kernel_stack(thread_task)
             thread_registers.append((thread_name,regs))
         yield task, name, thread_registers
Example #4
0
 def calculate(self):
     for task, (thread_group, threads) in linux_threads.linux_threads(
             self._config).calculate():
         name = task.get_commandline()
         thread_registers = []
         for thread_task in threads:
             thread_name = thread_task.comm
             regs = self.parse_kernel_stack(thread_task)
             thread_registers.append((thread_name, regs))
         yield task, name, thread_registers
 def __init__(self, config, *args, **kwargs):
     #linux_common.AbstractLinuxCommand.__init__(self, config, *args, **kwargs)
     linux_pslist.linux_pslist.__init__(self, config, *args, **kwargs)
     linux_common.set_plugin_members(self)
     global address_size
     if self.profile.metadata.get('memory_model', '32bit') == '32bit':
         address_size = 4
     else:
         address_size = 8
     #reload(linux_threads,threads.py)
     self.get_threads = linux_threads.linux_threads(config).get_threads