-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
Pr/fasan multithreading fixes upstream #2955
Merged
tokatoka
merged 54 commits into
AFLplusplus:main
from
mkravchik:pr/fasan-multithreading-fixes-upstream
Feb 14, 2025
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
766c908
Fixing the test_harness library name
mkravchik ea9a3ab
Fasan works, but testing of all features is pending
mkravchik 715d6d8
Tests pass, before fixing clippy and fmt
mkravchik d2c675d
CLippy+fmt
mkravchik 03940d8
CLippy+fmt+tests running on linux
mkravchik f8929c0
Clippy
mkravchik e425797
Not stalkering the fuzzer. In the correct way
mkravchik 20a7516
Removing the instrumentation upon crash. Proper hooking of UnmapViewO…
mkravchik edaf21f
Fixes after the merge from the upstream (before 0.15.0). Still need t…
mkravchik 523aa3b
Adding the helper observer and using it in the test
mkravchik c1f1d61
Removing the observer from the wrong location
mkravchik bda1c68
Adapting to the new helper ownership model
mkravchik 599ea9f
Adding an observer to shut down instrumentation upon crash
mkravchik 19b6a43
Clippy + fmt
mkravchik dfe7f90
Merge with upstream/main at 0.15.0. Dependent on the fix of frida gli…
mkravchik b3897fb
Using mimalloc everywhere
mkravchik 2b61856
Deactivating before activating with the harness. Otherwise, gets stuc…
mkravchik c1fe491
Fixing imports for windows
mkravchik 3df9ccd
Using the new way of passing the handler
mkravchik 53ff249
Using frida_helper_shutdown_observer
mkravchik bd5e193
Clippy+fmt
mkravchik 7013144
no-std, clippy
mkravchik f882683
Merge branch 'pr/fasan-multithreading-fixes-upstream' of https://gith…
mkravchik 1033f0a
Fmt
mkravchik be7daf0
Merge branch 'pr/fasan-multithreading-fixes-upstream' of https://gith…
mkravchik 2ba593d
Stable thread_id
mkravchik a5eb759
Clippy 18
mkravchik 55609bd
More clippy
mkravchik bb48783
Merge remote-tracking branch 'upstream/main' into main
mkravchik 313a287
Formatting toml
mkravchik b1c7e30
Fixing apples
mkravchik b4b7394
Fixing apples 2
mkravchik d430976
Fixing apples 3
mkravchik 67b4beb
Upping to 0.16.7 (necessary for Windows)
mkravchik 4be02b0
Clippy+fmt
mkravchik d252b10
Enabling the allocator test after the fix and clarifying the importan…
mkravchik 4f2de21
Moving has_tls to bolts
mkravchik 2443a98
Proper handling of no-std, hopefully
mkravchik a56c4b3
Another attempt to fix win no-std
mkravchik 2d606bb
Not mine clippy complaint...
mkravchik be7df84
Not mine clippy complaint #2...
mkravchik 228f48e
Dlmalloc not used, removing from dependencies
mkravchik a4a147a
Restoring target in config.toml (otherwise fails CI on Linux)
mkravchik 706c272
lots of digging around, pray for us
addisoncrump 8f91ac1
Merge branch 'main' into pr/fasan-multithreading-fixes-upstream
addisoncrump 1d7c5d4
fixup?
addisoncrump 2640ddc
Merge branch 'main' into pr/fasan-multithreading-fixes-upstream
tokatoka 61908b8
Merge branch 'main' into pr/fasan-multithreading-fixes-upstream
tokatoka 185d5e0
Revert "lots of digging around, pray for us"
mkravchik 1110f6f
Revert "fixup?"
mkravchik 0c2a6c3
Revert artifact
mkravchik 8f716aa
Revert fixups
mkravchik a4be351
Removing unused
mkravchik c8089ad
Reverting to upstream/main
mkravchik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,3 +75,5 @@ harness | |
program | ||
fuzzer_libpng* | ||
forkserver_simple | ||
|
||
*.patch |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
rustflags = ["-C", "target-feature=+crt-static"] |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
shouldn't this always include asan?
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.
This code should all be deduplicated similar to what has been done in frida_libpng. (I.e. using IfElseRuntime)
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.
As for your first question, I looked at this fuzzer's Makefile.toml and it looks that Windows is unsupported, also README tells so. I'm actually not sure what #[cfg(windows)] does there.
As for the second, this was not part of my change, and frankly speaking I'm not sure how to do it exactly. Is it just copy-paste from frida_libpng? Any documentation on this IfElseRuntime?
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.
Ok Leave it. I will do it in a follow up PR.