예제 #1
0
def task_struct_getTasksPrev(self):
  return container_of(getaddress(self.tasks.prev), gen.task_struct, 'tasks')
예제 #2
0
def task_struct_getTasksPrev(self):
    return container_of(getaddress(self.tasks.prev), gen.task_struct, 'tasks')
예제 #3
0
def task_struct_getTasksNext(self):
  ''' once the task_struct is loadMembers(ed), self->tasks.next is loaded to. just a bit hidden'''
  return container_of(getaddress(self.tasks.next), gen.task_struct, 'tasks')
예제 #4
0
def task_struct_getTasksNext(self):
    ''' once the task_struct is loadMembers(ed), self->tasks.next is loaded to. just a bit hidden'''
    return container_of(getaddress(self.tasks.next), gen.task_struct, 'tasks')