2 Commits

Author SHA1 Message Date
609d97b86d fix: correct ilspycmd output parsing and heap access
- Fix _TYPE_LINE_PATTERN regex to match ilspycmd format (no colon)
- Fix UserStringHeap data access using getattr instead of name mangling
- Add _decompile_to_stdout method for simple decompilation
- Fix decompile to not always use -o flag when stdout is desired
- Update test data to match actual ilspycmd output format
2026-02-08 13:33:06 -07:00
7d784af17c refactor: address major code review findings
- Use importlib.metadata for dynamic version (single source in pyproject.toml)
- Clean up duplicate `import re` statements across modules
- Add missing type hints to all public methods
- Fix PATH auto-discovery for ilspycmd (~/.dotnet/tools)
- Add pytest test suite with 35 tests covering models, metadata reader, wrapper
- Bump version to 0.2.0, add CHANGELOG.md
2026-02-07 02:05:57 -07:00