HPCToolkit
x86-validate-retn-addr.c File Reference
Include dependency graph for x86-validate-retn-addr.c:

Go to the source code of this file.

Classes

struct  xed_decode_t
 

Typedefs

typedef struct xed_decode_t xed_decode_t
 

Functions

static validation_status status_is_wrong ()
 
static void xed_decode_i (void *ins, xed_decode_t *res)
 
static bool confirm_call_fetch_addr (void *addr, size_t offset, void **the_call)
 
static bool confirm_call (void *addr, void *routine)
 
static bool confirm_indirect_call_specific (void *addr, size_t offset, void **call_ins)
 
static bool confirm_indirect_call (void *addr, void **call_ins)
 
static validation_status contains_tail_call_to_f (void *callee, void *target_fn)
 
static validation_status confirm_tail_call (void *addr, void *target_fn)
 
static void * x86_plt_branch_target (void *ins, xed_decoded_inst_t *xptr)
 
static validation_status confirm_plt_call (void *addr, void *callee)
 
static int return_addr_valid (void *addr, unwindr_info_t *unwr_info)
 
validation_status deep_validate_return_addr (void *addr, void *generic)
 
validation_status dbg_val (void *addr, void *pc)
 
validation_status validate_return_addr (void *addr, void *generic)
 

Typedef Documentation

◆ xed_decode_t

typedef struct xed_decode_t xed_decode_t

Function Documentation

◆ confirm_call()

static bool confirm_call ( void *  addr,
void *  routine 
)
static

Definition at line 148 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirm_call_fetch_addr()

static bool confirm_call_fetch_addr ( void *  addr,
size_t  offset,
void **  the_call 
)
static

Definition at line 114 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirm_indirect_call()

static bool confirm_indirect_call ( void *  addr,
void **  call_ins 
)
static

Definition at line 180 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirm_indirect_call_specific()

static bool confirm_indirect_call_specific ( void *  addr,
size_t  offset,
void **  call_ins 
)
static

Definition at line 165 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirm_plt_call()

static validation_status confirm_plt_call ( void *  addr,
void *  callee 
)
static

Definition at line 308 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirm_tail_call()

static validation_status confirm_tail_call ( void *  addr,
void *  target_fn 
)
static

Definition at line 259 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ contains_tail_call_to_f()

static validation_status contains_tail_call_to_f ( void *  callee,
void *  target_fn 
)
static

Definition at line 192 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbg_val()

validation_status dbg_val ( void *  addr,
void *  pc 
)

Definition at line 404 of file x86-validate-retn-addr.c.

Here is the call graph for this function:

◆ deep_validate_return_addr()

validation_status deep_validate_return_addr ( void *  addr,
void *  generic 
)

Definition at line 358 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ return_addr_valid()

static int return_addr_valid ( void *  addr,
unwindr_info_t unwr_info 
)
static

Definition at line 348 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ status_is_wrong()

static validation_status status_is_wrong ( )
static

Definition at line 97 of file x86-validate-retn-addr.c.

Here is the caller graph for this function:

◆ validate_return_addr()

validation_status validate_return_addr ( void *  addr,
void *  generic 
)

Definition at line 414 of file x86-validate-retn-addr.c.

Here is the call graph for this function:

◆ x86_plt_branch_target()

static void* x86_plt_branch_target ( void *  ins,
xed_decoded_inst_t *  xptr 
)
static

Definition at line 283 of file x86-validate-retn-addr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xed_decode_i()

static void xed_decode_i ( void *  ins,
xed_decode_t res 
)
static

Definition at line 104 of file x86-validate-retn-addr.c.

Here is the caller graph for this function: