apply_callee_tinfo

summary: apply function prototype to call sites

description:

The goal of this script is to demonstrate some usage of the type API. In this script, we: * Open the private type libary. * Load its declaration in the type library by parsing its declaration and keep the return tuple for future use. * Deserialize the type info stored in the returned tuple. * Get the address of the function. * Get the address of the code reference to the function and apply the type info there.

level: intermediate

Functions

apply_type_info(callee_name, callee_prototype_decl)

Module Contents

apply_callee_tinfo.apply_type_info(callee_name, callee_prototype_decl)