summaryrefslogtreecommitdiff
path: root/memory_replay/NativeInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'memory_replay/NativeInfo.cpp')
-rw-r--r--memory_replay/NativeInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/memory_replay/NativeInfo.cpp b/memory_replay/NativeInfo.cpp
index ec131ddc..3439a29d 100644
--- a/memory_replay/NativeInfo.cpp
+++ b/memory_replay/NativeInfo.cpp
@@ -76,7 +76,8 @@ void NativeGetInfo(int smaps_fd, size_t* rss_bytes, size_t* va_bytes) {
&name_pos) == 2) {
char* map_name = &buf[buf_start + name_pos];
if (strcmp(map_name, "[anon:libc_malloc]") == 0 || strcmp(map_name, "[heap]") == 0 ||
- strncmp(map_name, "[anon:scudo:", 12) == 0) {
+ strncmp(map_name, "[anon:scudo:", 12) == 0 ||
+ strncmp(map_name, "[anon:GWP-ASan", 14) == 0) {
total_va_bytes += end - start;
native_map = true;
} else {