Skip to content

Fixes for frida windows#2156

Closed
mineo333 wants to merge 230 commits intoAFLplusplus:frida_windowsfrom
mineo333:frida_windows_aarch64
Closed

Fixes for frida windows#2156
mineo333 wants to merge 230 commits intoAFLplusplus:frida_windowsfrom
mineo333:frida_windows_aarch64

Conversation

@mineo333
Copy link
Contributor

@mineo333 mineo333 commented May 8, 2024

This PR includes fixes for #2095

The main changes include emulating a return to the next instruction for non tail-call hooks as well as removing unix/windows cfg checks for the test fuzzers as they are no longer needed.

Also properly merged main.

tokatoka and others added 30 commits February 14, 2024 23:28
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
* feature(libqasan): add asprintf and vasprintf

* feature(libqasan): add asprintf and vasprintf to hotpatch

---------

Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
* feature(libqasan): add asprintf and vasprintf

* feature(libqasan): add asprintf and vasprintf to hotpatch

* feature(libqasan): add strndup
* fixing qemu-libafl-bridge AFLplusplus#46

* cargo fmt

* updated QEMU revision

---------

Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
* Fix pointer clippy lints

* More clippy

* fix build

* fix
* libafl_targets: on macOS, do not provide a default implementation for weak functions

* libafl_libfuzzer: update README to talk about macOS specifics

* libafl_targets: allow __sanitizer_cov_pcs_init to be called more than once

---------

Co-authored-by: Dominik Maier <domenukk@gmail.com>
* Fixing clippy some more

* more commit

* Git gud

* remove more useless imports
* Support raw byte grammar in NautilusContext

* Add `use` statement in doc comment
Co-authored-by: Dominik Maier <domenukk@gmail.com>
* Less useless allocs for monitor display

* More less String

* Lol who needs generics

* clippy

* remove &String
* win fix

* just some ci

* test

* revert

* aaaaa

* bbbbbb
…lusplus#1890)

* do that again but smarter

* remember to register

* appease the clippy

* cleanup

* autofix clippy

* more clippy fixes

* more clippy...

* small clippy fix

* with_tries => with_retries

* most recent suggestions

* final clippy... hopefully
* ngram

* ctx

* push stuff

* passing cargo check

* save stuf

* add

* no default

* fuzzbench ready

* formatt

* aaaaaaaa

* adaptive map

* add all

* chg

* fix

* deleting stuff

* fmt

* clang18

* fuck

* save space

* fix?

* feature name

* fucking nightly only

* harness

* fix libafl_cc

---------

Co-authored-by: Dominik Maier <domenukk@gmail.com>
…FLplusplus#1906)

* impl TransferFeedback

* whoops, fix build

* fix doc

* fix build for tcp manager

* fix fr
…plusplus#1893)

* Implement MutatorTuple for Vecs to allow Dynamic Mutator Choices

* fix test

* clippy

* Move into_vec to extra trait

* fix no_std

* more nostd

* no_std
* fix lints.

* more lint fix.

* even more lint fixes.

* always more lint fixes.

* lint fix.

* allow unused qualifications for crate when it could be confusing.

* Still lint fixes.

* Lint fixes on generated code.

* Some lint fixes.
* a

* fix client timeout

* revert

* more

* std

* import

* import

* sdt

* FMT

* backtick again
…verted (AFLplusplus#1884)

* Fix for AFLplusplus#1881, ProbabilitySamplingScheduler seems to be inverted

* Run 'cargo +nightly fmt'

* Added debug_assert as negative and infinite probability values would break the current implementation of next()

---------

Co-authored-by: Dan Blackwell <danblackwell@eduroam-int-dhcp-97-192-218.ucl.ac.uk>
Co-authored-by: Dan Blackwell <danblackwell@ML-W0NYVW4XCK.local>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
* inital commit.

* clippy

* tests

* clippy

* adapt example

* systemmode.

* renaming

* fmt

* fix lints.

* more lint fix.

* even more lint fixes.

* always more lint fixes.

* lint fix.

* allow unused qualifications for crate when it could be confusing.

* Still lint fixes.

* Lint fixes on generated code.

* Some lint fixes.

* renamed modules as well.
* inital commit.

* clippy

* tests

* clippy

* adapt example

* systemmode.

* renaming

* fmt

* fix lints.

* more lint fix.

* even more lint fixes.

* always more lint fixes.

* lint fix.

* allow unused qualifications for crate when it could be confusing.

* Still lint fixes.

* Lint fixes on generated code.

* Some lint fixes.

* renamed modules as well.

* Separated inner from InProcessExecutor.

* fix

* unused import

* unused import

* fix import

* fix import
tokatoka and others added 22 commits May 4, 2024 18:16
* rename

* rename

* fmt

* fix

* fmt
* rename

* rename

* fmt

* fix

* fmt

* separate observers

* doc fx
* fix

* ignore

* fix

* aaa

* bbb
* QEMU generic memory iterator + Refactoring

* Generic Memory Iterator (systemmode only for now): It is now possible to iterator over memory ranges, independently of the address kind

* Refactoring or Emulator / Qemu structures: they are now handled separately in different files

* Refactoring of Exit Handlers: Result / Error structs have been clarified

* Simple handler for signals

* add new `check-cfg` calls for libafl qemu
* stable type eq

* whoops, wrong section

* satiate clippy

* remove extraneous comment

* explain

* bonus inline
 (AFLplusplus#2152)

* Handle name cleanup after AFLplusplus#2142

* Handleable -> CanBeHandled

* CanBeHandled -> Handled

* clippy

* forgot one

* Handled more
@mineo333 mineo333 closed this May 8, 2024
@mineo333 mineo333 reopened this May 8, 2024
@domenukk domenukk requested a review from s1341 May 8, 2024 04:57
@tokatoka
Copy link
Member

tokatoka commented May 8, 2024

can you merge from main (again?
else it won't trigger ci

@s1341
Copy link
Collaborator

s1341 commented May 8, 2024

merging from main doesn't trigger CI... only PR's based on main get CI.

I am reviewing and merging the best bits of this PR manually...

@tokatoka
Copy link
Member

tokatoka commented May 8, 2024

we can turn it on if you want, shall i?

@s1341
Copy link
Collaborator

s1341 commented May 8, 2024

On the one hand, it's not critical for this PR, on the other hand, why not?

@mineo333 mineo333 closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.