Wednesday, August 26, 2009

Executable file editor (ELF editor)

If you need to edit executable files, HT Editor is your friend!

Download it from their website, build it, and run. I use it specifically to edit ELF program and section headers. Run ht. To access the menu items at the top, I had to use Esc key (Esc + F to access File menu, for example). To access the menu items at the bottom, use function keys: You will see "6 mode" at the bottom, hit F6 to change the mode.

To edit ELF headers, first start the program, then load the executable (F3 - Open), then hit F6 (mode), select elf/header (or any other part that you are interested), scroll to where you want to edit, hit F4 to switch to edit mode, do your edits, and hit F2 to save. Note that you can't run the program from another shell while working on it in the edit mode; either switch to view mode again (F4), or close HT editor.

3 comments:

  1. hi i am download the file but i cant run or add files because i dont access to menu, i am working with ubuntu.

    ReplyDelete
  2. So, you were not able to open a file with HT Editor?

    Try one of these: Give the filename as an argument when you launch ht as in:
    > ./ht /path/to/file

    Or, once you launch ht, hit F3, and type the full path of the application in the pop-up window.

    The third option is just like the second. To access the 'File' menu, hit Esc key and F at the same time, then select Open, and type the path of the executable file you're working on.

    I haven't tried this on ubuntu though. I am running a Red Hat.

    ReplyDelete
  3. Blackjack in San Diego - Mapyro
    San Diego Blackjack tables for casinos in San 포천 출장안마 Diego 안양 출장마사지 are 이천 출장마사지 the most popular in San Diego County. Find your nearest 대구광역 출장샵 poker room at one of 광명 출장안마 14 tables.

    ReplyDelete