(view, func, action)
| 159 | |
| 160 | @staticmethod |
| 161 | def _function_action(view, func, action): |
| 162 | try: |
| 163 | file_metadata = filemetadata.FileMetadata(handle=core.BNGetFileForView(view)) |
| 164 | view_obj = binaryview.BinaryView(file_metadata=file_metadata, handle=core.BNNewViewReference(view)) |
| 165 | func_obj = function.Function(view_obj, core.BNNewFunctionReference(func)) |
| 166 | action(view_obj, func_obj) |
| 167 | except: |
| 168 | log_error(traceback.format_exc()) |
| 169 | |
| 170 | @staticmethod |
| 171 | def _low_level_il_function_action(view, func, action): |
no test coverage detected