DynamoRIO / DynamoRIO/drmemory

Use .eh_frame/.debug_frame unwind information to improve callstack walking

Open
#2,399 0 comments 0 reactions 1 assignee Claimed by @derekbruening View on GitHub
Type-Feature Usability
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

DrMemory's callstack walker uses solely stack scanning and frame pointers, but it has some shortcomings. We have assumed that going into the DWARF .eh_frame/.debug_frame section would be too expensive, but given recent problems with skipping frames in simple apps due to libc optimizations requiring expensive stack scans in any case, it is worth implementing and having available and evaluating performance for whether to have it on all the time.

The corresponding Windows feature is #1222.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.