Syndicate

Syndicate content

Flattr


Flattr this

If you like this, you can use flattr. ;)

Imprint

About
eMail: wishinet at gmail . com
PGP ID: 0xCCCA5E74

Jabber: wishi@jabber.ccc.de

Tags for this post

Valgrind on MacOS X Leopard

txttxt

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.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Save the nature. Don't print this!


I provide textual exports for every blog entry. However let's save the nature together. The nature is everything around us. Every being should be respected. Save the nature - don't print too much.


Die Umgehung dieser Ausdrucksperre ist nach § 95a UrhG verboten!
Inhaltlich Verantwortlicher gemäß § 10 Absatz 3 MDStV: Marius Ciepluch - Anschrift via eMail. Die eMail Adresse entnehmen sie dem Impresseum dieser englischsprachigen Seite.
Aus Datenschutzgründen habe ich weder offiziellen noch behördlichen Schriftverkehr via eMail. Dazu ist die postalische, beim Dienstleister hinterlegte, Anschrift zu verwenden.

Datenerfassung

Es werden keine personenbezogenen Daten erfasst. Logdaten werden anonymisiert.