【问题标题】:What are the 0x3F 0xB3 bytes for in /dev/fsevents?/dev/fsevents 中的 0x3F 0xB3 字节是什么?
【发布时间】:2014-08-18 09:22:49
【问题描述】:

我正在试验filemon source code。我正在调试它为什么在 iOS 7 上崩溃。我在 fsevents 方面没有太多经验,但我注意到在字节流中它可以从 /dev/fsevents 读取它遵循以下模式:

(文件操作信息)(参数)0x3F 0xB3(文件操作信息)(参数)

其中 (args) 中的 arg 遵循以下格式:

(arg id) (arg len) (arg 值)

0x3F 0xB3 是干什么用的?我猜这意味着0xBEEF?假设它是在 /dev/fsevents 中分隔不同文件操作信息的哨兵是否正确?

【问题讨论】:

  • 您可以考虑在您的问题中添加os xdarwin 标签。你可能会得到一位知道的 OS X 专家。我不确定是否有很多 iOS(仅限)专家对此有很多经验,因为沙盒应用程序将禁止阅读 /dev/fsevents
  • @Nate 完成。感谢您的建议。

标签: ios macos jailbreak darwin fsevents


【解决方案1】:

来自header file

#define FSE_ARG_DONE     0xb33f   // no more arguments

所以,是的,它被用作哨兵。

【讨论】:

  • 谢谢!我想我也需要这个头文件。
  • @radj 那可能不是最新版本,所以看看周围吧:)
猜你喜欢
  • 1970-01-01
  • 2011-04-01
  • 2013-11-26
  • 2012-10-04
  • 2019-06-13
  • 2012-01-07
  • 1970-01-01
  • 2012-05-17
相关资源
最近更新 更多