rizinorg / rz-tracetest

Testing of RzIL against real traces
8 stars 5 forks source link

Print statistics about actual executed instructions #5

Open Rot127 opened 2 years ago

Rot127 commented 2 years ago

rz-tracetes needs some kind of statistics which lists how many of the unique uplifted instructions were actually executed.

Most instructions of an architecture are never used in actual binaries. PPC gave me around ~35 executed from 166 uplifted over two different binaries. Since rz-tracetest doesn't state this explicitly it gives a wrong sense of success if it lists thousands of correctly executed instructions although actually tested were only 30-40.