Bartosz Taudul
ce4c83d45b
String length is known, use memcpy instead of strcpy.
2022-05-01 12:46:09 +02:00
Bartosz Taudul
20cfdc3022
Save executable file names next to build identifiers.
2022-05-01 12:43:15 +02:00
Bartosz Taudul
b4343d58f1
Pass filename to elf_open_debugfile_by_buildid.
...
This is not needed for anything at this moment, but it will become quite useful
soon.
2022-05-01 12:21:51 +02:00
Bartosz Taudul
89778fee9a
Free dl_iterate_phdr data immediately after use.
2022-05-01 12:18:39 +02:00
Bartosz Taudul
7e8961d2fc
Workaround dl_iterate_phdr problems.
...
The code now performs a dry run of a dl_iterate_phdr call, storing the results
in a vector. Then, the original processing loop is issued, but outside of
dl_iterate_phdr.
For possible cause of problems see:
https://github.com/libunwind/libunwind/issues/16
2022-04-30 23:15:16 +02:00
Bartosz Taudul
4559120821
Get descriptors using debuginfod, if not available otherwise.
2022-04-30 21:46:36 +02:00
Bartosz Taudul
1a1d7bbb54
Sync libbacktrace with 4d2dd0b.
2022-04-20 01:14:41 +02:00
Bartosz Taudul
8bacc7a91c
Update libbacktrace to dedbe13fda.
2021-01-31 15:19:30 +01:00
Bartosz Taudul
ff27656533
Backport some fixes from libbacktrace upstream repo.
2020-05-30 14:23:29 +02:00
Bartosz Taudul
fdc3b01054
Update libbacktrace to ca0de0517.
2020-03-01 12:55:32 +01:00
Bartosz Taudul
0ce3dfaba7
Add modified libbacktrace.
...
https://github.com/ianlancetaylor/libbacktrace
5a99ff7fed66b8ea8f09c9805c138524a7035ece
2019-01-20 16:53:45 +01:00