Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Export coverage data in JSON format #34

Open
0xcpu opened this issue Mar 21, 2018 · 2 comments
Open

Feature request: Export coverage data in JSON format #34

0xcpu opened this issue Mar 21, 2018 · 2 comments

Comments

@0xcpu
Copy link

0xcpu commented Mar 21, 2018

Hi!

I consider that it would be useful to be able to export coverage data in JSON format, as such a feature will permit to use the coverage data in another systems/contexts.

An example: having n number of binaries, we can call an IDA Pro Python script using command line switches to spit coverage for every binary, then we can parse the log(s) and compare coverage.

Thank you!

@gaasedelen
Copy link
Owner

gaasedelen commented Mar 23, 2018

Thanks for the request! This is something I can probably add in the next version... whenever that is... ❓

Is there any specific data you are looking for? and at what granularity (function level? basic block level?) I can loop back on this thread when I start working towards the next version and see if the implementation fits your needs & use case.

@0xcpu
Copy link
Author

0xcpu commented Mar 23, 2018

Mainly I'm looking for a mapping between a function(address/symbol) and number of instructions executed inside it or a percentage of coverage(and maybe the number of basic blocks inside the function).

I consider that it would be great to have both granularities, when I've requested this feature I didn't thought only about me, I thought about all possible users that will benefit from such a feature.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants