| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Redesign with sbrk(2) | Xavier Del Campo Romero | 2025-11-10 | 1 | -10/+13 |
| | | | | | | | | | | | | | | | | | | | | | | So far, tinyalloc was designed for a static heap area, failing to allocate whenever the end boundary was reached. Unfortunately, this design was too limiting if the same library were to be used for WebAssembly applications, where interpreters are required to implement the current_memory and grow_memory operators. [1] Whereas the former returns the number of currently allocated pages by the interpreter (64 KiB being the standard page size), the latter must increase that number by the number of pages required by the caller, but without exceeding the maximum limit imposed by the application developer. Since WebAssembly's grow_memory is usually converted to sbrk(2) by implementations, tinyalloc now makes use of this traditional syscall to achieve the desired effect. [1]: https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#-hrefsyntax-instr-memorymathsfmemorygrow | ||||
| * | Avoid undefined behaviour on const cast | Xavier Del Campo Romero | 2025-07-26 | 1 | -1/+1 |
| | | | | | | Removing the const qualifier from a const-qualified object and modify it is undefined behaviour. | ||||
| * | Avoid depending on stdint.h | Xavier Del Campo Romero | 2025-07-26 | 1 | -2/+2 |
| | | |||||
| * | Implement ta_realloc | Xavier Del Campo Romero | 2025-07-26 | 1 | -0/+39 |
| | | |||||
| * | Fix heap initialization | llucinat | 2020-08-06 | 1 | -5/+3 |
| | | |||||
| * | Fix discarded-qualifiers & pointer comparison warnings | Wonsup Yoon | 2020-05-20 | 1 | -4/+4 |
| | | |||||
| * | Move compile-time configuration into a runtime configuration. | Matt Reyer | 2019-07-01 | 1 | -34/+22 |
| | | | | | - Updated README | ||||
| * | out of bouds | 安静的卡尔 | 2019-01-10 | 1 | -1/+2 |
| | | |||||
| * | remove various functions if TA_DISABLE_COMPACT, update ptr casts, update readme | Karsten Schmidt | 2017-07-15 | 1 | -7/+15 |
| | | |||||
| * | add TA_DISABLE_* defines, update compact, memclear, add license, update readme | Karsten Schmidt | 2017-07-15 | 1 | -17/+43 |
| | | |||||
| * | update readme, add mem layout diag, rename defines & heap struct fields | Karsten Schmidt | 2017-07-14 | 1 | -20/+20 |
| | | |||||
| * | rename fns again, add ta_calloc() & memset | Karsten Schmidt | 2017-07-14 | 1 | -0/+249 |
