hugsy / gef

GEF (GDB Enhanced Features) - a modern experience for GDB with advanced debugging capabilities for exploit devs & reverse engineers on Linux
https://hugsy.github.io/gef
MIT License
7.02k stars 739 forks source link

fixed color swap between heap/stack #1136

Closed arty-hlr closed 2 months ago

arty-hlr commented 2 months ago

Description

There is a bug in how stack/heap addresses colors are shown in gdb using the vmmap command. This patch fixes it:

Before:

image

After:

image

Checklist

github-actions[bot] commented 2 months ago

🤖 Coverage update for c6bc786d983b51f6478bf3993558d711398e8715 🟢

Old New
Commit 674c74dbff8f7781f83ef9529999b2e7e934a066 c6bc786d983b51f6478bf3993558d711398e8715
Score 71.6267% 71.6642% (0.0375)