From c6bc786d983b51f6478bf3993558d711398e8715 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 16 Sep 2024 23:35:49 +0200 Subject: [PATCH] fixed color swap between heap/stack --- gef.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gef.py b/gef.py index 1c64f8209..af6ee583e 100644 --- a/gef.py +++ b/gef.py @@ -8950,8 +8950,8 @@ def print_entry(self, entry: Section) -> None: def show_legend(self) -> None: code_title = Color.colorify("Code", gef.config["theme.address_code"]) - stack_title = Color.colorify("Heap", gef.config["theme.address_stack"]) - heap_title = Color.colorify("Stack", gef.config["theme.address_heap"]) + stack_title = Color.colorify("Stack", gef.config["theme.address_stack"]) + heap_title = Color.colorify("Heap", gef.config["theme.address_heap"]) gef_print(f"[ Legend: {code_title} | {stack_title} | {heap_title} ]") return