brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 51c11f5 Raw
57 lines · yaml
1# This file has declarations that appear both in <stdlib.h> and in <malloc.h>.2# These include the subset of GNU extensions that Scudo supports.3#4# Note: glibc's <stdlib.h> and <malloc.h> both also have `reallocarray`,5# which Scudo does not support and is omitted here.  (Each of those glibc6# headers also has related functions the other lacks, but those should be7# covered separately in stdlib.yaml and malloc.yaml instead.)8 9functions:10  - name: aligned_alloc11    standards:12      - stdc13    return_type: void *14    arguments:15      - type: size_t16      - type: size_t17  - name: calloc18    standards:19      - stdc20    return_type: void *21    arguments:22      - type: size_t23      - type: size_t24  - name: free25    standards:26      - stdc27    return_type: void28    arguments:29      - type: void *30  - name: malloc31    standards:32      - stdc33    return_type: void *34    arguments:35      - type: size_t36  - name: memalign37    standards:38      - gnu39    return_type: void *40    arguments:41      - type: size_t42      - type: size_t43  - name: realloc44    standards:45      - stdc46    return_type: void *47    arguments:48      - type: void *49      - type: size_t50  - name: valloc51    standards:52      - bsd53      - gnu54    return_type: void *55    arguments:56      - type: size_t57