struct checked_arg
Overview
Structure for checking of variable-length arguments safety
Structure for checking of variable-length arguments safity More…
#include <rpc_server.h> struct checked_arg { // fields uint8_t* real_arg; uint8_t* pristine; size_t len; size_t len_visible; char* name; struct checked_arg* next; char* real_arg; char* control; int len; int len_visible; // methods STAILQ_ENTRY(checked_arg); };
Detailed Documentation
Structure for checking of variable-length arguments safety
Structure for checking of variable-length arguments safity
Fields
uint8_t* real_arg
Pointer to real buffer
uint8_t* pristine
Pointer to pristine buffer
size_t len
Whole length of the buffer
size_t len_visible
Length passed to the function under test
char* name
Argument name to be displayed in error message
struct checked_arg* next
Next checked argument in the list
char* real_arg
Pointer to real buffer
char* control
Pointer to control buffer
int len
Whole length of the buffer
int len_visible
Length passed to the function under test
Methods
STAILQ_ENTRY(checked_arg)
Next checked argument in the list