refactor and simplify capturing backtraces from mmap hooks

The case of mmap and sbrk hooks is simple enough that we can do
simpler "skip right number of frames" approach. Instead of relying on
less portable and brittle attribute section trick.
This commit is contained in:
Aliaksey Kandratsenka 2024-04-05 23:39:49 -04:00
parent 29b6eff4c7
commit 29f394339b
7 changed files with 334 additions and 134 deletions