Commit Graph

  • 88a2740fe3 Add stricter double free checking on large allocs (#550) Matthew Parkinson 2022-09-02 16:53:20 +01:00
  • f8efcb7f10 Use a more portable way to access the configuration. Matthew Parkinson 2022-08-12 15:15:46 +01:00
  • a19ad550e7 Update BUILDING.md (#549) Matthew Parkinson 2022-08-23 11:08:51 +01:00
  • 09bc0c6be7 NFC: external_pointer address_cast earlier Nathaniel Wesley Filardo 2022-07-06 10:40:35 +01:00
  • db3ae1c8e3 NFC: Rename ConceptPAL to IsPAL Nathaniel Wesley Filardo 2022-07-01 12:33:52 +01:00
  • 9e0fefc3b0 NFC: Rename ConceptAAL to IsAAL Nathaniel Wesley Filardo 2022-07-06 10:56:42 +01:00
  • b2c75dffb7 NFC: rename ConceptBound to IsBound Nathaniel Wesley Filardo 2022-07-01 12:30:31 +01:00
  • df1dbc997f Add Morello CI Nathaniel Wesley Filardo 2022-05-25 17:03:50 +01:00
  • 467c28b2d3 Add buffer append method for {,u}intptr_t Nathaniel Wesley Filardo 2022-06-10 15:18:27 +01:00
  • c560a9aa27 Fix wrong ifdef in pal_linux.h (#546) Matthias Wahl 2022-06-17 11:48:27 +02:00
  • 6b0bda01c7 Support older linux systems (#545) Matthias Wahl 2022-06-17 07:16:32 +02:00
  • 3e72ef63ad NFC: cmake: add SNMALLOC_LINK_ICF, default on Nathaniel Wesley Filardo 2022-06-09 02:11:10 +01:00
  • da19291d4e RFC: Add tests for some CHERI-specific behaviors Nathaniel Wesley Filardo 2022-06-07 17:50:57 +01:00
  • 095e8f13db func-malloc: expand CHERI tests to check no-VMEM Nathaniel Wesley Filardo 2022-06-07 17:59:22 +01:00
  • 3fce61eafb docs: Update StrictProvenance Nathaniel Wesley Filardo 2022-06-06 18:40:23 +01:00
  • 1f79c7638a mem/pool: Alloc-bound pooled things Nathaniel Wesley Filardo 2022-06-06 19:08:02 +01:00
  • 94957f0f72 StrictProvenance support in Backend Nathaniel Wesley Filardo 2022-05-31 15:51:31 +01:00
  • 86124ba26c backend ranges: use Arena bounds throughout Nathaniel Wesley Filardo 2022-05-31 15:33:17 +01:00
  • a78a16e637 smallbuddy ranges are only for small things Nathaniel Wesley Filardo 2022-05-31 15:21:28 +01:00
  • 83ac7c691e backend ranges: hide object_range behind accessor Nathaniel Wesley Filardo 2022-05-31 09:29:28 +01:00
  • aa61b59a8f NFC: Generalize smallbuddyrange bounds annotations Nathaniel Wesley Filardo 2022-06-06 23:39:46 +01:00
  • f41bb321f7 RFC: Hide CapPtr constructor Nathaniel Wesley Filardo 2022-06-06 17:40:25 +01:00
  • 41128a3387 NFC: additional generalization for CHERI Nathaniel Wesley Filardo 2022-05-31 15:28:40 +01:00
  • d5b155bf25 NFC: Generalize Default Pagemap Entry Nathaniel Wesley Filardo 2022-05-31 15:49:16 +01:00
  • 966f2f1627 NFC: capptr: re-introduce Arena bounds Nathaniel Wesley Filardo 2022-05-30 22:56:05 +01:00
  • 6a5f3c2b82 NFC: backend_helper: generalize chunk bounds Nathaniel Wesley Filardo 2022-05-31 13:39:11 +01:00
  • e17672d3c1 Missing PRIVATE in cmake. (#539) Matthew Parkinson 2022-06-07 16:13:36 +01:00
  • e7e558badf exposes macOs malloc_good_size (#538) David CARLIER 2022-06-07 16:09:55 +01:00
  • 392acff4d5 RFC, NFC: refactor ranges to be nested templates (#535) Nathaniel Filardo 2022-06-06 12:04:37 +01:00
  • 9464556129 Add a TID to the PAL (#536) Matthew Parkinson 2022-05-31 16:42:17 +01:00
  • 53d9fd2abe Alter PAGE_SIZE usage (#534) Matthew Parkinson 2022-05-31 13:59:42 +01:00
  • 03c9da6aa4 Refactor interface between backend and frontend (#530) Matthew Parkinson 2022-05-31 10:45:04 +01:00
  • 1b8aa6bc0d Haiku build fix post refactoring. David Carlier 2022-05-25 21:08:21 +00:00
  • 7ff10c30f1 Enable accessing parent ranges. (#529) Matthew Parkinson 2022-05-19 21:19:49 +01:00
  • c445de8eb4 Alter FailFast behaviour of memcpy (#526) Matthew Parkinson 2022-05-19 14:20:45 +01:00
  • 87d71cce21 Add a pipe operation to ranges (#527) Matthew Parkinson 2022-05-17 16:34:00 +01:00
  • 888d182bac Check size is correct if specified Matthew Parkinson 2022-05-10 10:45:59 +01:00
  • 967f1f2033 Allow check_client messages to have parameters Matthew Parkinson 2022-05-10 11:33:12 +01:00
  • 22d7c04cb8 debug_check_empty (#521) Matthew Parkinson 2022-05-12 09:37:03 +01:00
  • c4f31bb279 Fix markdown (#522) Jakub Panek 2022-05-10 16:51:59 +02:00
  • d5c732f3c1 Preparation for 0.6.0 (#517) Matthew Parkinson 2022-05-09 13:38:12 +01:00
  • 5906b14586 Out-of-memory can fail silently Matthew Parkinson 2022-05-09 09:46:24 +01:00
  • 2d44ae9db4 Check for allocation failure. Matthew Parkinson 2022-05-08 20:33:39 +01:00
  • 325c013e85 Add some tracing to the backend Matthew Parkinson 2022-05-08 20:33:15 +01:00
  • 9f9964239e Ensure logging doesn't affect errno Matthew Parkinson 2022-05-08 20:32:52 +01:00
  • 14b7b40a82 Add a Stats combiner to make code cleaner. Matthew Parkinson 2022-05-05 11:09:37 +01:00
  • d47c44783d Remove redundant params. Matthew Parkinson 2022-05-05 11:09:14 +01:00
  • 563d5a5cee Make clang on Windows use /Debug Matthew Parkinson 2022-05-03 13:49:05 +01:00
  • d927a9a179 Modified Metadata range to have separate pool Matthew Parkinson 2022-04-29 16:04:31 +01:00
  • 56ccb5c794 Enable memcpy checks for check shim (#515) Matthew Parkinson 2022-05-03 14:26:25 +01:00
  • 3e08caaf32 Simplify asserts introduced in #512. (#513) Robert Norton 2022-04-29 11:33:14 +01:00
  • 70eba1e70b Refill heuristic (#511) Matthew Parkinson 2022-04-28 17:08:27 +01:00
  • f277cf2f00 Refactor capptr_domesticate SFINAE to make more statically safe. Robert Norton 2022-04-27 11:56:16 +01:00
  • bf54eeb7be New option to name reserved pages. David Carlier 2022-04-03 07:54:57 +01:00
  • 848a7b1499 Check things in release builds with check-client. David Chisnall 2022-04-14 09:29:27 +01:00
  • 943bae1b34 Minimal example of #506 Matthew Parkinson 2022-04-11 11:39:29 +01:00
  • 43f5f33913 Fix missing consolidation marker Matthew Parkinson 2022-04-11 11:38:43 +01:00
  • f0361f8c01 Pagemap move (#504) Robert Norton 2022-04-11 13:29:06 +01:00
  • d4226a1ea2 Remove indirection of state in ranges. (#505) David Chisnall 2022-04-11 13:28:03 +01:00
  • f6e9796bbc Introduce header layering (#503) David Chisnall 2022-04-06 09:59:33 +01:00
  • 65ee6b2a2f Refactor MetaSlab / MetaCommon. (#501) David Chisnall 2022-04-01 17:32:53 +01:00
  • ede7dbb3ef Following up using writev/fsync direct syscalls to avoid pthread interpositions (#499) David CARLIER 2022-03-29 13:58:00 +01:00
  • ee70f952d1 Allow POSIX PALs to overwrite writev and fsync. (#495) David Chisnall 2022-03-28 11:53:40 +01:00
  • 6386cd7eca Expose ranges in snmalloc_core. (#496) David Chisnall 2022-03-28 11:11:31 +01:00
  • dec65d1b4a Make MetaCommon state public. David Chisnall 2022-03-25 15:21:16 +00:00
  • deac29c576 CheriBSD renamed VMEM SW perm bit Nathaniel Wesley Filardo 2022-03-13 14:10:28 +00:00
  • 6424edaeaa Stop playing OO games with MetaEntry Nathaniel Wesley Filardo 2022-03-24 13:47:41 +00:00
  • e77b9e2851 Add ConcurrencySafe property Matthew Parkinson 2022-03-23 16:15:57 +00:00
  • bdb3183989 Remove std::cout Matthew Parkinson 2022-03-23 16:13:44 +00:00
  • bb82ac15e3 Add a thread id to messages Matthew Parkinson 2022-03-23 16:11:27 +00:00
  • 821620133d Remove ChunkAllocator Matthew Parkinson 2022-03-23 16:08:53 +00:00
  • 73be8a3786 Fix StatsRange on OE Matthew Parkinson 2022-03-23 16:07:06 +00:00
  • 453a7d57e9 backend: clobber MetaEntry-s in dealloc_chunk Nathaniel Wesley Filardo 2022-03-16 09:43:32 +00:00
  • 2ff2cdf8ff Add test for external pointer on stack Matthew Parkinson 2022-03-17 09:23:46 +00:00
  • 1e1104a11c Fix 32bit external pointer. Matthew Parkinson 2022-03-17 09:47:01 +00:00
  • a0377f62eb Add docs/AddressSpace.md Nathaniel Wesley Filardo 2021-08-02 21:40:18 +01:00
  • 7940fee00c Refactor MetaEntry remote_and_sizeclass Nathaniel Wesley Filardo 2022-03-16 13:02:26 +00:00
  • 772e46f878 Additional commentary and more verbose names Nathaniel Wesley Filardo 2022-03-16 09:57:14 +00:00
  • b5a66131bd Move BACKEND_MARKER to backend/metatypes Nathaniel Wesley Filardo 2022-03-16 09:58:33 +00:00
  • 9d97a38806 Move MetaEntry and MetaCommon to backend Nathaniel Wesley Filardo 2022-03-13 15:43:55 +00:00
  • 6ad7f65d19 Remove unused code. Matthew Parkinson 2022-03-18 14:55:31 +00:00
  • a3c8abc3c3 Switch atomic_flag to atomic_bool Matthew Parkinson 2022-03-18 14:50:58 +00:00
  • a022a75b91 Fix Debug symbols for Windows CI. (#483) Matthew Parkinson 2022-03-20 19:28:03 +00:00
  • 26324e8bfc Add and plumb unsafe_{to,from}_uintptr<T> casts Nathaniel Wesley Filardo 2022-03-17 17:34:26 +00:00
  • 4ad99d7392 Downgrade some casts Nathaniel Wesley Filardo 2022-03-17 17:55:47 +00:00
  • 62cce1a20e backend/largebuddyrange: remove unnecessary casts Nathaniel Wesley Filardo 2022-03-17 17:53:15 +00:00
  • 5287000453 Buddy (#468) Matthew Parkinson 2022-03-11 18:16:06 +00:00
  • a602643fd2 g++ 12 unit test build fix. (#476) David CARLIER 2022-03-07 11:29:59 +00:00
  • 611d4dc617 PowerPC64 memcpy arch tuning Nathaniel Wesley Filardo 2022-03-04 10:28:35 +00:00
  • dec7d9c015 NFC memcpy: move small_copies test to Arch::copy Nathaniel Wesley Filardo 2022-03-04 13:43:25 +00:00
  • 18ccfdecac Refactor memcpy to allow different versions. (#472) David Chisnall 2022-03-04 13:33:11 +00:00
  • cf9b6290c7 Follow-up on #469 for Linux this time, overriding read only pages cod… (#471) David CARLIER 2022-03-04 11:29:11 +00:00
  • 1a75316ba2 madvise arguments are not flags. (#470) David Chisnall 2022-03-03 13:58:37 +00:00
  • 322e74fae3 [FreeBSD] Exclude unused memory from core dumps. (#469) David Chisnall 2022-03-03 11:34:32 +00:00
  • 8fc42d1698 Add Pal::message. (#467) David Chisnall 2022-03-03 09:08:44 +00:00
  • c73846e418 Improve the memcpy implementation. (#466) David Chisnall 2022-03-02 18:11:57 +00:00
  • c27dd10c39 shared lib linkage build fix for OpenBSD. David Carlier 2022-02-15 20:58:39 +00:00
  • 95bd974fb0 Add test helper macros. (#465) David Chisnall 2022-02-25 15:57:28 +00:00
  • 93efbb4807 Refactor error reporting for bounds checks. (#464) David Chisnall 2022-02-25 09:59:51 +00:00
  • 86aa28644c Errno fix (#463) Robert Norton 2022-02-24 10:09:29 +00:00