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

Term with payloads #280

Draft
wants to merge 210 commits into
base: main
Choose a base branch
from
Draft

Term with payloads #280

wants to merge 210 commits into from

Commits on Sep 11, 2023

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

Commits on Sep 12, 2023

  1. MakeMessage and BitFlip mutations

    TODOs:
     - correctly evaluate any sub-term in MakeMessage
     - modify evaluate for terms and replace found payloads_0 by payloads
    LCBH committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c4cf1cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26077c2 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    99d2aed View commit details
    Browse the repository at this point in the history
  2. Add openssl 312

    maxammann committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    529b7ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a00d80 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    82cc4d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    7bfa5fd View commit details
    Browse the repository at this point in the history
  2. two types of evaluation

    LCBH committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    97ed6d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47a73bf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e00f229 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Add cross-platform RNG

    maxammann committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    29d7a54 View commit details
    Browse the repository at this point in the history
  2. Set lib dir

    maxammann committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    c20f4cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e62dbf View commit details
    Browse the repository at this point in the history
  4. Add leak test

    maxammann committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    b7be0a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f147e3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50852b8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5974259 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

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

Commits on Sep 19, 2023

  1. new input.input() implem, trace can be executed with the new architec…

    …ture, fully tested (in seeds.rs)
    LCBH committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    b37b56f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    185f19b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0848ef9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1d5223 View commit details
    Browse the repository at this point in the history
  5. rustfmt pass

    LCBH committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    29b8dd5 View commit details
    Browse the repository at this point in the history
  6. fix error in puffin tests

    LCBH committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    c58d3c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    aca4f76 View commit details
    Browse the repository at this point in the history
  2. refine choose_term: exclude subterms of non-symbolic, possibly exclud…

    …e sup-terms of non-symbolic, fix many bugs, test to investigate mutation failures
    
    TODO: clear understanding of which mutations and replacement can fail
    LCBH committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    729c511 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. refine opaque filtering for MakeMessage + refine encoding implem with…

    … Countable trait + various fixes
    LCBH committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    3a7c526 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. clewan up MakeMessage::mutate

    LCBH committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    5a6f2ad View commit details
    Browse the repository at this point in the history
  2. refine choose_term for MakeMessage, excluding the inside of list funt…

    …ion symbolc like fn_append
    LCBH committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    d5a4609 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    c13067e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cb7496 View commit details
    Browse the repository at this point in the history
  3. some refactoring

    LCBH committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    eaf765a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Configuration menu
    Copy the full SHA
    0e853ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27b52d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

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

Commits on Oct 4, 2023

  1. new algo for eval/replace_payloads but replace_payloads should be rew…

    …orked as it does not well handle multiple payloads reaplcements inducing indices shifts
    LCBH committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8fff177 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. minor

    LCBH committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    2a41054 View commit details
    Browse the repository at this point in the history
  2. minor

    LCBH committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    2cd65ef View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. new algorithm for term evaluation, much more robust but assuming we n…

    …ever MakeMEssage a term that is not fullly symbolic (i.e., that has some payload in sub-terms), many tests!
    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e494efe View commit details
    Browse the repository at this point in the history
  2. typos and working on unitests

    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    90dc047 View commit details
    Browse the repository at this point in the history
  3. minor re-archi

    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    a60a61c View commit details
    Browse the repository at this point in the history
  4. debugging level

    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    7196f00 View commit details
    Browse the repository at this point in the history
  5. reduce debugging level

    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    6e0e629 View commit details
    Browse the repository at this point in the history
  6. reduce debugging level

    LCBH committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    942588c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. reduce debugging level

    LCBH committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    9e6a3f8 View commit details
    Browse the repository at this point in the history
  2. reduce debugging level

    LCBH committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    0c48b35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76dc00f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. more logging

    LCBH committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8b182ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34259b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0e956c View commit details
    Browse the repository at this point in the history
  4. remove leaky code

    LCBH committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4e2d797 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

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

