← 返回 Skills 市场
littleenough

struct-offset-analyzer

作者 LittleEnough · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
432
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install struct-offset-analyzer
功能描述
Statically analyze C struct member offsets through code reading to calculate memory layouts
安全使用建议
This skill is an instruction-only guide that will tell an agent how to search your codebase and compute struct offsets; it does not fetch code or require credentials. Before using it: (1) be aware the alignment/size table is an oversimplification—verify results against the target compiler/ABI (use offsetof/sizeof in a build or compiler docs); (2) take into account conditional compilation and #pragma pack in the target source; and (3) remember the skill's grep-based steps will scan your repository files, so do not run it against sensitive locations you don't want searched. Overall the package is internally coherent and does what it claims, but double-check computed offsets with a compiler when precision is critical.
功能分析
Type: OpenClaw Skill Name: struct-offset-analyzer Version: 1.0.1 The skill bundle describes a legitimate static analysis process for C struct member offsets. The `SKILL.md` provides informational content, workflow steps, and example `grep` commands relevant to code reading. There is no evidence of intentional harmful behavior, data exfiltration, persistence mechanisms, or malicious prompt injection attempts against the AI agent. The suggested `grep` commands are appropriate for the stated purpose of code analysis and are not crafted to exploit the system or the agent.
能力评估
Purpose & Capability
The name/description (static C struct offset analysis) match the SKILL.md workflow: searching headers, collecting type info, and applying alignment rules. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions stay within scope (search local source files, compute offsets, consider #ifdef/#pragma). Minor technical inaccuracies and oversimplifications appear in the alignment rules (e.g., text says 'Member offset must be a multiple of its size' when it should reference alignment requirements), but these are correctness issues rather than evidence of malicious behavior.
Install Mechanism
No install spec and no code files are included; this is instruction-only so nothing is written to disk or fetched at install time.
Credentials
The skill requests no environment variables, credentials, or config paths — proportional to an offline, static-analysis guide.
Persistence & Privilege
always is false, the skill is user-invocable and does not request persistent presence or modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install struct-offset-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /struct-offset-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- SKILL.md updated with a full English translation of all content - Terminology and workflow descriptions revised for clarity and consistency - Command-line search examples and tabular offset explanations now in English - No changes to core logic or functionality; documentation update only
v1.0.0
- Initial release of struct-offset-analyzer. - Analyze C struct member offsets by reading code, without execution. - Provides workflow for identifying struct definitions, collecting type info, and computing offsets by alignment rules. - Includes tables and example commands for searching codebases. - Explains padding/alignment rules and output format for offset tables. - Covers usage scenarios including reverse engineering, debugging, and security research.
元数据
Slug struct-offset-analyzer
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

struct-offset-analyzer 是什么?

Statically analyze C struct member offsets through code reading to calculate memory layouts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 432 次。

如何安装 struct-offset-analyzer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install struct-offset-analyzer」即可一键安装,无需额外配置。

struct-offset-analyzer 是免费的吗?

是的,struct-offset-analyzer 完全免费(开源免费),可自由下载、安装和使用。

struct-offset-analyzer 支持哪些平台?

struct-offset-analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 struct-offset-analyzer?

由 LittleEnough(@littleenough)开发并维护,当前版本 v1.0.1。

💬 留言讨论