diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/highlevelil.py | 22 | ||||
| -rw-r--r-- | python/mediumlevelil.py | 12 |
2 files changed, 0 insertions, 34 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index 1e680274..6b197fac 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -813,16 +813,6 @@ class HighLevelILFunction(object): operation = operation.value return HighLevelILExpr(core.BNHighLevelILAddExpr(self.handle, operation, size, a, b, c, d, e)) - def append(self, expr): - """ - ``append`` adds the HighLevelILExpr ``expr`` to the current HighLevelILFunction. - - :param HighLevelILExpr expr: the HighLevelILExpr to add to the current HighLevelILFunction - :return: number of HighLevelILExpr in the current function - :rtype: int - """ - return core.BNHighLevelILAddInstruction(self.handle, expr.index) - def add_operand_list(self, operands): """ ``add_operand_list`` returns an operand list expression for the given list of integer operands. @@ -836,18 +826,6 @@ class HighLevelILFunction(object): operand_list[i] = operands[i] return HighLevelILExpr(core.BNHighLevelILAddOperandList(self.handle, operand_list, len(operands))) - def operand(self, n, expr): - """ - ``operand`` sets the operand number of the expression ``expr`` and passes back ``expr`` without modification. - - :param int n: - :param HighLevelILExpr expr: - :return: returns the expression ``expr`` unmodified - :rtype: HighLevelILExpr - """ - core.BNHighLevelILSetExprSourceOperand(self.handle, expr.index, n) - return expr - def finalize(self): """ ``finalize`` ends the function and computes the list of basic blocks. diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 8b2a4c89..857d8cff 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -1012,18 +1012,6 @@ class MediumLevelILFunction(object): operand_list[i] = operands[i] return MediumLevelILExpr(core.BNMediumLevelILAddOperandList(self.handle, operand_list, len(operands))) - def operand(self, n, expr): - """ - ``operand`` sets the operand number of the expression ``expr`` and passes back ``expr`` without modification. - - :param int n: - :param MediumLevelILExpr expr: - :return: returns the expression ``expr`` unmodified - :rtype: MediumLevelILExpr - """ - core.BNMediumLevelILSetExprSourceOperand(self.handle, expr.index, n) - return expr - def finalize(self): """ ``finalize`` ends the function and computes the list of basic blocks. |
