angr.knowledge_plugins.key_definitions.liveness¶
- class angr.knowledge_plugins.key_definitions.liveness.Liveness¶
Bases:
objectThis class stores liveness information for each definition.
- __init__()¶
- add_def(d)¶
- Return type:
- Parameters:
d (Definition)
- kill_def(d)¶
- Return type:
- Parameters:
d (Definition)
- at_new_stmt(code_loc)¶
Only support moving from a statement to the next statement within one basic block.
- Return type:
- Parameters:
code_loc (CodeLocation)
- at_new_block(code_loc, pred_codelocs)¶
Only support moving to a new block from one or more blocks.
- Return type:
- Parameters:
code_loc (CodeLocation)
pred_codelocs (list[CodeLocation])
- find_defs_at(code_loc, op=ObservationPointType.OP_BEFORE)¶
- Return type:
- Parameters:
code_loc (CodeLocation)
op (int)
- find_defs_at_raw(block_addr, block_idx, stmt_idx, op=ObservationPointType.OP_BEFORE)¶