2 #define _CSDBG_PROCESS 1
65 virtual pid_t
pid()
const;
virtual process & operator=(const process &)
Assignment operator.
virtual ~process()
Object destructor.
virtual u32 thread_count() const
Get the active thread count.
This abstract class serves as the root of the class hierarchy tree.
virtual process & cleanup_thread(pthread_t)
Cleanup libcsdbg-related thread resources upon thread cancellation.
chain< thread > * m_threads
Instrumented thread list.
This class represents a program/library function symbol.
virtual const i8 * lookup(mem_addr_t)
Lookup an address to resolve a symbol.
chain< symtab > * m_modules
Symbol table list.
virtual pid_t pid() const
Get the process ID.
Lightweight, templated, doubly-linked list (using XOR linking)
char i8
8-bit signed integer
Class csdbg::symtab definition.
virtual process & cache_add(mem_addr_t, const i8 *)
Add a symbol to the lookup cache.
virtual thread * get_thread(pthread_t) const
Get a thread by ID.
virtual u32 symbol_count() const
Get the number of symbols.
This class represents a thread of execution in the instrumented process.
Class csdbg::thread definition.
chain< symbol > * m_symcache
Lookup cache.
This class represents a process, its entire namespace and thread group.
virtual process * clone() const
Object virtual copy constructor.
process()
Object default constructor.
virtual process & add_module(const i8 *, mem_addr_t)
Add a symbol table to the namespace. The symbol table is loaded from a non stripped objective code fi...
unsigned int u32
32-bit unsigned integer
virtual const i8 * ilookup(mem_addr_t, mem_addr_t &) const
Inverse lookup. Find the module (executable or DSO library) that defines a symbol and return its path...
virtual const symbol * cache_lookup(mem_addr_t) const
Perform a cache lookup.
unsigned long long mem_addr_t
64-bit memory address
virtual thread * current_thread()
Get the currently executing thread.
virtual u32 module_count() const
Get the number of modules.