1
0

proj: Add struct addrinfo and INTERCEPT_VERBOSE

This commit is contained in:
2025-04-19 16:43:20 +02:00
parent d988d1d28b
commit 127456d23a
6 changed files with 113 additions and 39 deletions

View File

@@ -24,6 +24,7 @@ def main() -> None:
subprocess.run(extra, env={
'LD_PRELOAD': os.getcwd() + '/../../intercept/intercept.so',
'INTERCEPT': 'unix:' + socket_name,
'INTERCEPT_VERBOSE': '1',
'INTERCEPT_FUNCTIONS': ','.join(['malloc', 'calloc', 'realloc', 'reallocarray', 'free', 'getaddrinfo', 'freeaddrinfo']),
'INTERCEPT_LIBRARIES': '*,-/lib*,-/usr/lib*',
})