rust-minidump / minidump-writer

Rust rewrite of breakpad's minidump_writer
MIT License
68 stars 17 forks source link

Add support for adding dyld to the module list #47

Closed Jake-Shadle closed 2 years ago

Jake-Shadle commented 2 years ago

dyld is a special case where it is loaded in the task, but isn't present in the dyld all images info list like the main executable and other shared libraries. To get the location of the load commands for dyld we need to use a different field in the all images info struct to get the load address of dyld specifically before we can get its metadata and add it to the module list.

Breakpad didn't handle this at all which is why it wasn't part of the original implementation.

Resolves: #46