From bd70b22a7a4f0eaee73e66580535eef05de56e5c Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sat, 11 May 2024 18:42:36 +0200 Subject: [PATCH] Rename folder bear to dwex Signed-off-by: Juraj Oravec --- {bear => dwex}/dwarfone.py | 0 {bear => dwex}/formats.py | 0 {bear => dwex}/patch.py | 0 main.py | 7 +++---- 4 files changed, 3 insertions(+), 4 deletions(-) rename {bear => dwex}/dwarfone.py (100%) rename {bear => dwex}/formats.py (100%) rename {bear => dwex}/patch.py (100%) 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):