Commit Graph

24 Commits

Author SHA1 Message Date
Daniel Micay
05ac717cf2 work around -Wcast-align=strict error with old GCC 2018-10-23 07:23:07 -04:00
Daniel Micay
0b963078d5 guard metadata with Memory Protection Keys (MPK) 2018-10-23 01:11:31 -04:00
Daniel Micay
ac8c68de53 enable pointer cast warnings 2018-10-21 15:50:26 -04:00
Daniel Micay
173ed53539 use consistent code style in chacha.c 2018-10-19 17:09:41 -04:00
Daniel Micay
d728afae8e add configuration option for testing with UBSan 2018-10-14 18:58:54 -04:00
Daniel Micay
3c0a448c3e enable more tidy checks 2018-10-14 18:33:40 -04:00
Daniel Micay
118549451b add tidy target to the Makefile for clang-tidy 2018-10-14 18:05:08 -04:00
Daniel Micay
fa2796a941 Makefile: add missing dependencies 2018-10-07 11:31:07 -04:00
Daniel Micay
3a936295f8 Makefile: split out shared compiler flags 2018-10-05 02:45:40 -04:00
Daniel Micay
e6e9ac1fc9 support replacing C++ new/delete implementation
This adds support for sanity checks based on sized deallocation and will
reduce the overhead of calls through the C++ allocator.
2018-10-05 02:11:29 -04:00
Daniel Micay
ef32a4b7ea add -pipe to CFLAGS 2018-10-04 04:03:48 -04:00
Daniel Micay
49af83a817 wrap mutex type to enable future optimization 2018-09-07 01:13:08 -04:00
Daniel Micay
d398384b90 add header for configuration 2018-09-07 00:17:31 -04:00
Daniel Micay
7e088dc870 add stubs for Android extensions 2018-09-02 05:08:45 -04:00
Daniel Micay
2dd2471b4a enable more linker sanity checks 2018-09-02 02:30:24 -04:00
Daniel Micay
39e81bd486 using -lpthread for linking isn't necessary 2018-09-02 02:13:23 -04:00
Daniel Micay
e4648192c0 split out code for managing page spans 2018-09-02 02:03:39 -04:00
Daniel Micay
99fcddc223 use much faster get_random_{type}_uniform approach 2018-08-30 02:08:05 -04:00
Daniel Micay
1c181557c7 add -fno-plt as an optimization 2018-08-29 15:20:56 -04:00
Daniel Micay
58d929c0f0 split out low-level memory mapping wrappers 2018-08-29 00:53:38 -04:00
Daniel Micay
0e2bc8a1cf make sure RELRO is enabled on every toolchain 2018-08-28 11:44:23 -04:00
Daniel Micay
e72674e358 detect missing symbols when linking 2018-08-28 11:13:17 -04:00
Daniel Micay
c41e659383 use ChaCha8-based CSPRNG 2018-08-25 23:24:00 -04:00
Daniel Micay
70d61b6662 initial commit 2018-08-23 15:42:41 -04:00