(view, func, action)
| 217 | |
| 218 | @staticmethod |
| 219 | def _high_level_il_function_action(view, func, action): |
| 220 | try: |
| 221 | file_metadata = filemetadata.FileMetadata(handle=core.BNGetFileForView(view)) |
| 222 | view_obj = binaryview.BinaryView(file_metadata=file_metadata, handle=core.BNNewViewReference(view)) |
| 223 | owner = function.Function(view_obj, core.BNGetHighLevelILOwnerFunction(func)) |
| 224 | func_obj = highlevelil.HighLevelILFunction(owner.arch, core.BNNewHighLevelILFunctionReference(func), owner) |
| 225 | action(view_obj, func_obj) |
| 226 | except: |
| 227 | log_error(traceback.format_exc()) |
| 228 | |
| 229 | @staticmethod |
| 230 | def _high_level_il_instruction_action(view, func, instr, action): |
no test coverage detected