Giter Site home page Giter Site logo

debugedit's Introduction

1. Introduction

An ELF file debug information editor based on debugedit tool in the rpm package: 

http://www.rpm.org/

The intention of this project is to have some fun playing with ELF as well as
DWARF for the image files. 

One specific goal for now is to allow the editing of images compiled on Linux 
or Cygwin environment to be debugged on Windows (assuming the same layout of
source directory is available). I am not sure if there is already such a tool,
becasue when I debug an image compiled under Cygwin with Eclipse CDT, and when
I tried to "Edit Source Look Up", the sources are still not loaded, leaving me
the assmbler window! Peeking into the ELF sections, I saw paths like this:

/cygdrive/E/Work/xvisor/emulators/sys/arm_sysregs.c

I think this is due to the lack of correct mapping between the Cygwin paths and
the Windows paths. The existing debugedit tool can replace the path base_dir to
dest_dir, but it lacks a way to change '/' to '\' for mapping between Linux or
Cygwin environment to Windows environment. So I would like to add a command 
option for such a feature (turn this option on by '-w' option). 

Meanwhile, during working on this tool, I found some issues with it and I would 
like to fix these issues.

The rpm specific code has been removed from this tool so that it is pure enough.

2. Usage

#./debugedit.exe -w -b "/cygdrive/E/Work/xvisor" -d "E:\Work\xvisor" vmm.elf 

debugedit's People

Contributors

cmorty avatar coryxie avatar sobomax avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.