facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.65k stars 992 forks source link

Linux release: Builder-exposed, incorrect runpath in lib/libevent-2.1.so.7 #1113

Open skull-squadron opened 1 year ago

skull-squadron commented 1 year ago

This is unlikely to work in the wild

File: watchman-v2023.03.13.00-linux/lib/libevent-2.1.so.7

Dynamic section at offset 0x4dda0 contains 27 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libevent-2.1.so.7]
 0x000000000000001d (RUNPATH)            Library runpath: [/tmp/fbcode_builder_getdeps-ZhomeZrunnerZworkZwatchmanZwatchmanZbuildZfbcode_builder/installed/libevent-n8BxTyKTMhfpvDA7rpLgggLmdiRAS1gVFBjJR5u8xrE/lib]
 0x000000000000000c (INIT)               0xc000
 0x000000000000000d (FINI)               0x3c0e4
 0x0000000000000019 (INIT_ARRAY)         0x4e970
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x4e978
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x2f0