Commit Graph

  • 9966adbdad Add another ifdef for GNU extension jvoisin 2021-12-23 20:44:45 +0100
  • 769e01fc4b Don't use mallinfo on non-android and non-glibc jvoisin 2021-12-23 18:27:18 +0100
  • 460fef456d only Android 12 is supported Daniel Micay 2021-11-23 15:42:29 -0500
  • 1a650b0317 update copyright notice Daniel Micay 2021-11-11 22:17:56 -0500
  • fa46a7a85d small typo fix Lelmister101 2021-12-05 20:18:18 +0530
  • d8817417cc use compiler extension instead of C11 noreturn Daniel Micay 2021-11-23 15:59:52 -0500
  • 7106bff27f update required dependencies Daniel Micay 2021-11-23 15:53:03 -0500
  • 1bdbb2d3f7 minor typo fix Lelmister101 2021-11-23 16:09:03 +0530
  • a33d2ca97d Fix CPPFLAGS in test Makefile Thibaut Sautereau 2021-11-02 20:22:05 +0100
  • aa94408cc2 fix wording Daniel Micay 2021-10-19 23:52:18 -0400
  • 8f9305df57 Android 12 is supported Daniel Micay 2021-10-08 13:44:28 -0400
  • cc0a1e1736 make hardened malloc vendor ramdisk avaiable anupritaisno1 2021-08-18 20:12:14 +0530
  • 3b72a4f810 set C / C++ standard parameter for clang-tidy Daniel Micay 2021-09-30 11:05:47 -0400
  • e41d37c3de remove unnecessary else Daniel Micay 2021-09-30 10:57:05 -0400
  • 23969727d8 disable readability-function-cognitive-complexity Daniel Micay 2021-09-30 10:55:12 -0400
  • 4d30b491e3 set up dependabot for GitHub Actions Daniel Micay 2021-09-30 01:18:36 -0400
  • 11207a9c98 add GitHub workflow for building and running tests Daniel Micay 2021-09-30 01:09:36 -0400
  • 801e8d959f disable mallinfo2 test for old glibc Daniel Micay 2021-09-30 01:16:10 -0400
  • 8dfea34fc0 current AOSP stable branch is Android 11 QPR3 Daniel Micay 2021-09-05 01:59:45 -0400
  • 4d6456cf58 update libdivide to 5.0.0 Daniel Micay 2021-07-17 14:58:23 -0400
  • be6dde66f9 fix missing include for Intel MPK support Daniel Micay 2021-05-21 09:07:28 -0400
  • e0ecacff45 drop support for legacy C++ versions Daniel Micay 2021-05-21 09:00:39 -0400
  • 050871122b update non-Android max_map_count recommendation Daniel Micay 2021-05-13 19:50:26 -0400
  • 27fcfccb67 make __GLIBC_PREREQ check for mallinfo2 portable Daniel Micay 2021-05-12 22:53:20 -0400
  • 93a87ce30b add new mallinfo2 test to gitignore too Daniel Micay 2021-05-12 21:13:06 -0400
  • da190f1469 mark pvalloc error path as unlikely Daniel Micay 2021-05-12 21:01:13 -0400
  • b0f81365a8 reuse code for aligned allocation API entry points Daniel Micay 2021-05-12 20:59:04 -0400
  • c9820b6e37 mark alloc_aligned_simple error path unlikely Daniel Micay 2021-05-12 20:41:46 -0400
  • f1cdc1e484 remove disconcerting newline Daniel Micay 2021-05-12 20:34:18 -0400
  • 26b74b87bf improve code reuse for malloc API entry points Daniel Micay 2021-05-12 20:28:37 -0400
  • 89faba4232 set errno in malloc_get_state to match glibc Daniel Micay 2021-05-12 20:19:12 -0400
  • a45dacc57b add support for glibc mallinfo2 Daniel Micay 2021-05-12 20:07:15 -0400
  • a71ab1a2eb MREMAP_DONTUNMAP may be usable in realloc Daniel Micay 2021-05-12 10:51:52 -0400
  • 96a322bcbe raise max_map_count recommendation Daniel Micay 2021-05-12 10:32:59 -0400
  • 92a1e456d2 use normal class region size on x86_64 Android Daniel Micay 2021-05-12 05:11:30 -0400
  • 9706f5a311 increase class region size on Android to 2GiB Daniel Micay 2021-05-12 03:06:57 -0400
  • 440489af67 purge memory if munmap fails Daniel Micay 2021-05-12 01:05:39 -0400
  • f9a8e7216b purge slab memory even if using MAP_FIXED fails Daniel Micay 2021-05-12 00:39:36 -0400
  • 5c974bdf82 use region quarantine even if MAP_FIXED call fails Daniel Micay 2021-05-12 00:20:03 -0400
  • 2335f56713 add wrapper function for getting slot count Daniel Micay 2021-05-10 07:04:50 -0400
  • 13a3aa16d0 improve naming of adjust_size_for_canaries Daniel Micay 2021-05-07 04:23:49 -0400
  • 8bfa1a7dd5 use 1 slot for all extended size classes Daniel Micay 2021-05-01 22:10:20 -0400
  • 3952645318 avoid unused variable for some configurations Daniel Micay 2021-03-31 12:12:49 -0400
  • 1d15d34c7e return errors from memory_set_name too Daniel Micay 2021-03-22 14:19:02 -0400
  • 29ffcdf810 portable error reporting for memory API Daniel Micay 2021-03-22 13:59:16 -0400
  • f773a96b59 remove unnecessary sys/mman.h include Daniel Micay 2021-03-22 12:25:22 -0400
  • b84af9b499 add wrapper for madvise Daniel Micay 2021-03-22 12:24:26 -0400
  • 73b78a8adb document madvise for malloc_trim of quarantines Daniel Micay 2021-03-21 19:29:46 -0400
  • e77ffa76d9 add initial malloc_trim slab quarantine purging Daniel Micay 2021-03-21 19:27:48 -0400
  • 86b0b3e452 fix !CONFIG_EXTENDED_SIZE_CLASSES configuration Daniel Micay 2021-03-21 18:09:02 -0400
  • 7b03b5c629 update README for region quarantine change Daniel Micay 2021-03-18 07:35:38 -0400
  • db21ecd529 use longer default region quarantine random array Daniel Micay 2021-03-18 06:27:46 -0400
  • ee55acf116 update libdivide to 4.0.0 Daniel Micay 2021-03-09 02:38:16 -0500
  • a3b4c163eb drop unused header Daniel Micay 2021-03-05 00:35:10 -0500
  • 325b82f1bd update to Android qpr2 branch as minimum Daniel Micay 2021-03-01 16:52:08 -0500
  • ddd14bc421 avoid type comparison warning on some platforms Daniel Micay 2021-02-16 17:18:06 -0500
  • 29b09648d6 avoid undefined clz and shift in edge cases Daniel Micay 2021-02-16 08:18:44 -0500
  • 1984cb3b3d malloc_object_size: avoid fault for invalid region Thibaut Sautereau 2021-02-10 09:55:09 +0100
  • 76860c72e1 malloc_usable_size: clean abort on invalid region Thibaut Sautereau 2021-02-10 09:25:55 +0100
  • 5c8b686370 update copyright notice Daniel Micay 2021-01-06 20:38:40 -0500
  • 5275563252 fix C++ sized deallocation check false positive Daniel Micay 2021-01-06 00:12:17 -0500
  • e9d9f70ad4 update supported Android 11 branch Daniel Micay 2020-12-07 18:14:25 -0500
  • 10c5d61187 work around glibc bug in mallinfo test Daniel Micay 2020-11-10 14:14:08 -0500
  • b90f650153 fix sized deallocation check with large sizes Daniel Micay 2020-11-10 13:53:32 -0500
  • 8d0314295e support Android's logging system for fatal_error Daniel Micay 2020-10-19 07:25:15 -0400
  • b072022022 perform init sanity checks before MPK unsealing Daniel Micay 2020-10-06 17:34:35 -0400
  • 2bb1c39d31 add MPK support for stats retrieval functions Daniel Micay 2020-10-06 17:32:25 -0400
  • 0bf18b7c26 optimize malloc_usable_size enforce_init Daniel Micay 2020-10-03 15:10:07 -0400
  • 178d4f320f harden checks for uninitialized usage Daniel Micay 2020-10-02 15:04:41 -0400
  • b9ebf47c7c explicitly use python3 to run tests Daniel Micay 2020-09-19 09:40:41 -0400
  • 8906c0941a improve mallinfo test Daniel Micay 2020-09-18 11:38:06 -0400
  • 59e174eee0 update stats documentation Daniel Micay 2020-09-17 17:44:01 -0400
  • 483b1d7b8b empty malloc_info output when stats are disabled Daniel Micay 2020-09-17 17:40:19 -0400
  • 96eca21ac5 remove thread_local macro workaround glibc < 2.28 Daniel Micay 2020-09-17 17:37:49 -0400
  • 022b64791e whitespace fixes Daniel Micay 2020-09-17 17:23:13 -0400
  • b4bbd09f07 change label for quarantined large allocations Daniel Micay 2020-09-17 16:54:50 -0400
  • a88305c01b support disabling region quarantine Daniel Micay 2020-09-17 16:51:16 -0400
  • 85c5c3736c add stats tracking to special large realloc paths Daniel Micay 2020-09-17 16:29:13 -0400
  • 96a9bcf3a1 move deprecated glibc extensions to the bottom Daniel Micay 2020-09-17 16:20:05 -0400
  • 41fb89517a simplify malloc_info code Daniel Micay 2020-09-17 16:09:45 -0400
  • 50e0f1334c add is_init check to malloc_info Daniel Micay 2020-09-17 16:07:10 -0400
  • 9fb2791af2 add is_init check to h_mallinfo_arena_info Daniel Micay 2020-09-17 16:00:03 -0400
  • 8974af86d1 hardened malloc: iterate -> malloc_iterate anupritaisno1 2020-09-15 01:33:53 +0000
  • d203d6c445 Android.bp: export hardened malloc headers anupritaisno1 2020-09-14 09:10:27 +0000
  • 9f5e1f6eb9 master is only going to support Android 11 Daniel Micay 2020-09-14 05:57:39 -0400
  • 1cba254452 move external API to include directory Daniel Micay 2020-09-14 05:52:53 -0400
  • 730f148647 Android.bp: make hardened malloc ramdisk available anupritaisno1 2020-09-13 08:56:39 +0000
  • dd7291ebfe better wording for page size mismatch error Daniel Micay 2020-08-05 18:10:53 -0400
  • bcb93cab63 avoid an ifdef Daniel Micay 2020-08-04 17:22:03 -0400
  • f214bd541a added check for if small allocations are free rwarr627 2020-06-17 19:00:32 -0700
  • 7804e263e9 added tests for if malloc_object_size small allocations are free rwarr627 2020-06-17 18:59:44 -0700
  • de3fb50dcc tests: make no-optimize attribute Clang compatible Daniel Micay 2020-06-17 16:39:50 -0400
  • b404d6da6e fix out-of-memory check in offset test Daniel Micay 2020-06-17 16:27:59 -0400
  • c9c7dca498 use size_t in offset test to fix warning Daniel Micay 2020-06-17 16:26:01 -0400
  • dcc80a01db android10-qpr3-release Daniel Micay 2020-06-16 11:10:13 -0400
  • 722974f4e9 remove trailing whitespace Daniel Micay 2020-06-13 09:59:50 -0400
  • 195bc8c92a added tests for malloc_object_size rwarr627 2020-06-08 19:21:17 -0700
  • 577524798e calculates offset from start for small allocations rwarr627 2020-06-08 19:17:53 -0700
  • 467ba8440f add comment explaining slab cache size Daniel Micay 2020-05-24 09:36:43 -0400
  • 067b3c864f set slab cache sizes based on the largest slab Daniel Micay 2020-05-24 09:31:02 -0400