j-montgomery / freestanding_sanitizers Goto Github PK
View Code? Open in Web Editor NEWFreestanding sanitizers that can be used anywhere
License: MIT License
Freestanding sanitizers that can be used anywhere
License: MIT License
The following UBSAN APIs are either misnamed or missing from the current implementation:
The following interface functions are missing from the current implementation. As user-code may implement these, they're part of the public API libfreesan has to implement as well.
It'd be best if we could somehow port the ubsan tests already used by compiler-rt. Alternatively, continue with the current system of manually written tests.
As an example, -DSANITIZER_CONFIG_BACKTRACE_ENABLE=0 may be set to disable backtrace usage on linux systems.
The README was not updated before merging #3. Oops.
There is no written documentation on how say, an embedded developer might integrate libfreesan into their bare metal system and make use of it.
switch statements in the ubsan handlers do not implement default case statements in places where we're relying on the compiler to provide us with one of a finite number of object types. However, the compiler isn't smart enough to realize that it's enforcing its own rules and can throw an error if the library is built with overly strict settings. libfreesan should provide a default case statement to deal with those cases gracefully.
Older versions of Clang and somewhat newer GCCs (e.g. <= v9.x) implement type mismatch as
__ubsan_handle_type_mismatch()
instead of the corresponding *_v1 APIs. To improve backwards compatibility, libfreesan should support the older APIs:
The primary use case for libfreesan is targets that do not have support for the sanitizer library that normally ships with the compiler. Many of these targets also lack access to correctly implemented standard libraries. Basic (albeit slow) implementations should be optionally provided to help integrate libfreesan in these difficult environments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.