angr.knowledge_plugins.callsite_prototypes¶
- class angr.knowledge_plugins.callsite_prototypes.CallsitePrototypeKind¶
Bases:
EnumDescribes the type of a callsite prototype.
- INFERRED = 1¶
- PROPAGATED = 2¶
- MANUAL = 3¶
- class angr.knowledge_plugins.callsite_prototypes.CallsitePrototypes¶
Bases:
KnowledgeBasePluginCallsitePrototypes manages callee prototypes at call sites.
- __init__(kb)¶
- set_prototype(callsite_block_addr, cc, prototype, *, kind=CallsitePrototypeKind.INFERRED, manual=False, propagated=False)¶
- Return type:
- Parameters:
callsite_block_addr (int)
cc (SimCC)
prototype (SimTypeFunction)
kind (CallsitePrototypeKind)
manual (bool)
propagated (bool)
- get_cc(callsite_block_addr, *, kind=CallsitePrototypeKind.INFERRED)¶
- Return type:
- Parameters:
callsite_block_addr (int)
kind (CallsitePrototypeKind)
- get_prototype(callsite_block_addr, *, kind=CallsitePrototypeKind.INFERRED)¶
- Return type:
- Parameters:
callsite_block_addr (int)
kind (CallsitePrototypeKind)
- is_prototype_manual(callsite_block_addr)¶
- is_prototype_certain(callsite_block_addr)¶
- has_prototype(callsite_block_addr, *, kind=CallsitePrototypeKind.INFERRED)¶
- Return type:
- Parameters:
callsite_block_addr (int)
kind (CallsitePrototypeKind)
- copy()¶