Skip to content
BSD syscall#535

svc · unix #535

objc_bp_assist_cfg_np

Configures kernel-assisted Objective-C breakpoint trampolines for the calling process.

Prototype

int objc_bp_assist_cfg_np(uint64_t adr, uint64_t ctl);

Returns: int

Arguments

NameTypeDirDescription
adruint64_t-
ctluint64_t-

Version history

XNU tagmacOS#
xnu-11215.1.10macOS 15.0 Sequoia535
xnu-11417.101.15macOS 15.4 Sequoia535
xnu-12377.1.9macOS 26.0 Tahoe535
xnu-11215.41.3535
xnu-11215.61.5535
xnu-11215.81.4535
xnu-11417.121.6535
xnu-11417.140.69535
xnu-12377.101.15535
xnu-12377.41.6535
xnu-12377.61.12535
xnu-12377.81.4535

Notes

Added in macOS 12 / iOS 15 to support faster objc_msgSend breakpoint dispatch in lldb: the syscall registers a small per-process configuration (address ranges, hit counts) that the kernel uses when the runtime traps. Outside of lldb and Xcode's debugserver the call has essentially no users. The np suffix marks it as non-portable Apple-only API.

Detection

Any successful call from a process whose parent is not debugserver / lldb-rpc-server is worth investigating — debugger-attach is implied. ES_EVENT_TYPE_NOTIFY_GET_TASK on the same target provides corroborating evidence.

Related APIs

task_for_pidptracethread_set_stateobjc_msgSend