angr.knowledge_plugins.cfg.cfg_node¶
- class angr.knowledge_plugins.cfg.cfg_node.CFGNodeCreationFailure¶
Bases:
objectThis class contains additional information for whenever creating a CFGNode failed. It includes a full traceback and the exception messages.
- __init__(exc_info=None, to_copy=None)¶
- short_reason
- long_reason
- traceback
- class angr.knowledge_plugins.cfg.cfg_node.CFGNode¶
Bases:
SerializableThis class stands for each single node in CFG.
- __init__(addr, size, cfg, simprocedure_name=None, no_ret=False, function_address=None, block_id=None, irsb=None, soot_block=None, instruction_addrs=None, thumb=False, byte_string=None, is_syscall=None, name=None)¶
Note: simprocedure_name is not used to recreate the SimProcedure object. It’s only there for better __repr__.
- simprocedure_name
- instruction_addrs
- irsb
- soot_block
- property dirty¶
- property function_address¶
- property addr¶
- property block_id¶
- property name¶
- property successors¶
- property predecessors¶
- successors_and_jumpkinds(excluding_fakeret=True)¶
- predecessors_and_jumpkinds(excluding_fakeret=True)¶
- get_data_references(kb=None)¶
Get the known data references for this CFGNode via the knowledge base.
- Parameters:
kb – Which knowledge base to use; uses the global KB by default if none is provided
- Returns:
Generator yielding xrefs to this CFGNode’s block.
- Return type:
iter
- property accessed_data_references¶
Property providing a view of all the known data references for this CFGNode via the global knowledge base
- Returns:
Generator yielding xrefs to this CFGNode’s block.
- Return type:
iter
- property is_simprocedure¶
- property callstack_key¶
- copy()¶
- merge(other)¶
Merges this node with the other, returning a new node that spans the both.
- to_codenode()¶