pahole is great but unless it’s been updated recently it chokes on modern C++ code. Use ptype /o in gdb instead.
-
-
-
Worked great for the C++ stuff I was working on today, wasn't bleeding edge C++ but it was using smart pointers and templates.
- Još 4 druga odgovora
Novi razgovor -
-
-
There is also ptype /o command in GDB :)
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Good news is that binutils, and GDB now has the support for CTF under .ctf section! Goodbye DWARF!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Wow, how have I not heard about this? This is great!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Yeah, it has come in handy during some Linux kernel exploitation in the past. ;) The ptype /o command in recent GDB versions is nice as well!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Would have been so useful to work with
@angrdothorse some time ago...Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
wow, I literally needed this, thanks for sharing... now its time to read some sources
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Do I really *need* to know what a struct actually look like in memory? That is: isn’t it enough to understand the semantics of the struct and operate on that?
-
even outside re/exploitation, consider cache effects, plus finding out how much space alignment padding wastes (pahole's original purpose)
- Još 7 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.