Commits on Oct 31, 2023

  1. revert logging fixed config

    LCBH committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    1fda13c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e137353 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db626e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

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

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    120191e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5165b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

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

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    a7f991b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3293fbb View commit details
    Browse the repository at this point in the history
  3. add wolf 564 target

    LCBH committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    9512514 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b09b5e View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. minor

    LCBH committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    2a72eb7 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. openssl deterministic test fails

    LCBH committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f75b0ec View commit details
    Browse the repository at this point in the history
  2. openssl deterministic test fails

    LCBH committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    fcbf53c View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    33c1e1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eebe61c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. minor

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    9399461 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    708fd87 View commit details
    Browse the repository at this point in the history
  3. deterministic tests

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    27b9aaf View commit details
    Browse the repository at this point in the history
  4. fix compilation

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    7b9a734 View commit details
    Browse the repository at this point in the history
  5. boring

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    457fb47 View commit details
    Browse the repository at this point in the history
  6. Revert "boring"

    This reverts commit 457fb47.
    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a6ad02c View commit details
    Browse the repository at this point in the history
  7. fix compilation

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    3597db5 View commit details
    Browse the repository at this point in the history
  8. fix compilation

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    75b9474 View commit details
    Browse the repository at this point in the history
  9. minor

    LCBH committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    f991b9f View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Fix eval_until_opaque to take into account shifts from previous repla…

    …cements. Test test_replace_bitstring_multiple is more complete and now passes!
    LCBH committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    35b8937 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. minor

    LCBH committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    3e02eb5 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Wrapping terms of the form Vec<T> into Wrapper(T) in order to be able…

    … to have a fine-grained control about how it is encoded/read.
    
    Vec<T> is encoded as the series of the encoding of the items (without length prefix). Wrapper(T) is encoded by adding a length prefix whose teh exact format depends on T/Wrapper. For bit-level mutations, this also improves things: (i) mutate Wrapper can mutate the length of the list, mutate Vec<T> can alter the structure of the encoded vector and (ii) we can more easily find where to replace payloads when scanning sub-terms of the form Vec<T>.
    
    - impacted/new types: Compressions, CipherSuites, ClientExtensions, ServerExtensions, HelloRetryExtensions, CertificateEntries.
    - rustls::msgs:message.rs now uses those new encode/read implems for those types
    - adding to the signature symbols/functions like fn_cipher_suites_make that tranform Vec<T> into Wrapper(T)
    - modify seeds and vulns accordingly
    - tests pass, including the new `test_replace_bitstring_multiple`
    LCBH committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4f55940 View commit details
    Browse the repository at this point in the history
  2. fix compilation and test issues

    LCBH committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9d31788 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/main' into termWithPayloads

    # Conflicts:
    #	puffin/Cargo.toml
    #	tlspuffin/Cargo.toml
    #	tlspuffin/src/tcp/mod.rs
    LCBH committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fd00bed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7062b9d View commit details
    Browse the repository at this point in the history
  5. fix test issue for puffin

    LCBH committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8f568a7 View commit details
    Browse the repository at this point in the history
  6. fix test issue for puffin

    LCBH committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1a4bc6a View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    f0ed05d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfa957b View commit details
    Browse the repository at this point in the history
  3. fix merge

    LCBH committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    32aa091 View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    LCBH committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    a4b174d View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. feat(openssl): implement non-clear mode for OpenSSL PUT

    During PUT OpenSSL initialization a confusing message about the
    non-availability of clear mode is logged, but only when clear mode is NOT
    selected. In fact, the OpenSSL PUT only implements clear mode rather than a
    full reset of the agents.
    
    This is confusing on two levels:
    - the message hints that a full reset of OpenSSL agents is always performed but
      they are, on the contrary, always soft reset.
    - the process continues with the soft reset without making it clear to the user
      that the option they have selected won't be applied.
    
    We implement the non-clear mode in the OpenSSL PUT to get rid of the message
    altogether.
    
    Fixes: #154
    michaelmera committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    22c7f38 View commit details
    Browse the repository at this point in the history
  2. fix(cli): don't use tlspuffin exit code to convey semantically meanin…

    …gful data
    
    The `tlspuffin execute` command exits with 0 or 1 to signal if there are
    potentially more inputs that were not executed. This has been used for batch
    executions during coverage analysis.
    
    Numerous tools, including the running shell, associate a single meaning to
    non-zero exit code: the command failed to execute in the way intended by the
    caller. Depending on how they are configured, these tools might behave
    differently when they detect a non-zero return code (e.g. bash "set -e").
    
    To avoid any confusion, we instead log the total number of inputs, so that
    calling scripts can still retrieve it without relying on the exit code.
    michaelmera committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    5a3b78d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a35a0fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71aafa5 View commit details
    Browse the repository at this point in the history
  5. fix(tlspuffin): don't generate incompatible seeds when there is no bu…

    …ilt-in PUT
    
    When no PUT is selected at build-time, the `tlspuffin seed` command still
    generates seeds. These seeds are incompatible with the default TCP PUT and
    `tlspuffin execute` fails on this initial corpus.
    
    We fix the `tlspuffin seed` command to make sure that it only generates seeds
    that are compatible with the build-time configuration of tlspuffin.
    michaelmera committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    378c54e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5a5a6c View commit details
    Browse the repository at this point in the history
  7. fix(cli): correct default -n <num> value when running execute on …

    …directories
    
    When the `execute` subcommand is run, it executes by default all input traces
    provided on the command line. This is done by defaulting the `-n <num>` CLI
    argument to the number of provided arguments.
    
    When a directory is part of the command line inputs, all input traces in that
    directory will be executed. Since the number of inputs doesn't match the number
    of arguments on the command line anymore, `execute` will wrongly ignore part of
    the inputs and only run on a subset of the provided inputs.
    
    We fix this inconsistency by using the total number of traces found as default
    value for `-n <num>`.
    michaelmera committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    1e837ae View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    85658f1 View commit details
    Browse the repository at this point in the history
  2. revert fiel removal

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ce9359d View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/main' into termWithPayloads

    # Conflicts:
    #	crates/wolfssl-sys/Cargo.toml
    #	crates/wolfssl-sys/build.rs
    #	tlspuffin/Cargo.toml
    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f7eb670 View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    9c32c73 View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ab9f90a View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    8764c9f View commit details
    Browse the repository at this point in the history
  7. fix conditional use

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f5c73af View commit details
    Browse the repository at this point in the history
  8. fix conditional use

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    5d83b4a View commit details
    Browse the repository at this point in the history
  9. fix conditional use

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    493f82b View commit details
    Browse the repository at this point in the history
  10. fix conditional use

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    be8d808 View commit details
    Browse the repository at this point in the history
  11. fix libssh any_get_encoding

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    da0061e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a3fbd63 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    538fb27 View commit details
    Browse the repository at this point in the history
  14. trace::input: no longer needs to read_bytes, add_to_inbound a directl…

    …y takes a ConcreteMessage
    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ae6f27d View commit details
    Browse the repository at this point in the history
  15. reorder any_get_encoding: first try Message, then OpaqueMessage, then…

    … other types, "more complex" first
    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    83ee84d View commit details
    Browse the repository at this point in the history
  16. fix some tests

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    e3ab337 View commit details
    Browse the repository at this point in the history
  17. fix some tests

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    436e017 View commit details
    Browse the repository at this point in the history
  18. cargo fmt

    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    edbcdcd View commit details
    Browse the repository at this point in the history
  19. fix test_byte_remove_payloads and make_message: allows to make_mutate…

    … a term with non-symbolic strict sub-terms
    LCBH committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    2210094 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    d835b08 View commit details
    Browse the repository at this point in the history
  2. fix test_byte_simple

    LCBH committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    8d96c8b View commit details
    Browse the repository at this point in the history
  3. fix test_byte_interesting

    LCBH committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    d04f493 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. various fixes

    LCBH committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    c5ad418 View commit details
    Browse the repository at this point in the history
  2. fix test_term_eval_payloads and add logging to understand failures, s…

    …till some to investigate
    LCBH committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    d898394 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d70bcb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0951834 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. revert(cli): revert changes to execute command, introduce `execute-…

    …traces` instead
    
    We introduce a new command to avoid breaking coverage workflows. In the future,
    we want to merge these commands but this will require having stable coverage
    scripts first.
    michaelmera committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    d584ec6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54febdf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66df886 View commit details
    Browse the repository at this point in the history
  4. ci: update external actions with Node 16 deprecation warnings

    Github-hosted runners have taken a first step to transition away from Node 16,
    as it is reaching end of life.  As a consequence, a large number of actions
    our CI depends on have been updated to run with Node 20 instead.
    
    This commit updates to these new versions.
    
    - see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
    michaelmera committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    0e12244 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de3fd60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f1929c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d94ed53 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9b0246c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d55b883 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4b89495 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    310f93b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b581b8a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5a14c74 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    265caea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e93471b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9809f08 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/main' into termWithPayloads

    # Conflicts:
    #	puffin/src/cli.rs
    #	tlspuffin/src/integration_tests/mutations.rs
    LCBH committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    08c490d View commit details
    Browse the repository at this point in the history
  5. Fix merge error + fmt check

    LCBH committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    be7e1f6 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/boringssl' into termWithPayloads

    # Conflicts:
    #	crates/openssl-src-111/src/deterministic_rand.c
    #	tlspuffin/src/boringssl/deterministic.rs
    #	tlspuffin/src/boringssl/mod.rs
    #	tlspuffin/src/integration_tests/determinism.rs
    #	tlspuffin/src/openssl/deterministic.rs
    #	tlspuffin/src/openssl/mod.rs
    #	tlspuffin/src/tls/seeds.rs
    LCBH committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    4f176ae View commit details
    Browse the repository at this point in the history
  7. Fix merge error + fmt check

    LCBH committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0035e05 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    806ebb4 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    3b8da71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f31061e View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

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

