|
From: Josef W. <Jos...@gm...> - 2007-05-09 03:05:16
|
On Tuesday 08 May 2007, Andreas S=E6bj=F8rnsen wrote:
> With John's help I have been able to identify all the jumps in an
> application and counting them. But I get way more jumps than I really
> expected (see below) and I am curious where they come from.
What did you expect?
As VG analyses the client code from the very first instruction,
this includes initialization of all shared libraries linked.
The numbers should be significantly lower with static linkage.
=46or /bin/true, which is something like "int main() { return 1;}",
I get similar JCC counts in the output of "lackey" on my OpenSuse 10.2
system, so your results should be Ok.
> Is there=20
> any documentation on where all (>200,000) the jumps come from?
This probably is all from the runtime linker and glibc.
As I see, /bin/true involves more than 40,000 jumps alone in strcmp()...
> Is=20
> there any documentation on how I can differ these jumps from each
> other so that I can only look at the ones I am interested in?
You can distinguish guest instructions according to debug info
attributed to them.
Josef
|