-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
refactor(snapshot.rs): use const generics #2069
Conversation
Thank you for the PR. It looks good to me. |
Two questions:
|
I just realized this would also work for libafl_qemu/src/asan.rs but that's more than a quick drive-by PR, so I'm not going to do that as part of this PR. |
|
Sounds good. This PR should pass the CI after running |
ci will never pass for a couple of days. there's a bug in rust compiler |
Hey, I just ran Should I fix it anyway? |
It seems like the nightly compiler is broken atm, as @tokatoka said. So, I guess the best we can do for now is to wait a few days and re-run |
I really appreciate the offer. I will poke around a little bit more and try to write some doc comments on the functions with my current understanding and open a PR. Maybe that can then serve as a good place for that discussion. |
It looks good to me. It doesn't necessarily need to be in a separate PR; it's all fine like this. Even if you don't fully understand a function, as long as what you write is accurate, there is no problem. A (correct) partial doc is much better than nothing at all. A few details:
Thanks for helping with the documentation! |
@rmalmain I commented on gen to the best of my ability, however I don't really understand what the
I'm being very selfish here as I'll have to use these APIs for my thesis, so any documentation that's signed off by you is helping me do my thing :) |
28eb59a
to
224a3f9
Compare
The comment looks good, thanks.
I'll merge this for now, if you want to add more documentation feel free to open a new PR |
Just a simple reduction in the amount of code that needs to be maintained.