2022-02-15 16:15:36 +00:00
|
|
|
---
|
|
|
|
badfuncs:
|
2023-11-08 13:08:17 +00:00
|
|
|
# For compiler-rt, we allow the following forbidden functions:
|
|
|
|
# - gethostbyname
|
|
|
|
# - gethostbyname2
|
|
|
|
# - gethostbyaddr
|
|
|
|
# - inet_aton
|
|
|
|
# These are never actually used, and are installed just as interceptors.
|
|
|
|
allowed:
|
|
|
|
/usr/lib*/clang/*/lib/*/libclang_rt.?san.so:
|
|
|
|
- gethostbyaddr
|
|
|
|
- gethostbyname
|
|
|
|
- gethostbyname2
|
|
|
|
- inet_aton
|
|
|
|
/usr/lib*/clang/*/lib/*/libclang_rt.memprof.so:
|
|
|
|
- gethostbyaddr
|
|
|
|
- gethostbyname
|
|
|
|
- gethostbyname2
|
|
|
|
- inet_aton
|