Add new interceptors for:
- sysctl
- sysctlbyname
- sysctlgetmibinfo
- sysctlnametomib
- asysctl
- asysctlbyname
Cover the API with a new test file TestCases/NetBSD/sysctl.cc.
Differential D54076
Add interceptors for the sysctl(3) API family from NetBSD Authored by krytarowski on Nov 3 2018, 12:23 PM.
Details Add new interceptors for:
Cover the API with a new test file TestCases/NetBSD/sysctl.cc.
Diff Detail
Event Timeline
| |||||||||||||||||||||||||||
Here and below
if (oldlenp) { COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldlenp, sizeof(*oldlenp)); if (oldp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldp, *oldlenp); }