-
Notifications
You must be signed in to change notification settings - Fork 9
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
A diff for a specific function #18
Comments
I thought that two listings (
... can be easily used to produce a more verbose output for a given function. My biggest concerns here would be: (1) identifying the names of the functions changed by a patch; How do folks think, is there anything non-doable? |
This is already a feature in devilution-comparer, and is how the tool is being used locally. All function offsets are known via https://github.com/diasurgical/devilution-comparer/blob/master/comparer-config.toml and the generated PDB. The problem is that https://github.com/diasurgical/riivaaja has no way of knowing what function was cleaned up by a given PR or what it was like previously. The first could be solved by having riivaaja compare every function individually. But to avoid having it show a list of 2k functions we need a way for it to know the state of the previous commit so that it can filter it down to only show what has changed. Code quality tools like Jenkins, Codacy and Code Climate solves this by having a service where it stores the previous results and then compares with that for any new PRs, but that requires setting up an infrastructure (could be as simple as a key value commit-hash => 2k line text file) that riivaaja can then read and write from. The big problem here is security, reliability and cost. |
In devilution's #1122 @AJenbo responded about checking bin-exactness of a function in CI:
Thanks. The output looks still a little bit too scarse to be sure. I think it can be advanced. Will post details below. Please point me if I am missing something.
The text was updated successfully, but these errors were encountered: