Lines Matching defs:tc
48 readSymbol(ThreadContext *tc, const std::string name)
50 PortProxy &vp = tc->getVirtProxy();
51 SymbolTable *symtab = tc->getSystemPtr()->kernelSymtab;
60 ProcessInfo::ProcessInfo(ThreadContext *_tc) : tc(_tc)
62 thread_info_size = readSymbol(tc, "thread_info_size");
63 task_struct_size = readSymbol(tc, "task_struct_size");
64 task_off = readSymbol(tc, "thread_info_task");
65 pid_off = readSymbol(tc, "task_struct_pid");
66 name_off = readSymbol(tc, "task_struct_comm");
78 PortProxy &vp = tc->getVirtProxy();
93 PortProxy &vp = tc->getVirtProxy();
107 tc->getVirtProxy().readString(comm, task + name_off, sizeof(comm));
115 : tc(0), stack(64)
120 : tc(0), stack(64)