Giter VIP home page Giter VIP logo

elf-edit's People

Contributors

dklug avatar int-index avatar safinsingh avatar thethirdone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

elf-edit's Issues

Read section names from the string table

In addition to the knowing the offsets in the string table, actually reading the names would be helpful.

There would have to be several checks to keep it safe though.

Clean up and reorganize the code.

The code is very wet (not DRY) currently and there is some major low hanging fruit to making it easier to work on and understand.

One such area would be making a rendering system so that each line doesn't have to compare to offset and possibly optimizing rendering.

Separating into separate files is also probably appropriate (also the project structure should get committed some time).

Support 32 bit

Currently the offsets and sizes of fields are hardcoded for 64 bit. Supporting 32 bit should be as simple as adding an extra if and adjusting some values.

Not working properly for me

Hello I currently run this on a 64-bit elf and notice that I can't navigate the file at all unless I hit '9' which allows me to traverse one character at a time. Seems not right

Also I don't get to see the whole file, just the beginning. Get this at the end of every file which doesn't seem correct:

Error parsing. Program header outside file.

Please assist. Thank you

Insertion and deletion support

Levels:

  • delete and insert byte work at all
  • updates offsets for headers correctly
  • update sizes correctly
    • possibly update number of headers as well if size < 0

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.