diff options
author | Ammar Faizi <[email protected]> | 2022-03-29 17:17:35 +0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2022-04-20 17:05:46 -0700 |
commit | 0e0ff638400be8f497a35b51a4751fd823f6bd6a (patch) | |
tree | e5fef00e0b3c413d17e0c1b93af62a19f617fb51 /scripts/gdb/linux/utils.py | |
parent | 5a18d07ce3006dbcb3c4cfc7bf1c094a5da19540 (diff) |
tools/nolibc/stdlib: Implement `malloc()`, `calloc()`, `realloc()` and `free()`
Implement basic dynamic allocator functions. These functions are
currently only available on architectures that have nolibc mmap()
syscall implemented. These are not a super-fast memory allocator,
but at least they can satisfy basic needs for having heap without
libc.
Cc: David Laight <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions