Skip to content
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

Make Launcher use ClientDescription instead of CoreId #2676

Merged
merged 66 commits into from
Nov 29, 2024

Commits on Nov 9, 2024

  1. Configuration menu
    Copy the full SHA
    54fe933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02aee52 View commit details
    Browse the repository at this point in the history
  3. Replace addr_of with &raw across the codebase (AFLplusplus#2669)

    * Replace addr_of with &raw across the codebase
    
    * fix fixes
    
    * more fix
    
    * undo clang fmt?
    
    * oops
    
    * fix?
    
    * allocator fix
    
    * more fix
    
    * more more
    
    * more docs
    
    * more fix
    
    * mas mas mas
    
    * hm
    
    * more
    
    * fix Frida
    
    * needed
    
    * more error
    
    * qemu
    domenukk authored and riesentoaster committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    9cb0319 View commit details
    Browse the repository at this point in the history
  4. Introduce workspace (again) (AFLplusplus#2673)

    * Trying to redo workspace deps again after AFLplusplus#2672
    
    * unused
    
    * clippy
    domenukk authored and riesentoaster committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    c5cc84e View commit details
    Browse the repository at this point in the history
  5. Replace addr_of with &raw across the codebase (AFLplusplus#2669)

    * Replace addr_of with &raw across the codebase
    
    * fix fixes
    
    * more fix
    
    * undo clang fmt?
    
    * oops
    
    * fix?
    
    * allocator fix
    
    * more fix
    
    * more more
    
    * more docs
    
    * more fix
    
    * mas mas mas
    
    * hm
    
    * more
    
    * fix Frida
    
    * needed
    
    * more error
    
    * qemu
    domenukk authored and riesentoaster committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    4e67bd5 View commit details
    Browse the repository at this point in the history
  6. Introduce workspace (again) (AFLplusplus#2673)

    * Trying to redo workspace deps again after AFLplusplus#2672
    
    * unused
    
    * clippy
    domenukk authored and riesentoaster committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    7e1fe97 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c957504 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8a7b4c1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    89e0ee9 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2024

  1. Configuration menu
    Copy the full SHA
    514fa96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18f0b71 View commit details
    Browse the repository at this point in the history
  3. Specifying types

    riesentoaster committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    19f9144 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba8a7d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80856a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    27369af View commit details
    Browse the repository at this point in the history
  7. fixing cippy allows

    riesentoaster committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    69235b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Configuration menu
    Copy the full SHA
    6f808c1 View commit details
    Browse the repository at this point in the history
  2. Lower capped RAND generators (AFLplusplus#2671)

    * Lower capped rand generators
    
    * Updated all references to RAND generators
    
    * Formatting updates
    
    * New RAND bytes generator constructor
    
    * Revert "Updated all references to RAND generators"
    
    This reverts commit 9daad89.
    
    * Revert "Formatting updates"
    
    This reverts commit ff2a61a.
    
    * cargo nightly format
    
    * Added must_use to with_min_size
    CowBoy4mH3LL authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    fd4bc2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a94ac6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42a8a68 View commit details
    Browse the repository at this point in the history
  5. LibAFL_QEMU: Don't return a generic Address from Register reads (AFLp…

    …lusplus#2681)
    
    * LibAFL_QEMU: Make ReadReg always return GuestReg type
    
    * Don't return a generic address
    
    * fix fuzzers
    
    * fix mips
    domenukk authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    c253bfe View commit details
    Browse the repository at this point in the history
  6. Add DrCovReader to read DrCov files and DrCov dumper and merge utils (A…

    …FLplusplus#2680)
    
    * Add DrCov Reader
    
    * Removed libafl_jumper deps
    
    * Fix DrCovWriter, add dump_drcov_addrs
    
    * Taplo
    
    * Move frida from usize to u64
    
    * DrCov usize=>u64
    
    * Better error print
    
    * More u64
    
    * ?
    
    * debug
    
    * clippy
    
    * clippy
    
    * Add Merge option to DrCovReader
    
    * Add drcov_merge tool
    
    * Move folder around
    
    * DrCov
    
    * More assert
    
    * fmt
    
    * Move around
    
    * Fix print
    
    * Add option to read multiple files/full folders
    domenukk authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    195b20d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1977d7f View commit details
    Browse the repository at this point in the history
  8. Add Intel PT tracing support (AFLplusplus#2471)

    * WIP: IntelPT qemu systemmode
    
    * use perf-event-open-sys instead of bindgen
    
    * intelPT Add enable and disable tracing, add test
    
    * Use static_assertions crate
    
    * Fix volatiles, finish test
    
    * Add Intel PT availability check
    
    * Use LibAFL errors in Result
    
    * Improve filtering
    
    * Add KVM pt_mode check
    
    * move static_assertions use
    
    * Check for perf_event_open support
    
    * Add (empty) IntelPT module
    
    * Add IntelPTModule POC
    
    * partial ideas to implement intel pt
    
    * forgot smth
    
    * trace decoding draft
    
    * add libipt decoder
    
    * use cpuid instead of reading /proc/cpuinfo
    
    * investigating nondeterministic behaviour
    
    * intel_pt module add thread creation hook
    
    * Fully identify deps versions
    
    Cargo docs: Although it looks like a specific version of the crate, it actually specifies a range of versions and allows SemVer compatible updates
    
    * Move mem image to module, output to file for debug
    
    * fixup! Use static_assertions crate
    
    * Exclude host kernel from traces
    
    * Bump libipt-rs
    
    * Callback to get memory as an alterantive to image
    
    * WIP Add bootloader fuzzer example
    
    * Split availability check: add availability_with_qemu
    
    * Move IntelPT to observer
    
    * Improve test docs
    
    * Clippy happy now
    
    * Taplo happy now
    
    * Add IntelPTObserver boilerplate
    
    * Hook instead of Observer
    
    * Clippy & Taplo
    
    * Add psb_freq setting
    
    * Extremely bad and dirty babyfuzzer stealing
    
    * Use thread local cell instead of mutex
    
    * Try a trace diff based naive feedback
    
    * fix perf aux buffer wrap handling
    
    * Use f64 for feedback score
    
    * Fix clippy for cargo test
    
    * Add config format tests
    
    * WIP intelpt babyfuzzer with fork
    
    * Fix not wrapped tail offset in split buffer
    
    * Baby PT with raw traces diff working
    
    * Cache nr_filters
    
    * Use Lazy_lock for perf_type
    
    * Add baby_fuzzer_intel_pt
    
    * restore baby fuzzer
    
    * baby_fuzzer with block decoder
    
    * instruction decoder instead of block
    
    * Fix after upstream merge
    
    * OwnedRefMut instead of Cow
    
    * Read mem directly instead of going through files
    
    * Fix cache lifetime and tail update
    
    * clippy
    
    * Taplo
    
    * Compile caps only on linux
    
    * clippy
    
    * Fail compilation on unsupported OSes
    
    * Add baby_fuzzer_intel_pt to CI
    
    * Cleanup
    
    * Move intel pt + linux check
    
    * fix baby pt
    
    * rollback forkexecutor
    
    * Remove unused dep
    
    * Cleanup
    
    * Lints
    
    * Compute an edge id instead of using only block ip
    
    * Binary only intelPT POC
    
    * put linux specific code behind target_os=linux
    
    * Clippy & Taplo
    
    * fix CI
    
    * Disable relocation
    
    * No unwrap in decode
    
    * No expect in decode
    
    * Better logging, smaller aux buffer
    
    * add IntelPTBuilder
    
    * some lints
    
    * Add exclude_hv config
    
    * Per CPU tracing and inheritance
    
    * Parametrize buffer size
    
    * Try not to break commandExecutor API pt.1
    
    * Try not to break commandExecutor API pt.2
    
    * Try not to break commandExecutor API pt.3
    
    * fix baby PT
    
    * Support on_crash & on_timeout callbacks for libafl_qemu modules (AFLplusplus#2620)
    
    * support (unsafe) on_crash / on_timeout callbacks for modules
    
    * use libc types in bindgen
    
    * Move common code to bolts
    
    * Cleanup
    
    * Revert changes to backtrace_baby_fuzzers/command_executor
    
    * Move intel_pt in one file
    
    * Use workspace deps
    
    * add nr_addr_filter fallback
    
    * Cleaning
    
    * Improve decode
    
    * Clippy
    
    * Improve errors and docs
    
    * Impl from<PtError> for libafl::Error
    
    * Merge hooks
    
    * Docs
    
    * Clean command executor
    
    * fix baby PT
    
    * fix baby PT warnings
    
    * decoder fills the map with no vec alloc
    
    * WIP command executor intel PT
    
    * filter_map() instead of filter().map()
    
    * fix docs
    
    * fix windows?
    
    * Baby lints
    
    * Small cleanings
    
    * Use personality to disable ASLR at runtime
    
    * Fix nix dep
    
    * Use prc-maps in babyfuzzer
    
    * working ET_DYN elf
    
    * Cleanup Cargo.toml
    
    * Clean command executor
    
    * introduce PtraceCommandConfigurator
    
    * Fix clippy & taplo
    
    * input via stdin
    
    * libipt as workspace dep
    
    * Check kernel version
    
    * support Arg input location
    
    * Reorder stuff
    
    * File input
    
    * timeout support for PtraceExec
    
    * Lints
    
    * Move out method not needing self form IntelPT
    
    * unimplemented
    
    * Lints
    
    * Move intel_pt_baby_fuzzer
    
    * Move intel_pt_command_executor
    
    * Document the need for smp_rmb
    
    * Better comment
    
    * Readme and Makefile.toml instead of build.rs
    
    * Move out from libafl_bolts to libafl_intelpt
    
    * Fix hooks
    
    * (Almost) fix intel_pt command exec
    
    * fix intel_pt command exec debug
    
    * Fix baby_fuzzer
    
    * &raw over addr_of!
    
    * cfg(target_os = "linux")
    
    * bolts Cargo.toml leftover
    
    * minimum wage README.md
    
    * extract join_split_trace from decode
    
    * extract decode_block from decode
    
    * add 1 to `previous_block_ip` to avoid that all the recursive basic blocks map to 0
    
    * More generic hook
    
    * fix windows
    
    * Update CI, fmt
    
    * No bitbybit
    
    * Fix docker?
    
    * Fix Apple silicon?
    
    * Use old libipt from crates.io
    
    ---------
    
    Co-authored-by: Romain Malmain <[email protected]>
    Co-authored-by: Dominik Maier <[email protected]>
    3 people authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5817241 View commit details
    Browse the repository at this point in the history
  9. libafl-fuzz: introduce nyx_mode (AFLplusplus#2503)

    * add nyx_mode
    
    * fix frida ci?
    
    * damn clippy
    
    * clippy
    R9295 authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    6c0ef01 View commit details
    Browse the repository at this point in the history
  10. LibAFL: Remove tui_monitor from default features (AFLplusplus#2685)

    * No Usermode default
    
    * no tui
    
    * gg
    
    * try fix CI
    
    * fmt
    
    ---------
    
    Co-authored-by: Dominik Maier <[email protected]>
    2 people authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    3854a2e View commit details
    Browse the repository at this point in the history
  11. Actually make ConstMapObserver work, introduce nonnull_raw_mut macro (

    AFLplusplus#2687)
    
    * Actually make ConstMapObserver work
    
    * fixes
    
    * does that work?
    
    * mas
    domenukk authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    e49c718 View commit details
    Browse the repository at this point in the history
  12. Feature: libafl-fuzzfuzzbench (AFLplusplus#2689)

    * fuzzbench
    
    * clippy
    
    * fmt
    
    * fix unicorn CI?
    R9295 authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    20756b2 View commit details
    Browse the repository at this point in the history
  13. Move bitfields to bitbybit (AFLplusplus#2688)

    * move to bitbybit
    
    * Restore bitbybit dependent code
    
    * Clippy
    Marcondiro authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    02c0b03 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    36bbdb7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    492836b View commit details
    Browse the repository at this point in the history
  16. Fix versions in libafl and libafl_intelpt for crates.io (AFLplusplus#…

    …2693)
    
    * Fix versions in libafl and libafl_intelpt for crates
    
    * Add libafl_intelpt to publish
    andreafioraldi authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    73bd3f7 View commit details
    Browse the repository at this point in the history
  17. StdMOptMutator::new: remove unused type parameter (AFLplusplus#2695)

    `I` is unused in `::new` and thus requires callers to explicitly specify
    any type as it can't be determined by type inference.
    
    Clippy's `extra_unused_type_parameters` should pick this up, but is
    tuned a bit too conservative in order to avoid false positives AFAICT.
    Mrmaxmeier authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    d8cf47c View commit details
    Browse the repository at this point in the history
  18. Move test_harness from source directory to OUT_DIR (AFLplusplus#2694)

    * remove test_harness from source directory
    
    * fmt
    mineo333 authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    9c67cc7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7acc3a1 View commit details
    Browse the repository at this point in the history
  20. libafl-fuzz: fix cmplog running on inputs more than once (AFLplusplus…

    …#2697)
    
    * libafl-fuzz: fix cmplog running on inputs more than once
    
    * fmt
    
    * fix afl++ cmplog header
    
    * update to latest afl stable commit
    R9295 authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    9f195ff View commit details
    Browse the repository at this point in the history
  21. Libafl workspace internal deps in workspace Cargo.toml (AFLplusplus#2691

    )
    
    * Add internal deps to workspace
    
    * libafl: use workspace internal deps
    
    * libafl_bolts: use workspace internal deps
    
    * 0.14.0
    
    * use workspace internal deps
    Marcondiro authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    ce436ea View commit details
    Browse the repository at this point in the history
  22. Fix tui monitor for example fuzzers (AFLplusplus#2699)

    * Fix tui monitor for example fuzzers
    
    * New clippy lint
    
    * fix
    domenukk authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    a87ad76 View commit details
    Browse the repository at this point in the history
  23. Update pyo3-build-config requirement from 0.22.3 to 0.23.1 (AFLpluspl…

    …us#2701)
    
    Updates the requirements on [pyo3-build-config](https://github.com/pyo3/pyo3) to permit the latest version.
    - [Release notes](https://github.com/pyo3/pyo3/releases)
    - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md)
    - [Commits](PyO3/pyo3@v0.22.3...v0.23.1)
    
    ---
    updated-dependencies:
    - dependency-name: pyo3-build-config
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    29f47cd View commit details
    Browse the repository at this point in the history
  24. bolts: fix build for tiers 3 platforms. (AFLplusplus#2700)

    cater to platforms knowingly support this feature instead.
    devnexen authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    8897b5e View commit details
    Browse the repository at this point in the history
  25. Pre init module hooks (AFLplusplus#2704)

    * differenciate pre qemu init and post qemu init hooks
    
    * api breakage: Emulator::new_with_qemu is not public anymore.
    rmalmain authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    7526f2b View commit details
    Browse the repository at this point in the history
  26. Fix edge module generators (AFLplusplus#2702)

    * fix generators
    rmalmain authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    80cb547 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9cf1420 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    654f3ce View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    686e7e3 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0c49e50 View commit details
    Browse the repository at this point in the history
  31. Batched timeout doc (AFLplusplus#2716)

    * timeout doc
    
    * clp
    
    * FMT
    tokatoka authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    a85798a View commit details
    Browse the repository at this point in the history
  32. More batched timeout doc (AFLplusplus#2717)

    * timeout doc
    
    * clp
    
    * FMT
    
    * more
    tokatoka authored and riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    33eb001 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    e0a8082 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    9be4407 View commit details
    Browse the repository at this point in the history
  35. renaming variables

    riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    eebdbc7 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    33b7d28 View commit details
    Browse the repository at this point in the history
  37. fixing imports

    riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    95281ac View commit details
    Browse the repository at this point in the history
  38. fixing imports

    riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    9e5fcf4 View commit details
    Browse the repository at this point in the history
  39. renaming more variables

    riesentoaster committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    0dd380e View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    b404d67 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Configuration menu
    Copy the full SHA
    ef79761 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Configuration menu
    Copy the full SHA
    03e9c6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2e3a98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d3ccf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    75bc956 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    ecac53a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81fa4e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dbca0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a3eba6 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Configuration menu
    Copy the full SHA
    b3de26f View commit details
    Browse the repository at this point in the history