From 08df6ec04b4b83df30c4e39772e0fcbc00c68eeb Mon Sep 17 00:00:00 2001
From: pompolic <pompolic@special-circumstanc.es>
Date: Tue, 9 May 2023 23:10:55 +0200
Subject: [PATCH] Comment out other .add_mem_use() too

---
 gdb-port/parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb-port/parser.py b/gdb-port/parser.py
index 0a4ef87..8951705 100644
--- a/gdb-port/parser.py
+++ b/gdb-port/parser.py
@@ -280,7 +280,7 @@ class ParserStack:
 		if len(ev_list) == 1:
 			# Compare bytes allocated in arena to last known value, which will be the additional bytes allocated since reentering the stack frame
 			#alloc_size = self.stack_events[ev_start][1] - current_event[1]
-			current_event[2].add_mem_use(int(self.arena), current_frame_alloc)
+			#current_event[2].add_mem_use(int(self.arena), current_frame_alloc)
 			self.committed = len(self.stack_events)-1
 		#	print("commit_at_pop: pop_allocs:", { current_event[2].address: current_frame_alloc }) # DEBUG
 			pop_allocs[current_event[2].address] = pop_allocs.get(current_event[2].address, 0) + current_frame_alloc
-- 
GitLab