hardened malloc: iterate -> malloc_iterate
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
This commit is contained in:
parent
d203d6c445
commit
8974af86d1
@ -1933,7 +1933,7 @@ EXPORT struct mallinfo h_mallinfo_bin_info(UNUSED size_t arena, UNUSED size_t bi
|
|||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
COLD EXPORT int h_iterate(UNUSED uintptr_t base, UNUSED size_t size,
|
COLD EXPORT int h_malloc_iterate(UNUSED uintptr_t base, UNUSED size_t size,
|
||||||
UNUSED void (*callback)(uintptr_t ptr, size_t size, void *arg),
|
UNUSED void (*callback)(uintptr_t ptr, size_t size, void *arg),
|
||||||
UNUSED void *arg) {
|
UNUSED void *arg) {
|
||||||
fatal_error("not implemented");
|
fatal_error("not implemented");
|
||||||
|
@ -37,7 +37,7 @@ extern "C" {
|
|||||||
#define h_mallinfo_arena_info mallinfo_arena_info
|
#define h_mallinfo_arena_info mallinfo_arena_info
|
||||||
#define h_mallinfo_bin_info mallinfo_bin_info
|
#define h_mallinfo_bin_info mallinfo_bin_info
|
||||||
|
|
||||||
#define h_iterate iterate
|
#define h_malloc_iterate malloc_iterate
|
||||||
#define h_malloc_disable malloc_disable
|
#define h_malloc_disable malloc_disable
|
||||||
#define h_malloc_enable malloc_enable
|
#define h_malloc_enable malloc_enable
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ size_t h_mallinfo_narenas(void);
|
|||||||
size_t h_mallinfo_nbins(void);
|
size_t h_mallinfo_nbins(void);
|
||||||
struct mallinfo h_mallinfo_arena_info(size_t arena);
|
struct mallinfo h_mallinfo_arena_info(size_t arena);
|
||||||
struct mallinfo h_mallinfo_bin_info(size_t arena, size_t bin);
|
struct mallinfo h_mallinfo_bin_info(size_t arena, size_t bin);
|
||||||
int h_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t ptr, size_t size, void *arg),
|
int h_malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t ptr, size_t size, void *arg),
|
||||||
void *arg);
|
void *arg);
|
||||||
void h_malloc_disable(void);
|
void h_malloc_disable(void);
|
||||||
void h_malloc_enable(void);
|
void h_malloc_enable(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user