jsandin / esp-bin2elf

Converts a flash dump from an esp8266 device into an ELF executable file for analysis and reverse engineering.
80 stars 14 forks source link

Support new rom header format #3

Open jsandin opened 7 years ago

jsandin commented 7 years ago

There's a second ROM header format that includes the .irom0.text at the beginning of flash. The tool will currently complain about a magic number mismatch (0xe9 != 0xea) and fail to parse. A painful workaround is to massage the flash dump into the old format, but it would be nice if the tool supported this case.

stayliv3 commented 7 years ago

i meet the condition. how to massage the flash dump into the old format? thanks

zayfod commented 4 years ago

Added support for 0xea headers here: https://github.com/zayfod/esp-bin2elf