void *ptr = ee->getPointerToFunction(myJITEdFunction); printf("dumping machine code to file...\n"); saveELF("generated.o", ptr, 8192); // this length is arbitrary, just guaranteed to be at least as big as our code pages printf("Done dumping machine code to file\n");