WorksButNotTested 15fcf9af71 Support madvise(MADV_DONTDUMP) when creating core dumps for qemu-user
When running applications which make large (sparsely populated) address ranges
(e.g. when using address sanitizer with LibAFL) the inability to exclude these
regions from any core dump can result in very large files which fill the disk.
A coredump is obvously very useful for performing a post-mortem when fuzzing.

Whilst the man pages state that madvise provides only a hint (and hence can be
ignored), this patch adds support to handle MADV_DONTDUMP and set a
corresponding flag in the page flags, thus allowing QEMU to exclude these
regions from the core file.
2025-05-02 19:41:13 +01:00
..
2025-04-29 14:26:42 +02:00
2025-03-08 09:34:43 -08:00
2025-04-29 14:26:42 +02:00
2023-06-05 12:04:29 -07:00
2025-04-29 14:26:42 +02:00
2023-06-05 12:04:29 -07:00
2024-05-01 16:10:20 +02:00
2025-03-21 12:53:36 +01:00
2025-04-29 13:00:44 +02:00
2023-10-22 16:34:21 -07:00
2025-04-29 13:00:44 +02:00