Commits on Mar 29, 2024

  1. Add new heuristic to find_unique_match_rec: address cases where to_se…

    …arch is found multiple times in siblings or parent's header. Optimize searching by preventing looping back.
    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    954f596 View commit details
    Browse the repository at this point in the history
  2. reorga

    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    db61f86 View commit details
    Browse the repository at this point in the history
  3. using Cow instead custom enum

    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    de025b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    75ed082 View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    8665a53 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/boringssl' into termWithPayloads

    # Conflicts:
    #	tlspuffin/src/openssl/deterministic.rs
    #	tlspuffin/src/openssl/mod.rs
    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    b4107ab View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'michaelmera/improve-ci' into termWithPa…

    …yloads
    
    # Conflicts:
    #	.github/workflows/on_main_push.yml
    #	.github/workflows/on_pull_request.yml
    #	crates/openssl-src-111/src/openssl.rs
    #	puffin/src/cli.rs
    #	tlspuffin/src/openssl/mod.rs
    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    54b489a View commit details
    Browse the repository at this point in the history
  8. fix merge

    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    6207fde View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2937adb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9256ca4 View commit details
    Browse the repository at this point in the history
  11. condition det test

    LCBH committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    5df43f5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b7eb7d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. fix merge

    LCBH committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    874547d View commit details
    Browse the repository at this point in the history
  2. minor

    LCBH committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    cc4903a View commit details
    Browse the repository at this point in the history
  3. debug messages

    LCBH committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    61b4685 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'michaelmera/main' into termWithPayloads

    # Conflicts:
    #	crates/openssl-src-111/src/openssl.rs
    LCBH committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    a22b4fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c66131a View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. improve debugging messages

    LCBH committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    fb3bfc8 View commit details
    Browse the repository at this point in the history
  2. add opaque symbols

    LCBH committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    e04e79f View commit details
    Browse the repository at this point in the history
  3. fix 2 bugs in find_unique_match

    LCBH committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    55055af View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/main' into termWithPayloads

    # Conflicts:
    #	tlspuffin/src/openssl/deterministic.rs
    LCBH committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    466d1d3 View commit details
    Browse the repository at this point in the history
  5. cargo fnt

    LCBH committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    9113a9a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Merge remote-tracking branch 'origin/main' into termWithPayloads

    # Conflicts:
    #	puffin/src/cli.rs
    #	puffin/src/experiment.rs
    #	puffin/src/fuzzer/harness.rs
    #	puffin/src/trace.rs
    #	sshpuffin/src/libssh/mod.rs
    #	sshpuffin/src/protocol.rs
    #	tlspuffin/src/integration_tests/mutations.rs
    #	tlspuffin/src/tcp/mod.rs
    #	tlspuffin/src/tls/seeds.rs
    LCBH committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    a60140e View commit details
    Browse the repository at this point in the history
  2. make_message takes a put_registry + add_to_inbound does not own…

    … the `ConcreteMessage`
    
     -  make_message relies on a `put_registry: &'a PutRegistry<PB>` --> propagate this dependency up to `libafl_setup::start`
    
     - `Stream::add_to_inbound` does not need to take ownership to the ConcreteMessage to send to the PUT, pass it as a ref instead
    LCBH committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    9073123 View commit details
    Browse the repository at this point in the history
  3. fix libssh for HEAD~1

    LCBH committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    d65e589 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Fix heuristic 2 and heuristic 3

    - there was a bug at the end of heuristic 2: we fel back to heuristic 3 even when heuristic 2 was successful
    - there was a bug in heuristic 3: when the sibling (eval_relative) was on the right, we forgot to subtract to_search.len() to the position
    LCBH committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    52a6d3b View commit details
    Browse the repository at this point in the history
  2. Missing opaque function symbol

    LCBH committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    924fbb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b08030 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Fix find_unique_match heuristic 3

    find_relative_node now returns `shift_ancestor_to_search:usize`: this can be non-zero when p is not a sibling but a sibling of an ancestor of to_search.
    It then corresponds to the position of `to_search` relatively to the evaluation of this ancestor.
    This can happen for example for append(f, fn_support_group_extension(to_search)) when relative node is f and fn_support_group_extension add some headers in front of to_search. shift_ancestor_to_search will be the length of this header.
    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b7b540e View commit details
    Browse the repository at this point in the history
  2. Fix MakeMessage: never chooses a non-symbolic term to mutate

    However, we end up with inconsistent payload replacements. Example: fn_true -> MakeMessage -> BitFlip -> MakeMessage with payload_0 = 0 instead of 1.
    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    5e2eb00 View commit details
    Browse the repository at this point in the history
  3. Fix silly bug in Heuritstic 2

    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    162c3dd View commit details
    Browse the repository at this point in the history
  4. Make sure fn_hello_retry_request takes all its argument, no more buil…

    …t-in argument like `HELLO_RETRY_REQUEST_RANDOM` which made replace_payload failed!
    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3ec242a View commit details
    Browse the repository at this point in the history
  5. fix HEAD~1

    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    6a00889 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca88869 View commit details
    Browse the repository at this point in the history
  7. Fix test

    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    143aba8 View commit details
    Browse the repository at this point in the history
  8. Fix HelloRetryRequest reading (version and random were already read i…

    …n the HandShakeMewssage) + Fix mutation tests
    LCBH committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    09d072d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Fix fn_certificate_verify by removing built-in PayloadU16 encoding so…

    … adding fn_payload_u16 + Fix heuristic 2
    LCBH committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    84cafcf View commit details
    Browse the repository at this point in the history
  2. type alias for mutations

    LCBH committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    8538c63 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    0c2cf76 View commit details
    Browse the repository at this point in the history
  2. find_unique_match_rec: Relax heuristic 2 and try to first make it so …

    …window = parent.window
    LCBH committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    2f1c66d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89ab121 View commit details
    Browse the repository at this point in the history
  4. many fn_* symbol function were not "atomic" and had Payload* built-in…

    … encoding, thus failing payloads replacements. Fix most of them. This requires to add several new function symbols.
    LCBH committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    87a90b2 View commit details
    Browse the repository at this point in the history
  5. Fix any_get_encoding that made test_term_eval fails: add new Encode f…

    …or Payload* types (had to use a hacky new trait) add missing types.
    LCBH committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    b5c2923 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    e212e95 View commit details
    Browse the repository at this point in the history
  2. New uni test test_term_read_encode checking term.encode = term.encode…

    ….read.encode. Fix try_read_bytes that made this test fail.
    
    Add custom Codec2::read for several types. Remove the identity function fn_opaque_message and use type filtering instead (adapt seeds). Disable some safety checks to explore more messages; can be enabled with `enable-guards`. Fix some offset issue with reading PayloadU8. New Codec::read for HandshakeHash.
    LCBH committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    bd1576e View commit details
    Browse the repository at this point in the history
  3. oupsi

    LCBH committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    65d0ff6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edf3182 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51e230f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1d221d View commit details
    Browse the repository at this point in the history
  7. test_term_payloads_eval: do not try to add payload if already no exec…

    …utable! Now the test passes.
    LCBH committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    60fda9b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c95b3a View commit details
    Browse the repository at this point in the history
  9. cleaning up the PR

    LCBH committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    50f7d82 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. add option -wo-dy to disable DY mutations (but keep bit-level mutat…

    …ions, in which case MakeMessage only applies to root messages) + better experiment folder formatting
    LCBH committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    157e5e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. fix tests

    LCBH committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    58ace6b View commit details
    Browse the repository at this point in the history
  2. fix tests

    LCBH committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    75d7068 View commit details
    Browse the repository at this point in the history
  3. fix tests

    LCBH committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    a4902db View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

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

Commits on Jun 24, 2024

  1. Add cross-over mutations.

    We made the choice to only allow cross-over between payloads of possibly different traces, which is a bit weaker than merging all payloads of a trace into a single mutable payload before considering crossing over in between traces.
    
    - For the `--no-dy`: this makes no difference and we don't loose mutations.
    - Without `--no-dy`: we consider strictly less expressive mutations but this is a trade off we conscientiously make here.
    LCBH committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    b1bcf99 View commit details
    Browse the repository at this point in the history
  2. minor

    LCBH committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    a4dced6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    29fb130 View commit details
    Browse the repository at this point in the history
  2. Adding a test running all mutations multiple times, making sure they …

    …all can be successfully applied
    LCBH committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    983744c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a65b81 View commit details
    Browse the repository at this point in the history