From 3d258ef61a6bf1787da61553a71b58b8a96c0832 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 22 Sep 2018 09:30:30 +0200 Subject: Deleted the old execution tracer Python plugin. --- plugins/python/exectracer/Makefile.am | 6 ------ plugins/python/exectracer/__init__.py | 2 -- plugins/python/exectracer/exectracer.py | 33 --------------------------------- 3 files changed, 41 deletions(-) delete mode 100644 plugins/python/exectracer/Makefile.am delete mode 100644 plugins/python/exectracer/__init__.py delete mode 100644 plugins/python/exectracer/exectracer.py diff --git a/plugins/python/exectracer/Makefile.am b/plugins/python/exectracer/Makefile.am deleted file mode 100644 index 9f8eeb2..0000000 --- a/plugins/python/exectracer/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ - -exectracerdir = $(datadir)/openida/plugins/python/exectracer - -exectracer_DATA = \ - __init__.py \ - exectracer.py diff --git a/plugins/python/exectracer/__init__.py b/plugins/python/exectracer/__init__.py deleted file mode 100644 index abdaa6c..0000000 --- a/plugins/python/exectracer/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ - -from exectracer import ExecTracer as exectracer diff --git a/plugins/python/exectracer/exectracer.py b/plugins/python/exectracer/exectracer.py deleted file mode 100644 index 76e2ce4..0000000 --- a/plugins/python/exectracer/exectracer.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -from pyoida import Plugin - - -class ExecTracer(Plugin): - """Trace and replay debug executions.""" - - def get_action(self): - """Register the plugin for given actions.""" - - return Plugin.PGA_DEBUGGER_ATTACH - - def handle_debugger(self, debugger, action): - """Be notify about debugger attaching or detaching.""" - - print "Python Hello !" - print debugger - - for i in debugger.list_all_threads(): - - print "Thread %d '%s'" % (i[0], i[1]) - - frames = debugger.get_frames_stack(i[0]) - - for frame in frames: - print " 0x%08x" % frame[0] - - if len(frames) == 0: - print " -" - - -- cgit v0.11.2-87-g4458