FreeRDP
ptrace.h File Reference
#include <corkscrew/map_info.h>
#include <corkscrew/symbol_table.h>
#include <sys/types.h>
#include <stdbool.h>
#include <stdint.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ptrace_context_t
 
struct  memory_t
 

Functions

void init_memory (memory_t *memory, const map_info_t *map_info_list)
 
void init_memory_ptrace (memory_t *memory, pid_t tid)
 
bool try_get_word (const memory_t *memory, uintptr_t ptr, uint32_t *out_value)
 
bool try_get_word_ptrace (pid_t tid, uintptr_t ptr, uint32_t *out_value)
 
ptrace_context_tload_ptrace_context (pid_t pid)
 
void free_ptrace_context (ptrace_context_t *context)
 
void find_symbol_ptrace (const ptrace_context_t *context, uintptr_t addr, const map_info_t **out_map_info, const symbol_t **out_symbol)
 

Function Documentation

◆ find_symbol_ptrace()

void find_symbol_ptrace ( const ptrace_context_t context,
uintptr_t  addr,
const map_info_t **  out_map_info,
const symbol_t **  out_symbol 
)

◆ free_ptrace_context()

void free_ptrace_context ( ptrace_context_t context)

◆ init_memory()

void init_memory ( memory_t memory,
const map_info_t map_info_list 
)

◆ init_memory_ptrace()

void init_memory_ptrace ( memory_t memory,
pid_t  tid 
)

◆ load_ptrace_context()

ptrace_context_t* load_ptrace_context ( pid_t  pid)

◆ try_get_word()

bool try_get_word ( const memory_t memory,
uintptr_t  ptr,
uint32_t *  out_value 
)

◆ try_get_word_ptrace()

bool try_get_word_ptrace ( pid_t  tid,
uintptr_t  ptr,
uint32_t *  out_value 
)