-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
v4.30c #2262
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
Merged
Merged
v4.30c #2262
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
push to stable
Frida persistent
According to the C standard, left-shifting a value by an amount greater than or equal to the width of its promoted type results in undefined behavior. To prevent potential unexpected results, explicitly cast the uint8_t variable type to uint64_t before performing the left shift operation by 56 bits. This ensures the operation is well-defined and adheres to the standard. Fixes: 40df85d ("adjust cmplog header")
Fix undefined behavior by casting to uint64_t before left shift
The memory allocation check in afl_custom_fuzz function was incorrect. The condition was erroneously checking if ptr was non-null, whereas it should return 0 when ptr is null. Correct the condition to properly handle memory allocation failures. Fixes: 32ffa26 ("max_len support")
Fix memory allocation check in aflpp custom mutators
After commit 0c9d8e5 ("Fix undefined behavior by casting to uint64_t before left shift"), the -Wno-shift-count-overflow flag is no longer necessary to suppress compilation warnings. This commit removes the flag, allowing the compiler to provide appropriate warnings for any potential future cases of shifting too many bits. Additionally, after commit eaf4a29 ("make redqueen hashmap not default"), the hashmap is no longer in use. Therefore, this commit also removes the hashmap from the GNUmakefile.
Remove -Wno-shift-count-overflow flag and hashmap from compilation
This reverts commit 0c9b460.
push to stable
When UBSan was enabled and 'make test' was executed, the following runtime error was observed: libradamsa.c:26055:29: runtime error: left shift of 16777215 by 8 places cannot be represented in type 'int' This issue was caused by a left shift operation on a signed integer. The fix involved changing the integer literal to an unsigned integer by adding a 'U' suffix, ensuring the left shift operation produces the correct value without overflow. Fixes: 8178f4d ("remove radamsa, add radamsa custom mutator")
…r-overflow Fix signed integer overflow in radamsa
push to stable
Added CFISAN option for verbose output on crash
Lincense changed. See #2253
To fix the issue with fields splitting in the afl-analysis.
Update afl-analyze.c
Remove outdated afl-gcc/afl-clang
push to stable
fix readme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.