Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree-wide: use ASSERT_PTR more | David Tardon | 2022-09-13 | 1 | -6/+3 |
| | |||||
* | shared: Add more dlopen() tests | Daan De Meyer | 2022-03-01 | 1 | -2/+2 |
| | | | | | | Add dlopen_dw(), dlopen_elf() and dlopen_pcre2() to the dlopen test. To enable adding dlopen_pcre2(), we move pcre2-dlopen.h/c from src/journal to src/shared. | ||||
* | elf-util: add missing assertion | Yu Watanabe | 2022-01-03 | 1 | -0/+2 |
| | |||||
* | elf-util: reduce variable scope | Yu Watanabe | 2022-01-03 | 1 | -3/+3 |
| | |||||
* | elf-util: executable argument for parse_elf() may be NULL | Yu Watanabe | 2022-01-03 | 1 | -3/+5 |
| | | | | Fixes assertion triggered by parse_package_metadata() and json_build(). | ||||
* | elf-util: reduce variable scope and indentation | Yu Watanabe | 2022-01-03 | 1 | -40/+42 |
| | |||||
* | elf-util: reduce variable scope and indentation | Yu Watanabe | 2022-01-03 | 1 | -20/+22 |
| | |||||
* | Merge pull request #21454 from bluca/inspect_elf | Zbigniew Jędrzejewski-Szmek | 2021-12-06 | 1 | -5/+136 |
|\ | | | | | analyze: add inspect-elf verb to parse package metadata | ||||
| * | elf-util: add function to parse metadata out of ELF objects | Luca Boccassi | 2021-12-01 | 1 | -5/+136 |
| | | | | | | | | | | | | Parse the packaging metadata from an ELF object, if any, and print a pretty table following the spec defined at: https://systemd.io/COREDUMP_PACKAGE_METADATA/ | ||||
* | | elf-util: do not ignore prctl() errors | Luca Boccassi | 2021-12-01 | 1 | -2/+5 |
|/ | | | | | | | We want to avoid loops, so fail and return if we can't disable core dumping CID#1467004 | ||||
* | elf-util: switch libelf/libdw to dlopen() | Luca Boccassi | 2021-11-30 | 1 | -54/+176 |
| | | | | | | In order to avoid inflating the dependency list for the core library, use dlopen when inspecting elfs, since it's only used in two non-core executables. | ||||
* | elf-util: split out helper to parse build-id | Luca Boccassi | 2021-11-30 | 1 | -27/+47 |
| | |||||
* | coredump: move elf parsing utilities to src/shared/elf-util | Luca Boccassi | 2021-11-30 | 1 | -0/+535 |