Re: Real Investigation
Benjamin Larsson <[email protected]>
| Newsgroups | gmane.comp.video.xine.codec.devel |
|---|---|
| Message-ID | <[email protected]> |
> Can you publish your perl scripts as well. > http://tranquillity.campus.luth.se/~banan/real/perlcode/ A big messy hack... anyway objdump -Trd librasipr.so | ./objdump-addresses.pl > siprofunctions.txt (objdump-addresses.pl, Mike Melansons script slightly modified) ./graph.pl -f siprofunctions.txt librasipr.so this should give you a goodgraph.dot file, now use dot to translate it to something dot -Tps goodgraph.dot >test.ps (dot is part of the graphwiz package) The code basicly just parses the objdump disassembly and propagate the relocation records to get the proper call functions and also calculates from where the call came from. Then it compiles the graph. ./funcflow.pl librasipr.so interpol should create a interpol.ps file, graphing the function interpol. This code is slightly less messy then the first one. /Benjamin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com