Valgrind on MacOS X Leopard

No Linux required



Since quite a while I intended to have a look at Valgrind to have some real fun with C, without having to assume where the errors are. Valgrind has been recommended by many very experienced people to me as "the solution". Nevertheless I didn't want a Linux VM. Even with Portable Ubuntu this sucks.

A new perspective for exploit development



Natively running Valgrind on MacOS X is possible. The feature-set doesn't contain PPC.

But, and that's amazing, memcheck for 32 and 64 Bit Intel. The executable Heap in MacOS X 10.5.x simply is an introduction to write exploits and to smash it. So in the past I had major issues with MallocScribble, which simply didn't really catch pointer-based problems or strategic information according to potencial heap-overflows during fuzzing processes.
Memcheck is much more precise, and as it seems, the Valgrind port is extendable with chroicle-recorder. I didn't test this jet.

Current status



The latest Valgrind release for MacOS X (3.3.1 r8180, VEX r1854) doesn't run perfectly well on 10.5.6. But it works. Still some syscalls are unrecognized, but for analyzing the heap in particular - a new era of breaking stuff and hardening it afterwards!


Have fun,
wishi

Post new comment

The content of this field is kept private and will not be shown publicly.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.