Coredump file query

gamename
Posts: 35
Joined: Fri Dec 08, 2023 11:33 pm

Coredump file query

Postby gamename » Sat Nov 30, 2024 8:36 pm

Hi,

Some background: I'm dynamically copying core files from my esp32's and saving them externally. Since they are saved as ELF files, I should be able to run `espcoredump.py` on them to get a summary. Via menuconfig, I've set my core files output to be ELF.

But, after I download a corefile to my local host, the `espcoredump.py` utility fails with the error: parsing expected b'\x7fELF' but parsed b'dT\x00\x00'

The value b'\x7fELF' always appears 24 bytes into the file, not at the beginning. I verified the 24-byte padding is also present on the esp32 file before downloading. The `espcoredump.py` utility expects the file to start with b'\x7fELF'.

Is there a work-around, or some other utility I should be using?

Who is online

Users browsing this forum: Majestic-12 [Bot], rajurajxyz123456 and 65 guests