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

Replay allocators #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Replay allocators #52

wants to merge 2 commits into from

Commits on Sep 25, 2024

  1. Encapsulate PRNG usage

    Allow for us to more easily change the PRNG representation.
    
    At startup run the PRNG a few times to reduce initial correlation in bottom bits.  Ultimately, we should update the PRNG to something better.
    mjp41 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    8378b0f View commit details
    Browse the repository at this point in the history
  2. Add a replay allocator for ABA

    Asan delays reallocation to increase the likelyhood of catching a UAF.  This adds a simple free list allocator
    that tries to reuse allocations quickly to increase the chance of an ABA problem being detected.
    mjp41 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2bc2acc View commit details
    Browse the repository at this point in the history