-
-
Notifications
You must be signed in to change notification settings - Fork 388
Windows frida support #1607
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
Windows frida support #1607
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
f306edc
WIP: windows frida
s1341 0a8e8a0
Merge branch 'main' into frida_windows
s1341 ba8c129
frida-windows: fix hooks not present on windows
s1341 4bd8d3d
windows: allow building using cargo xwin
s1341 27987d5
frida-windows: fmrt
s1341 80fc05a
frida-windows: cleanup and allow asan/drcov on windows
s1341 e0df019
frida-windows: fmt
s1341 80c1262
frida-windows: fix clippy
s1341 f5be7ef
frida-windows: handle unknown exceptions gracefully
s1341 b3c06f9
frida-windows: rework shadow mapping algo
s1341 bbc3d13
frida-windows: add hook functions
s1341 285aa6e
frida-windows: hook functions; fix stack register
s1341 7615680
minibsod: enable for windows
s1341 83e5b51
check_shadow: fix edge casees
s1341 bc163af
asan_rt: rework and add hooks for windows
s1341 9f49502
inprocess: add minibsod on windows
s1341 2d07bbe
Fix warnings
s1341 d16c0d4
Merge branch 'main' into frida_windows
s1341 dc8e732
minibsod: disable test on windows
s1341 f08046b
Merge branch 'main' into frida_windows
s1341 9768ac5
WIP: HookRuntime
s1341 6ba00c8
Merge branch 'main' into frida_windows
s1341 b70396e
Cleanup after merge
s1341 4c5ebf0
Bump frida-gum version
s1341 5c34f18
Fix conflict marker; update frida
s1341 467b995
Make winsafe windows-specific
s1341 11cfdbc
Fmt
s1341 6030434
Move off of capstone
s1341 3aa76f0
Format
s1341 98e129c
Merge branch 'main' into frida_windows
s1341 0191744
Bump frida version
s1341 d8fe669
Better detection of clang++ (using cc)
s1341 ab0a3c2
Make AsanErrors crate public so we can use it in tests
s1341 2ea6056
Add helper to get immediate of operand
s1341 d3422b4
Use HookRuntime to hook asan functions
s1341 539a760
fmt
s1341 cb2bbc8
Implement recurisve jmp resolve
s1341 76c53a2
Fix reversed logic
s1341 7ec2456
windows_hooks: Don't die if functions are already replaced
s1341 cbae66d
Allow utils to work on windows
s1341 ba5c41b
Enable allocator hooking on windows
s1341 46e901b
Warnings; add trace to free
s1341 0fcb8cb
Make ASAN tests run windows (with cargo xwin compilation)
s1341 c7ff2cf
Fmt
s1341 8a5da72
clang-format
s1341 c012407
clang-format
s1341 1d9f044
Add more tests
s1341 1c08230
Fix partial range access bug in unpoisoning/shadow_check
s1341 597e647
Merge main
s1341 da3a99a
Merge branch 'main' into frida_windows
s1341 bc205a1
Merge branch 'main' into frida_windows
tokatoka f12d09b
Fix check_shadow and implement unit tests
s1341 6734c25
Fix hooking and PC retrieval
s1341 3d6d8f5
WIP: Working gdiplus fuzzing with frida-ASAN, no false positives
s1341 c554b97
Merge main
s1341 6c3a5d5
LibAFL Frida asan_rt and hook_rt fixes for frida_windows (#2095)
mineo333 ecf6af5
Fixes
s1341 0f5afa3
alloc: add tests, pass the tests
s1341 8fe08ff
HookRuntime before AsanRuntime, and don't Asan if Hooked
s1341 1b30874
hook_rt: Fixes
s1341 4a2b620
Frida windows check shadow fix (#2159)
mineo333 4b53380
Revert to Interceptor based hooks
s1341 cb8a300
Merge fixes
s1341 4e06b49
fixes
s1341 e9f15b5
format
s1341 0ab734d
Get rid of hook_rt; fixes
s1341 4dd032a
clang-format
s1341 ada3737
clang-format
s1341 ad6ea3d
Fix with_threshold
s1341 57684ab
fixes
s1341 5eae3e6
fix build.rs
s1341 5ea6feb
fmt
s1341 0ef5cfa
Fix offset to RDI on stack
s1341 a248ccd
Fix clippy
s1341 1cf48c0
Fix build.rs
s1341 fd2288c
clippy
s1341 35ea431
hook MapViewOfFile
s1341 211ef34
fmt
s1341 4f8389f
fix
s1341 f5b78ff
clippy
s1341 af07561
clippy
s1341 7887e45
Missing brace
s1341 2b05cd9
fix
s1341 c04fa47
Clippy
s1341 08bf77b
fomrrat
s1341 732cf43
fix i64 cast
s1341 78fe868
clippy exclude
s1341 355cc82
too many lines
s1341 6d10f93
Merge branch 'main' into frida_windows
domenukk 09f3bed
Merge branch 'main' into frida_windows
domenukk de157ca
Undo merge fails
domenukk e3e713e
fmt
domenukk b103134
move debug print
domenukk c68faf1
Fix some frida things
domenukk 11edb5e
Remove unused frida_to_cs fn for aarch64
domenukk 199feb3
name
domenukk c19a522
Merge branch 'main' into frida_windows
domenukk c79aebf
Don't touch libafl_qemu
domenukk aceef40
Merge branch 'main' into frida_windows
domenukk 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 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
target = "x86_64-pc-windows-msvc" |
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.