Hello Michael!
> Can I test your script in my embedded system? > Can you send to me? Here you are. code_overlap.pl - disassembles a binary, and outputs a list (address, name, instruction, bytes) to STDOUT. bytes_saved.pl - takes such a list, and tries to estimate the amount of bytes that could be saved. I normally use them this way: #!/bin/sh perl code_overlap.pl "$@" > overlap.txt perl bytes_saved.pl Which just outputs the number of bytes. Hope that helps ... please let my know whether that works for you. Regards, Phil -- Versioning your /etc, /home or even your whole installation? Try fsvs (fsvs.tigris.org)!
bytes_saved.pl
Description: Perl program
code_overlap.pl
Description: Perl program