Skip to content

Commit 2479604

Browse files
committed
test/64bit_child: search for librrpreload
The test binary for 64bit_child determines the bitness of the process by searching the memory map for either 'librrpage.so' or 'librrpage_32.so'. This commit makes the test independent of the SONAME of librrpage by instead searching for librrpreload.
1 parent 7228160 commit 2479604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/64bit_child.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "util.h"
44

55
void callback(uint64_t env, char *name, __attribute__((unused)) map_properties_t* props) {
6-
const char search[] = "librrpage.so";
6+
const char search[] = "librrpreload.so";
77
if (strlen(name) > strlen(search)) {
88
if (sizeof(void*) == 4 &&
99
strcmp(name + strlen(name) - strlen(search), search) == 0)

0 commit comments

Comments
 (0)