-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hello,
I am running litecov on macOS 14.6.1 running under UTM (host is an M3).
When I try it using a simple test program I wrote, it works well:
sudo /Users/and/Desktop/TinyInst-master/build/Release/litecov -trace_debug_events -instrument_module simple -coverage_file coverage.txt -- /Users/and/Desktop/simple/simple
Additionally added modules to align to pages:
Debugger: Mach exception (5) @ address 0x102928b70
Debugger: Process created or attached
Debugger: Loaded module dyld at 0x102924000
Debugger: Loaded module simple at 0x102624000
Debugger: Loaded module libSystem.B.dylib at 0x18d0cd000
Debugger: Loaded module libcache.dylib at 0x18d0c7000
Debugger: Loaded module libcommonCrypto.dylib at 0x18d081000
Debugger: Loaded module libcompiler_rt.dylib at 0x18d0ad000
Debugger: Loaded module libcopyfile.dylib at 0x18d0a3000
Debugger: Loaded module libcorecrypto.dylib at 0x1801ae000
Debugger: Loaded module libdispatch.dylib at 0x180295000
Debugger: Loaded module libdyld.dylib at 0x180450000
Debugger: Loaded module libkeymgr.dylib at 0x18d0bd000
Debugger: Loaded module libmacho.dylib at 0x18d059000
Debugger: Loaded module libquarantine.dylib at 0x18c539000
Debugger: Loaded module libremovefile.dylib at 0x18d0ba000
Debugger: Loaded module libsystem_asl.dylib at 0x185bcd000
Debugger: Loaded module libsystem_blocks.dylib at 0x180143000
Debugger: Loaded module libsystem_c.dylib at 0x1802e0000
Debugger: Loaded module libsystem_collections.dylib at 0x18d0b1000
Debugger: Loaded module libsystem_configuration.dylib at 0x18b711000
Debugger: Loaded module libsystem_containermanager.dylib at 0x18a74d000
Debugger: Loaded module libsystem_coreservices.dylib at 0x18ccf0000
Debugger: Loaded module libsystem_darwin.dylib at 0x18386e000
Debugger: Loaded module libsystem_darwindirectory.dylib at 0x247fc1000
Debugger: Loaded module libsystem_dnssd.dylib at 0x18d0be000
Debugger: Loaded module libsystem_eligibility.dylib at 0x247fc5000
Debugger: Loaded module libsystem_featureflags.dylib at 0x1802dd000
Debugger: Loaded module libsystem_info.dylib at 0x18047e000
Debugger: Loaded module libsystem_m.dylib at 0x18d01e000
Debugger: Loaded module libsystem_malloc.dylib at 0x180258000
Debugger: Loaded module libsystem_networkextension.dylib at 0x185b3a000
Debugger: Loaded module libsystem_notify.dylib at 0x183ce4000
Debugger: Loaded module libsystem_sandbox.dylib at 0x18b716000
Debugger: Loaded module libsystem_sanitizers.dylib at 0x247fc9000
Debugger: Loaded module libsystem_secinit.dylib at 0x18d0b6000
Debugger: Loaded module libsystem_kernel.dylib at 0x180408000
Debugger: Loaded module libsystem_platform.dylib at 0x180476000
Debugger: Loaded module libsystem_pthread.dylib at 0x180443000
Debugger: Loaded module libsystem_symptoms.dylib at 0x1875bf000
Debugger: Loaded module libsystem_trace.dylib at 0x180193000
Debugger: Loaded module libunwind.dylib at 0x18d08f000
Debugger: Loaded module libxpc.dylib at 0x180148000
Debugger: Loaded module libc++abi.dylib at 0x1803ec000
Debugger: Loaded module libobjc.A.dylib at 0x180068000
Debugger: Loaded module liboah.dylib at 0x18d09b000
Debugger: Loaded module libc++.1.dylib at 0x18035f000
Debugger: Process entrypoint reached
Instrumented module simple, code size: 16384
Debugger: Process exit
Process finished normally
Found 4 new offsets in simple
But I get error when running using programs in e.g. sbin or bin ...:
sudo /Users/and/Desktop/TinyInst-master/build/Release/litecov -trace_debug_events -instrument_module ping -coverage_file coverage.txt -- /sbin/ping
Additionally added modules to align to pages:
Debugger: Mach exception (5) @ address 0x6b800100414b70
Debugger: Process created or attached
Debugger: Loaded module dyld at 0x100410000
Debugger: Mach exception (6) @ address 0xee14800100411e20
[!] WARNING: Unhandled breakpoint
Debugger: Mach exception (5) @ address 0xee14800100411e20
[!] WARNING: Debugger: Unhandled exception, mach exception_type 5 at address 0xee14800100411e20
Debugger: Process exit
Process finished normally
Can you please provide a hint how to solve it?
Metadata
Metadata
Assignees
Labels
No labels