diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-02-14 17:46:38 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-03-13 14:10:35 +0100 |
| commit | 73828c4be50c21eae080d0e2150093a8641baab0 (patch) | |
| tree | 023ffea903e9aaddfc24409682cc47ae3d45d88d /miasm2/ir/analysis.py | |
| parent | b9c87b0e9167940fbbadf0f642e07ee9d7a678e5 (diff) | |
| download | miasm-73828c4be50c21eae080d0e2150093a8641baab0.tar.gz miasm-73828c4be50c21eae080d0e2150093a8641baab0.zip | |
IR/ir: rename ir to IntermediateRepresentation
Diffstat (limited to 'miasm2/ir/analysis.py')
| -rw-r--r-- | miasm2/ir/analysis.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/miasm2/ir/analysis.py b/miasm2/ir/analysis.py index 11e6eebd..2108cc53 100644 --- a/miasm2/ir/analysis.py +++ b/miasm2/ir/analysis.py @@ -3,7 +3,7 @@ import logging from miasm2.ir.symbexec import SymbolicExecutionEngine -from miasm2.ir.ir import ir, AssignBlock +from miasm2.ir.ir import IntermediateRepresentation, AssignBlock from miasm2.expression.expression \ import ExprAff, ExprCond, ExprId, ExprInt, ExprMem, ExprOp @@ -14,14 +14,17 @@ log.addHandler(console_handler) log.setLevel(logging.WARNING) -class ira(ir): +class ira(IntermediateRepresentation): """IR Analysis This class provides higher level manipulations on IR, such as dead instruction removals. - This class can be used as a common parent with `miasm2.ir.ir::ir` class. + This class can be used as a common parent with + `miasm2.ir.ir::IntermediateRepresentation` class. + For instance: class ira_x86_16(ir_x86_16, ira) + """ def ira_regs_ids(self): |