class Prototype(object):
Information about a function prototype and its calling convention. Can be used to read arguments and return value at given points in the trace.
| Method | __init__ |
|
| Property | function |
|
| Property | calling_convention |
|
| Method | read_args |
Read arguments at given context. |
| Method | read_ret |
Read ret value at given context. |
| Method | call_site_values |
Get helper to acces arguments and return value on a `call` transition. |
| Instance Variable | _function |
Undocumented |
| Instance Variable | _callconv |
Undocumented |
| Method | _try_deref_or_read_value |
Undocumented |
| Parameters | function_signature | function from a parsed C or C++ source. (type: Function) |
| calling_convention | the calling convention to use to resolve arguments and return value. (type: _CallConvHelper) |
Undocumented
| Parameters | ctx | Undocumented (type: Context) |
| target | Undocumented (type: _AnyChunkType) | |
| parsed_type | Undocumented (type: Type) | |
| Returns | Undocumented (type: _Any) | |
| Returns | the calling convention used for argument and return value resolution. | |
_CallConvHelper)
Read arguments at given context.
| Parameters | call_ctx | context reven2.trace.Context after the call (type: Context) |
| Returns | iterator of ResolvedArgumentValue (type: _Iterator[ResolvedArgumentValue]) | |
Read ret value at given context.
| Parameters | ret_ctx | context reven2.trace.Context after the ret. (type: Context) |
| Returns | ResolvedRetValue or None. (type: _Optional[ResolvedRetValue]) | |
Get helper to acces arguments and return value on a `call` transition.
| Parameters | call_tr | `call` transition reven2.trace.Transition (type: Transition) |
| Returns | CallSiteValues helper (type: CallSiteValues) | |