mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Implement more security stuff
- Support deterministic stacks on OpenBSD - Support OpenBSD system call origin verification - Fix overrun by one in chibicc string token allocator - Get all chibicc tests passing under Address Sanitizer
This commit is contained in:
parent
cbfd4ccd1e
commit
c843243322
56 changed files with 376 additions and 245 deletions
|
@ -17,6 +17,7 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/limits.h"
|
||||
#include "libc/rand/rand.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/str/tpenc.h"
|
||||
|
@ -45,7 +46,7 @@ TEST(tpenc, testBeyondTheStandard) {
|
|||
}
|
||||
|
||||
uint64_t Tpenc(int x) {
|
||||
return (v = tpenc(VEIL("r", x)));
|
||||
return (v = EXPROPRIATE(tpenc(VEIL("r", x))));
|
||||
}
|
||||
|
||||
BENCH(tpenc, bench) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue