We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08d9e4 commit 19ab453Copy full SHA for 19ab453
postject-api.h
@@ -54,15 +54,6 @@ struct postject__dl_iterate_phdr_data {
54
static int postject__dl_iterate_phdr_callback(struct dl_phdr_info* info,
55
size_t size,
56
void* opaque) {
57
- /*
58
- The first object visited by the callback is the main program.
59
- For the main program, the dlpi_name field will be an empty string.
60
- */
61
- if (info->dlpi_name == NULL || strcmp(info->dlpi_name, "") != 0) {
62
- // skip to the next shared object
63
- return 0;
64
- }
65
-
66
struct postject__dl_iterate_phdr_data* data =
67
(struct postject__dl_iterate_phdr_data*)opaque;
68
0 commit comments