mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix formatting of pgoff.
PiperOrigin-RevId: 397763298 Change-Id: I027ef4cd381247521ee2bcce57a17c9d480efb22
This commit is contained in:
parent
c400f92eaa
commit
b5fb483b11
|
@ -102,7 +102,7 @@ absl::StatusOr<std::map<uint64_t, std::string>> LoadSymbolsMap(pid_t pid) {
|
||||||
// the next iteration.
|
// the next iteration.
|
||||||
std::string map = absl::StrCat("map:", entry.path);
|
std::string map = absl::StrCat("map:", entry.path);
|
||||||
if (entry.pgoff) {
|
if (entry.pgoff) {
|
||||||
absl::StrAppend(&map, "+0x%x", entry.pgoff);
|
absl::StrAppend(&map, "+0x", absl::Hex(entry.pgoff));
|
||||||
}
|
}
|
||||||
addr_to_symbol[entry.start] = map;
|
addr_to_symbol[entry.start] = map;
|
||||||
addr_to_symbol[entry.end] = "";
|
addr_to_symbol[entry.end] = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user