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

Store diffs in JSON report, HTML export for reccmp-aggregate #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

disinvite
Copy link
Collaborator

Two new features to help the entropy runs over at isledecomp:

The --json option for reccmp-reccmp now inserts diff information in the JSON report by default. This is the same data that has been included in the HTML reports. This doesn't seem to cause much of an impact other than increasing the report file size, which is why I enabled it by default. Deserializing the report with --diff is a tad slower (~100ms for me) so if you want the old behavior, add the parameter --json-diet. Adding diffs to the JSON is backward compatible with our current schema, so the version stays at 1.

The other component is the --html option for reccmp-aggregate. Now that we have the diffs in the JSON report, we can also generate an HTML report with the diff of the best match from each of the samples. In other words, for functions that still don't match, we can now see why and decide for ourselves if it's entropy not addressed by the effective match code.

Lastly, we had previously dropped the recomp addr when aggregating reports. In the rare occasion that it is the same in all reports, we now keep it. Otherwise, we use the string "various".

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

Successfully merging this pull request may close these issues.

1 participant