jvoisin
|
b511696c55
|
clean up includes and remove non-portable includes
This marginally increases the portability of hardened_malloc,
eg. on OSX.
|
2022-02-07 07:14:51 -05:00 |
|
jvoisin
|
943704de7c
|
Remove __pycache__ as well in make clean
|
2022-02-06 18:56:56 -05:00 |
|
jvoisin
|
04a86566c3
|
Don't depend on gcc_s
|
2022-01-28 14:59:58 -05:00 |
|
jvoisin
|
84eadd8568
|
Move memory corruption tests up a directory
|
2022-01-21 15:00:18 -05:00 |
|
jvoisin
|
3fa30842ed
|
Use $(MAKE) instead of make in Makefiles
This will pass the correct flags to the make
invocations.
|
2022-01-17 16:21:00 -05:00 |
|
jvoisin
|
052b756840
|
Fix two warnings
|
2022-01-09 08:50:46 -05:00 |
|
jvoisin
|
001eb0687b
|
Fix an unused parameter warning
|
2022-01-04 12:16:53 -05:00 |
|
jvoisin
|
78cbb964d4
|
Add alloc_size and alloc_align attributes
This should help a bit the compiler to emit better diagnostics and to improve
the correctness of `__builtin_object_size`.
See https://clang.llvm.org/docs/AttributeReference.html#alloc-size
and https://clang.llvm.org/docs/AttributeReference.html#alloc-align
|
2022-01-04 09:45:20 -05:00 |
|
jvoisin
|
36dfed3354
|
Add aarch64 to the CI
|
2022-01-04 09:45:00 -05:00 |
|
jvoisin
|
5f59ee3935
|
Add two tests to check that uninitialized read are zeroed
|
2022-01-03 16:10:01 -05:00 |
|
jvoisin
|
c5be4b1888
|
Fix two mundane clang warnings in the testsuite
|
2022-01-02 08:27:46 -05:00 |
|
jvoisin
|
ffdf7b1ee1
|
Make the testsuite work for read-after-free
This commit makes the testsuite fail if
the read-after-free tests are failing, instead
of simply printing some info.
|
2022-01-02 08:25:08 -05:00 |
|
jvoisin
|
2d56c1de01
|
Fix a couple of mundane typo in the readme
|
2022-01-02 08:20:13 -05:00 |
|
jvoisin
|
3878f4a5f4
|
Don't ignore the return value of the testsuite
|
2022-01-02 00:55:21 -05:00 |
|
jvoisin
|
9142a9376b
|
Add a bunch of const qualifiers
|
2021-12-30 21:25:16 -05:00 |
|
jvoisin
|
cff1d6d4b5
|
Add a test to prove that hardened_malloc handles too-large-to-be-true allocations
This pattern, used by https://github.com/kaist-hacking/HardsHeap,
uncovered bugs in other memory allocators.
|
2021-12-28 19:47:05 -05:00 |
|
jvoisin
|
75952581ee
|
Silence a GCC warning
As suggested in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c34
|
2021-12-27 06:22:32 -05:00 |
|
jvoisin
|
a84d3f5310
|
Run the testsuite on musl as well in the CI
|
2021-12-27 06:22:32 -05:00 |
|
jvoisin
|
0655c1d024
|
Add a missing const
|
2021-12-26 18:19:59 -05:00 |
|
jvoisin
|
2b25c791ee
|
Run the CI every day at 2am UTC
This should help to catch issues in newer versions
of distributions/packages.
|
2021-12-26 17:02:51 -05:00 |
|
jvoisin
|
e816c545ea
|
Run the CI in clang
|
2021-12-26 16:29:18 -05:00 |
|
jvoisin
|
06192ae499
|
make clean is now thorough
|
2021-12-26 16:28:03 -05:00 |
|
jvoisin
|
9966adbdad
|
Add another ifdef for GNU extension
|
2021-12-23 14:45:43 -05:00 |
|
jvoisin
|
769e01fc4b
|
Don't use mallinfo on non-android and non-glibc
|
2021-12-23 14:38:29 -05:00 |
|