Skip to content

Conversation

@llaubin
Copy link
Contributor

@llaubin llaubin commented Dec 10, 2025

This PR allows to load en ELF 64-bits core file and starts emulation from the current CPU state. This can be useful to start exploration from a breakpoint in a binary.

Please note that by default, a coredump does not contain .rodata sections of the binary, as they are available from the filesystem. The CoredumpLoader does not manage this, so you need to dump everything, for example with echo 0xF > /proc/$(pidof targetprocess)/coredump_filter before using the generate-core-file output.dump command in GDB...

@cnheitman
Copy link
Collaborator

Thanks, @llaubin!

As a reminder, this new CoreDump loader relies on this LIEF PR that is not yet merged into the main branch.

@cnheitman cnheitman merged commit 895ea03 into quarkslab:main Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants