能力值:
( LV4,RANK:40 )
|
-
-
2 楼
好玩,自己编译了一个android arm64的demo。感谢分享。增加了一个日志,方便调试。 #define _write(fd, buf, count) _svc(__NR_write, fd, buf, count)
static inline void debug_print(const char *str) { //自动求字符串长度 size_t len= 0; const char*p=str; while (*p!='\0') { len++; p++; } // 使用 _write 宏:fd=2 (STDERR), buf=str, count=len _write(STDERR_FILENO, (void*)str, len); }
最后于 2025-12-1 17:56
被WMBa0编辑
,原因:
|
|
|