Add PE/COFF parser #134

Open
opened 2026-07-13 09:46:01 +02:00 by dinesh_kumar · 2 comments

Inspired by #133, as I think it's good to also have stacktraces on Windows.

Adding a parser for ELF would allow to get symbols for backtraces on Linux.

Originally posted by @js in #133 (comment)

Inspired by #133, as I think it's good to also have stacktraces on Windows. > Adding a parser for ELF would allow to get symbols for backtraces on Linux. > > _Originally posted by @js in https://git.nil.im/ObjFW/ObjFW/issues/133#issue-215_
Owner

Probably worth investigating first if this works the same way on Windows. For starters, there is no dladdr on Windows AFAIK, so there also needs to be a way to find loaded modules first.

Probably worth investigating first if this works the same way on Windows. For starters, there is no `dladdr` on Windows AFAIK, so there also needs to be a way to find loaded modules first.
Owner

There is no need for this on Windows: https://learn.microsoft.com/en-us/windows/win32/api/dbghelp/

There is no need for this on Windows: https://learn.microsoft.com/en-us/windows/win32/api/dbghelp/
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ObjFW/ObjFW#134
No description provided.