“ kpc.config” sysctl呼叫返回-1在ibireme的“ kpc_demo”中,M4 Apple Silicon(Macos Seceoia 15.2),但在M1/M2

问题描述 投票:0回答:0

loaded db: as4-1 (Apple silicon) number of fixed counters: 2 number of configurable counters: 8 Failed set kpc config: -1. I使用llvm进行调试,发现误差源于

kpc_set_config
函数。事实证明,系统调用
"kpc.config"

返回-1,这意味着一个错误。

我想知道是否有任何已知解决方案,还是我可以做些什么来解决这个问题?预先感谢您!
贝洛是llvm拆卸的组装:

kpc_set_config

我在我的苹果M4上也有同样的问题。 我刚刚安装了MacOS 15.4(Beta,24E5238A),问题消失了。

https://developer.apple.com/forums/thread/775833

暗示苹果实际上修复了某物。
	
macos cpu-architecture reverse-engineering performancecounter apple-silicon
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.