• Michael Achenbach's avatar
    Reland "Enable simulating errors to test fuzzer reliability" · 886d7cfe
    Michael Achenbach authored
    This is a reland of 4ad08c82
    
    The reland organizes the different error types in separate functions
    for separate call stacks. Error simulation is also guarded by
    a minimum file size to prevent Clusterfuzz from getting stuck with
    its bad-build check.
    
    Original change's description:
    > Enable simulating errors to test fuzzer reliability
    >
    > This adds a d8 flag --simulate-errors, which on shutdown will cause
    > certain errors. This enables testing the reliability of sanitizers.
    >
    > This will cause a fatal error, a dcheck (if available) or a
    > violation that can be detected with one of the following sanitizers:
    > ASAN, UBSAN, MSAN, CFI.
    >
    > The same flag used in differential fuzzing will cause an error
    > subsumed with the error state "fake_difference".
    >
    > Bug: chromium:1152412
    > Change-Id: I4b36c6fe716797004d634263617d22ca67b05600
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2554999
    > Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#71430}
    
    Bug: chromium:1152412
    Change-Id: I604258b4c1ebd215c26b1de6b2822663f857bf64
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2565125
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71538}
    886d7cfe
v8_suppressions.py 8.21 KB