Comments (4)
Ah. The issue is that if the type is a pointer gef tries to dereference it. If it fails, then it prints 0.
from gef.
Fixed in #72
gef➤ x/20gx 0x602000
0x602000: 0x0000000000000000 0x0000000000000021
0x602010: 0x0000000000000000 0x0000000000000000
0x602020: 0x0000000000000000 0x0000000000000021 # Value is 0x21
0x602030: 0x0000000000000000 0x0000000000000000
0x602040: 0x0000000000000000 0x0000000000000021
0x602050: 0x0000000000000000 0x0000000000000000
0x602060: 0x0000000000000000 0x0000000000020fa1
0x602070: 0x0000000000000000 0x0000000000000000
0x602080: 0x0000000000000000 0x0000000000000000
0x602090: 0x0000000000000000 0x0000000000000000
gef➤ dt mchunk 0x602020
0x602020+0x0000 prev_size : 0x0000000000000000 (c_ulong)
0x602020+0x0008 size : 0x0000000000000021 (c_ulong) # 😀
0x602020+0x0010 FD : 0x0000000000000000 (c_ulong)
0x602020+0x0018 BK : 0x0000000000000000 (c_ulong)
0x602020+0x0020 fd_nextsize : 0x0000000000000000 (c_ulong)
0x602020+0x0028 bk_nextsize : 0x0000000000000021 (c_ulong)
gef➤ x/gx 0x602028
0x602028: 0x0000000000000021
from gef.
😎
from gef.
💥
from gef.
Related Issues (20)
- [Bug] 不能运行,一堆问题 HOT 1
- register_external_context_pane shouldn't change context.layout HOT 2
- Can gef be able to do heap analysis for core file ? HOT 1
- gef invoked oom-killer for core file from a mem-leak process HOT 7
- how to use gef-remote command when debuging by gdb-multiarch, and target is localhost:1234 HOT 1
- Permission Error while loading gef in GDB HOT 1
- display ascii char with x/c command HOT 2
- how to show filename:lineNumber in trace view ? HOT 4
- [Bug] vmmap command not showing memory regions of QEMU emulated x86-64 binary HOT 2
- any possible to add vmmap to show kernel memory in qemu? HOT 6
- bp_prefix not set on breakpoints declared with function name instead of hex_address ( HOT 5
- [Bug] Weird memory mapping with rr replay HOT 3
- [Bug] pyenv site_packages_dir assertion fails when setting multiple python versions in pyenv HOT 5
- [Bug] GEF installation error with GDB 8.2 with Python3.6 bindings HOT 3
- [Bug] read_cstring length can be set so that it reads into an unmapped region HOT 1
- [Bug] Missing update of local `/proc/{pid}/maps` in remote session when new shared library is loaded HOT 5
- [Bug] cant open under ubuntu 16.0.4 python 3.6 HOT 2
- Question about pyenv HOT 5
- [Docs] Add `pre-commit` documentation
- sth. about function and UI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gef.