8000 Hooking function on macOS Ventura does not work anymore · Issue #1594 · AFLplusplus/AFLplusplus · GitHub
[go: up one dir, main page]

Skip to content
Hooking function on macOS Ventura does not work anymore #1594
@vanhauser-thc

Description

@vanhauser-thc

libtokencap and libdislocator do not work anymore on macOS in the newest OS release.

to reproduce:

make -C utils/libtokencap
make -C utils/libdislocator
test/test-libextensions.sh

DYLD_INSERT_LIBRARIES still works (constructors are triggered), however trying to hook libc functions do not seem to work.
e.g. strcmp, _strcmp, __impl__strcmp, __platform_strcmp - none of them are called in a lib that hooks these and a program that uses strcmp() in its code and compiled with -O0

Apparently this is an issue since Monterey (12.2.1) https://developer.apple.com/forums/thread/702374

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0