I am using Bullseye for code coverage test with some C code. I successfully instrumented my c code with Bullseye. Then I tried to disassemble it to see what's in there.
I was expecting that there should be some probe function inserted at every control transfer location
. Such as for
, if
, while
, etc. But to my surprise, I only see a single probe at the the beginning of each of my functions
. Such as this one:
So how could this single probe trace all the control transfers?
And when I view the collected coverage data, all my control-transfers are recorded as not covered. Only the function entry point is rocorded as covered.
Did I mis-configure the Bullseye so the above screenshot is only coarse function coverage
? If so, how can I configure Bullseye for fine-grained control-transfer-based coverage?