-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Another multiply with overflow panic #13
Comments
i was wondering how you were fuzzing - i'd written off this is a foil of the other overflow you found if let Some(size) = overridden_size {
instruction.disp *= size;
} else {
apply_disp_scale(instruction);
} where disp is signed-in-spirit-but-unsigned-in-practice. so that's a on |
Yeah, I think there was a brief time maybe a few months ago where cargo-fuzz didn't work out of the box (because rust was moving to a different llvm / pass manager or whatever it was). But nowadays ( |
between the immediate issue being fixed, and that there are now in-tree |
thread 'main' panicked at 'attempt to multiply with overflow', /home/jess/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/yaxpeax-x86-1.1.2/src/long_mode/../shared/evex.in:241:11
The fuzzer I'm using is just
(the drop is to ignore the must_use on a Result).
Probably should add this to the repo and run it yourself. See https://github.com/rust-fuzz/cargo-fuzz
The text was updated successfully, but these errors were encountered: