-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello, I would really like to give this a try. However in my case the injection seems to fail pretty early on:
$ killall Dock && sudo scripts/inject.sh min0125
(lldb) process attach --pid 3268
Process 3268 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Dock) stopped.
Executable binary set to "/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock".
Architecture set to: arm64e-apple-macosx-.
(lldb) settings set target.process.thread.step-out-avoid-nodebug true
(lldb) expr (int)setenv("INSTANTSPACES_MODE","min0125",1)
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
error: Trying to put the stack in unreadable memory at: 0xffffffffffffff80.
This always seems to happen - i tried this about 20 times, sometimes with and sometimes without killing Dock beforehand
Things I've tried:
- SIP is disabled (
csrutil status: System Integrity Protection status: disabled.) - Adding Terminal and lldb to developer tools (Terminal already was, lldb was not)
- rebooting
Do you have any idea why lldb apparently cannot modify Dock memory?
M1 Pro (10 core, 16GB RAM)
macOS 15.7.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working