Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A few more tests | otto | 2023-10-22 | 1 | -1/+15 |
| | |||||
* | We're not interested in the core dump, so prevent it. Also catch | otto | 2023-09-27 | 1 | -3/+17 |
| | | | | | SIGABRT, to avoid the "Abort trap" message, which confuses me sometimes until I realize it's the purpose of this test to abort. | ||||
* | More thorough write-afetr-free checks. | otto | 2023-06-04 | 1 | -6/+21 |
| | | | | | | | | | | | | | | | | | | | On free, chunks (the pieces of a pages used for smaller allocations) are junked and then validated after they leave the delayed free list. So after free, a chunk always contains junk bytes. This means that if we start with the right contents for a new page of chunks, we can *validate* instead of *write* junk bytes when (re)-using a chunk. With this, we can detect write-after-free when a chunk is recycled, not justy when a chunk is in the delayed free list. We do a little bit more work on initial allocation of a page of chunks and when re-using (as we validate now even on junk level 1). Also: some extra consistency checks for recallocaray(3) and fixes in error messages to make them more consistent, with man page bits. Plus regress additions. | ||||
* | Make malloc tests that set flags more robust against the user also | otto | 2023-05-09 | 2 | -15/+19 |
| | | | | having flags set. | ||||
* | Enable malloc_errs test | otto | 2023-05-08 | 1 | -2/+2 |
| | |||||
* | Add a regress test to test various malloc API and heap mismanagement | otto | 2023-05-08 | 2 | -0/+291 |
| | | | | | errors which should cause abort. A few are not enabled yet, they will be once the corresponding diffs in malloc are committed. | ||||
* | Remove double slash in path to test program. | anton | 2022-03-30 | 1 | -9/+9 |
| | |||||
* | Increase the max size of allocations, in prep for a large cache implementation. | otto | 2022-01-09 | 1 | -3/+3 |
| | |||||
* | A few more flag combo's to test | otto | 2021-02-12 | 1 | -2/+14 |
| | |||||
* | Set malloc_options in global scope with an initializer. | bluhm | 2019-06-12 | 2 | -10/+8 |
| | | | | recommended by otto@ | ||||
* | Disable junking with malloc options. If set, the test hangs on low | bluhm | 2019-06-11 | 1 | -2/+5 |
| | | | | | memory arm64 machines. found by patrick@; OK otto@ | ||||
* | Move to env var, likelky the possibility to set malloc options from | otto | 2019-06-04 | 2 | -19/+8 |
| | | | | main is going away. | ||||
* | Throw malloc_conceal and freezero into the mix. | otto | 2019-05-23 | 1 | -3/+8 |
| | |||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-29 | 1 | -2/+6 |
| | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. This is the same fix as for malloc_ulimit1. | ||||
* | We're manipulating malloc flags ourselves, start with restting them all. | otto | 2018-11-29 | 1 | -1/+5 |
| | | | | ok bluhm@ | ||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-28 | 1 | -4/+8 |
| | | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. Also fix whitespace. OK otto@ | ||||
* | typo | otto | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | add malloc_threaderr | otto | 2018-01-28 | 1 | -1/+2 |
| | |||||
* | Test for correct error when on thread allocates, and another does a double free | otto | 2018-01-28 | 2 | -0/+71 |
| | |||||
* | Fix all clang warnings in libc regress and cleanup some make files. | bluhm | 2017-07-27 | 2 | -2/+4 |
| | |||||
* | Run malloc0test with all possible malloc options. | bluhm | 2017-07-08 | 1 | -1/+7 |
| | |||||
* | fix make clean and warnings | otto | 2017-01-24 | 2 | -1/+3 |
| | |||||
* | make sure realloc preserves data | otto | 2017-01-24 | 1 | -17/+45 |
| | |||||
* | use ${.OBJDIR} | otto | 2017-01-24 | 1 | -8/+8 |
| | |||||
* | hook malloc_general to the tests | otto | 2017-01-23 | 1 | -2/+2 |
| | |||||
* | test malloc/realloc/free with some flag combo's | otto | 2017-01-23 | 2 | -0/+122 |
| | |||||
* | Use arc4random_buf() when requesting more than a single word of output | djm | 2008-04-13 | 1 | -2/+2 |
| | | | | | | | Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@ | ||||
* | Don't forget to return 0 on success, doh. | otto | 2006-05-16 | 2 | -2/+4 |
| | |||||
* | Hook new ulimit test cases | otto | 2006-04-18 | 1 | -2/+2 |
| | |||||
* | near ulimit test case 2 | otto | 2006-04-18 | 2 | -0/+46 |
| | |||||
* | Near ulimit test case 1 | otto | 2006-04-18 | 2 | -0/+48 |
| | |||||
* | Unbreak malloc0test for use with mmap malloc which allocates objects | otto | 2004-08-04 | 1 | -20/+7 |
| | | | | in a non-contiguous manner. ok art@ | ||||
* | EOL at end | deraadt | 2004-02-11 | 1 | -2/+2 |
| | |||||
* | Test a large negative malloc value as well. | miod | 2003-12-25 | 1 | -1/+2 |
| | |||||
* | remove extra \n in {warn,err}{,x} calls | deraadt | 2003-08-15 | 1 | -3/+3 |
| | |||||
* | various cleanups; david says results are same | deraadt | 2003-07-31 | 2 | -5/+5 |
| | |||||
* | move malloc0test.c to new subdir. | otto | 2003-07-15 | 3 | -4/+11 |
| | | | | ok tdeval@ millert@ | ||||
* | Test if malloc() sets errno correctly if it returns NULL. | otto | 2003-07-15 | 2 | -0/+50 |
| | | | | ok tdeval@ henning@ | ||||
* | tags cleanup. | art | 2002-02-18 | 2 | -2/+2 |
| | |||||
* | A bug in the malloc test uncoveres a bug in longjmp on alpha. | art | 2002-01-04 | 1 | -2/+2 |
| | | | | How ironic. | ||||
* | trivial conversions to bsd.regress.mk | art | 2002-01-01 | 1 | -10/+2 |
| | |||||
* | Add options for slient operation and for specifying a count of rounds | art | 2001-12-29 | 1 | -4/+35 |
| | | | | instead of running to the limit. | ||||
* | add header | deraadt | 2001-12-22 | 1 | -0/+3 |
| | |||||
* | malloc(n) regression test | deraadt | 2001-12-05 | 2 | -0/+112 |