Re: Real Investigation

Benjamin Larsson <[email protected]>
Newsgroups gmane.comp.video.xine.codec.devel
Message-ID <[email protected]>
Hi.

>	When I ran graph.pl as instructed above (not on the same binary,
>though), I got a goodgraph.dot file consisting of:
>  
>
Look at the code, it's a miracle it works on librasipr.so.

>digraph prof {
>         "" ->  ""
>}
>
>I also got a 0-length fresource.txt file and a much larger fgraph.dot
>file. However, the latter file only contained a lot of:
>
>  
>
The binary didn't have a relocation record, thus no function names could 
be resolved and they got set to "".

>         "" ->  ""
>         "" ->  ""
>
>  
>
Because a function can call another function several times I remove 
duplicate links. This is why you only got one line in the graph. Try 
looking at the fgraph.dot when librasipr.so is used. LOTS of arrows.

>  
>
>>dot -Tps goodgraph.dot >test.ps
>>(dot is part of the graphwiz package)
>>    
>>
>
>	graphviz, with a 'v'. Makes the package much easier to find...:)
>
>  http://www.research.att.com/sw/tools/graphviz/
>
>--
>	-Mike Melanson
>
>  
>
Right now the scripts probably only work for one class of binarys and 
I'm to lazy to fix so it works for other binarys, unless someone asks me 
really nicely.

MvH
Benjamin Larsson



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.