Commit b998421b authored by Ildar Musin's avatar Ildar Musin Committed by yonghong-song

Fix USDT semaphore address calculation for position independent executables...

Fix USDT semaphore address calculation for position independent executables (resolves #1998) (#2023)

Fix USDT semaphore address calculation for position independent executables
parent 9410c86d
......@@ -444,7 +444,7 @@ int bcc_resolve_global_addr(int pid, const char *module, const uint64_t address,
mod.start == 0x0)
return -1;
*global = mod.start + mod.file_offset + address;
*global = mod.start - mod.file_offset + address;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment