This script builds an ELF file from a binary dump and an IDA map file.

#!/usr/bin/perl
#
# Re-generate an ELF file at the specified offset
# with the symbols provided from the IDA Pro dump.
#
# (c) 2009 Trammell Hudson <hudson@osresearch.net>
# Based on stubs_2_elf.S by chr
#

Source: http://bitbucket.org/hudson/magic-lantern/src/tip/remake-elf

See also: Emulation

Community content is available under CC-BY-SA unless otherwise noted.