|
curl-fuzzer C++ reference
|
Target-local deterministic getaddrinfo backend for resolver fuzzing. More...
Go to the source code of this file.
Functions | |
| int | getaddrinfo (const char *nodename, const char *service, const addrinfo *hints, addrinfo **result) |
| Replace libc name service only in curl_fuzzer_proto_resolver. | |
| void | freeaddrinfo (addrinfo *address) noexcept |
| Match the ownership contract of the target-local getaddrinfo definition. | |
Target-local deterministic getaddrinfo backend for resolver fuzzing.
Definition in file resolver_getaddrinfo_shim.cc.
|
noexcept |
Match the ownership contract of the target-local getaddrinfo definition.
| address | Address chain returned by the target-local getaddrinfo. |
Definition at line 208 of file resolver_getaddrinfo_shim.cc.
| int getaddrinfo | ( | const char * | nodename, |
| const char * | service, | ||
| const addrinfo * | hints, | ||
| addrinfo ** | result ) |
Replace libc name service only in curl_fuzzer_proto_resolver.
The fixed hostnames are installed by target policy, so no mutation or ambient resolver configuration can select another destination.
| nodename | Hostname selected by the fixed resolver target policy. | |
| service | Decimal service port, or null when no port is requested. | |
| hints | Requested address family and socket properties, or null. | |
| [out] | result | Newly allocated address chain on success. |
Definition at line 129 of file resolver_getaddrinfo_shim.cc.