commit - 6d51671b0f38b2c2dd63b479d069a4f2a898ffac
commit + 66a3d4e61744e0506ba7a66763f96dab43d43ae0
blob - 445b94de068a46760584b5b6f4901b337a0d2a4a
blob + 4a98320688b3c6fe893881088495d01db5548eac
--- util.c
+++ util.c
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: util.c,v 1.17 2006/08/15 12:30:18 matthias Exp $ */
+/* $Id: util.c,v 1.18 2006/08/15 12:44:23 matthias Exp $ */
#include "dermob.h"
#include "mach.h"
"Architecture is larger than the complete binary.\n");
exit(1);
}
- //mprintf(" Architecture %d\n", i+1);
if (cpu == swapi(fa->cputype))
*roffset = swapi(fa->offset);
for (i = 0; i < ncmds; i++) {
ld = malloc(sizeof(*ld));
- //mprintf(" - Load command: %d\n", i+1);
analyse_load_command(buffer, offset, ld);
list_insert_node(lst, ld, 0x4);
offset_old = *offset;
sec = malloc(sizeof(*sec));
// Skip the segment header
if (j == 0) *offset += val;
- //mprintf(" + Section %d\n", j+1);
examine_section(buffer, offset, sec);
if ((strcmp(sec->segname, "__TEXT") == 0) &&
(strcmp(sec->sectname, "__text") == 0)) {