angr.analyses.smc¶
- class angr.analyses.smc.TraceActions¶
Bases:
IntFlagDescribe memory access actions.
- WRITE = 1¶
- EXECUTE = 2¶
- __new__(value)
- class angr.analyses.smc.TraceClassifier¶
Bases:
objectClassify traces.
- get_smc_address_and_lengths()¶
Evaluate the trace to find which areas of memory were both written to and executed.
- determine_smc()¶
Evaluate the trace to find areas of memory that were both written to and executed.
- Return type:
- pp()¶
- class angr.analyses.smc.SelfModifyingCodeAnalysis¶
Bases:
AnalysisDetermine if some piece of code is self-modifying.
This determination is made by simply executing. If an address is executed that is also written to, the code is determined to be self-modifying. The determination is stored in the result property. The regions property contains a list of (addr, length) regions that were both written to and executed.
- __init__(subject, max_bytes=0, state=None)¶
- result: bool