dwarf-expert
Analyze DWARF debug information: parse and search DIEs with dwarfdump and readelf, verify debug info integrity, and write DWARF parsing code
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
اقرأ هذا قبل أن تنزّل
لا يشغّل تلقين أي شيء من هذا العنصر. لكن ما تنزّله يعمل على جهازك إن شغّلته أنت أو سمحت لكلود كود بتشغيله، فاقرأ الملفات أولاً.
- في العنصر ملفات سكربت.
التثبيت
تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.
التعليمات
DWARF Expert
Interact with and analyze DWARF debug information: parse and search DIEs with
dwarfdump/llvm-dwarfdump and readelf, verify debug info integrity with
llvm-dwarfdump --verify, answer questions about the DWARF standard, and write
code that parses DWARF data.
Author: Evan Hellman
What It Does
The skill is a single SKILL.md covering:
- Authoritative sources for standard questions: dwarfstd.org, LLVM's
lib/DebugInfo/DWARF/, and libdwarf, looked up on demand rather than answered from memory - An
llvm-dwarfdumpflag reference for dumping, searching (--find,--name,--lookup), and displaying DIE trees - A search-escalation strategy: accelerator-table lookup, exhaustive name search,
grep pipelines over full dumps, then a
pyelftoolsscript when pipelines turn brittle - Verification workflows:
--verify(with--error-displayand--verify-json) and--statisticsfor comparing debug-info quality across builds - Library recommendations for C/C++, Python, Rust, Go, and .NET, plus
DWARF-specific pitfalls (optional attributes,
DW_AT_abstract_origin/DW_AT_specificationindirection, type chains)
Testing
tests/test_skill_contract.py extracts every llvm-dwarfdump flag the skill
documents and checks it against the real tool's --help, and validates the
frontmatter contract (name, description, effort, space-delimited
allowed-tools). It fails if the extraction comes back empty or no LLVM
dwarfdump is on PATH — a checker that inspects zero items must not pass.
Requires an LLVM dwarfdump that supports --error-display and --verify-json
(upstream LLVM 19+; the test checks for the flags themselves rather than a
version string, since Apple's LLVM numbering differs from upstream). macOS:
current Xcode Command Line Tools qualify; Debian/Ubuntu: apt install llvm-19
or newer. Run with:
cd plugins/dwarf-expert/tests
uv run --no-project --with pytest python3 -m pytest -q --import-mode=importlib .
Installation
/plugin install trailofbits/skills/plugins/dwarf-expert
الملفات
- مجلد.claude-plugin346 بايت
- plugin.json346 بايت
- مجلدskills9.1 ك.ب
- مجلدdwarf-expert9.1 ك.ب
- مجلدagents232 بايت
- openai.yaml232 بايت
- مجلدassets3 ك.ب
- trail-of-bits-mark.svg3 ك.ب
- SKILL.md5.9 ك.ب
- مجلدtests7.8 ك.بسكربت
- test_skill_contract.py7.8 ك.بسكربت
- LICENSE20 ك.ب
- README.md2 ك.ب
ما وجده الفحص الآلي
فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.
- يحتاج مراجعةملف سكربت
في الملف plugins/dwarf-expert/tests/test_skill_contract.py
التعليقات (0)
لا تعليقات بعد. كن أول من يعلّق.
سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).