Skip to content

LLDB breakpoints pointed to DYLD cache doesn't trigger correctly in guest MacOS #464

@flatz

Description

@flatz

So, I've tried to test userland debugging functionality inside guest MacOS running under m1n1. For that I've chosen agx-exploit and set some breakpoints to Metal API functions, e.g. MTLRegisterDevices, MTLCreateSystemDefaultDevice, etc. But it seems like breakpoints which are located inside DYLD cache are not triggering in guest OS. Breakpoint set to main function does work fine, so it seems the problem lies with DYLD cache only. In host OS everything works as expected. I'm not sure what's the reason of such behavior.

My guest OS is MacOS 13.6.9, but I think it shouldn't matter. If I remember correctly, a few months ago I did the same test on 14.6.1 and seen the same bug.

@svenpeter42, can you please test this if possible? Or many you know someone other who can help me with this. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions