-
-
Notifications
You must be signed in to change notification settings - Fork 9
Improve signature generation algorithm #193
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
Conversation
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
I can't see why the tests fail, but there are warnings about incompatible firmware. I expect that if the code in this PR was incorrect, the test assemblies could not be loaded at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are rewriting the algorithm of the signatures table.
Not saying it's not correct just that needs more testing as the logic has been inherited from the original MDP and there are no unit tests covering it, so we need to be 200% sure that this is working.
I'm positive that the new code does exactly the same as the old code. The algorithm has not changed, I've implemented it in a different way. I believe in dogfooding: I've replaced the MDP in the NF build system on my computer with the new version, and so far have not experienced any problems with the five projects I've worked on since. @josesimoes How do you want to proceed? Some options:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Improved the efficiency of the code.
Motivation and Context
Because it takes too long.
The generation of the .pe via MSBuild took about 5 minutes for one of my projects. The code in this PR takes about 2 seconds.
How Has This Been Tested?
Couldn't get the the unit tests to work.
Used a console app (not included) to run the MSBuild task. Used the same arguments as MSBuild to create the *.pe for the project. The resulting *.pe file was (binary) identical to the one produced with the 5-minute version of the build task.
I've copied the new fast build task to the c:\programs... location and am using it now for all NF projects. They all can be run on real hardware.
Types of changes
Checklist: