Add an EffectiveSan (Effective Type Sanitizer) CI job to detect sub-object overflows and type errors #23393

issue practicalswift opened this issue on October 30, 2021
  1. practicalswift commented at 9:03 AM on October 30, 2021: contributor

    Add an EffectiveSan (Effective Type Sanitizer) CI job to detect sub-object overflows (bounds errors within the same object) and type errors (accessing memory using the wrong type).

    Q: Why do we need EffectiveSan when we already have AddressSanitizer?

    AddressSanitizer is a popular tool for detecting memory errors such as bounds overflows and use-after-free errors. EffectiveSan can also detect these kinds of errors, as well as other classes of error that AddressSanitizer cannot detect, such as:

    • Sub-object overflows: Bounds errors within the same object. AddressSanitizer can only detect overflows that escape the bounds of the allocation; and
    • Type errors: Accessing memory using the wrong type.

    Unfortunately I'm swamped with way too much non-Bitcoin non-crypto development work for the foreseeable future so realistically I won't have time to add it myself, but I thought I could add an issue for it at least and hope that someone with more Bitcoin Core time can run with the idea :)

  2. fanquake added the label Tests on Nov 1, 2021
  3. willcl-ark commented at 1:35 PM on October 16, 2025: member

    The linked project, whilst potentially looking interesting, has not had any updates in over 4 years, and has only a 0.1-alpha release which appears to point to the 4.0 release of llvm.

    Along with this issue itself having no activity in 5 years, I think we can close this for now due to lack of interest.

    Let me know if you think it should be re-opened, or feel free to open a new issue if this is still important.

  4. willcl-ark closed this on Oct 16, 2025

Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me