diff --git a/bear/dwarfone.py b/dwex/dwarfone.py similarity index 100% rename from bear/dwarfone.py rename to dwex/dwarfone.py diff --git a/bear/formats.py b/dwex/formats.py similarity index 100% rename from bear/formats.py rename to dwex/formats.py diff --git a/bear/patch.py b/dwex/patch.py similarity index 100% rename from bear/patch.py rename to dwex/patch.py diff --git a/main.py b/main.py index 8cb9d7e..f972f20 100644 --- a/main.py +++ b/main.py @@ -4,10 +4,10 @@ import os import sys import math import argparse -from bear import formats +from dwex import formats from elftools.dwarf.locationlists import LocationParser, LocationExpr from elftools.dwarf.dwarf_expr import DWARFExprParser, DWARFExprOp, DW_OP_opcode2name -from bear.dwarfone import DWARFExprParserV1 +from dwex.dwarfone import DWARFExprParserV1 SCRIPT_VERSION = '0.1.0' @@ -299,7 +299,7 @@ class Bear(): def main(): - from bear.patch import monkeypatch + from dwex.patch import monkeypatch monkeypatch() parser = argparse.ArgumentParser( @@ -315,7 +315,6 @@ def main(): args = parser.parse_args() - from pprint import pprint configuration['include_file_name'] = args.include_file_name if not os.path.exists(args.elf_file):