
This updates the generated stdlib.h and malloc.h headers to include the subsets of extenion functions declared by glibc that are also supported by Scudo and that use only simple types. Scudo's extensions not declared by glibc are omitted. glibc's extensions not implemented by Scudo are omitted. The mallinfo and mallinfo2 functions are omitted (at least for now) since they need struct definitions for their return types.
32 lines
566 B
YAML
32 lines
566 B
YAML
header: malloc.h
|
|
standards:
|
|
- gnu
|
|
merge_yaml_files:
|
|
- stdlib-malloc.yaml
|
|
macros:
|
|
- macro_name: M_PURGE
|
|
macro_header: malloc-macros.h
|
|
- macro_name: M_PURGE_ALL
|
|
macro_header: malloc-macros.h
|
|
functions:
|
|
- name: malloc_usable_size
|
|
standards:
|
|
- gnu
|
|
return_type: size_t
|
|
arguments:
|
|
- type: void *
|
|
- name: mallopt
|
|
standards:
|
|
- gnu
|
|
return_type: int
|
|
arguments:
|
|
- type: int
|
|
- type: int
|
|
- name: pvalloc
|
|
standards:
|
|
- bsd
|
|
- gnu
|
|
return_type: void *
|
|
arguments:
|
|
- type: size_t
|