Craft Anything: understand how any software works, and craft your own.
Rust
Record a live Vineflower run on a real JAR (R5.7) (#802)
Hasnain9d4908bd9247
diff --git a/docs/ROADMAP.md b/docs/ROADMAP.mdindex 8ac05c47..be244d10 100644--- a/docs/ROADMAP.md+++ b/docs/ROADMAP.md@@ -392,7 +392,8 @@ yet, and the quick start is how every new person begins.**A real program, device or file:**- [ ] Cutter sessions: try them against a real Cutter, including whether `=h&` keeps Cutterresponsive (only a stand-in server so far)-- [ ] Vineflower: run it once on a real JAR (no Java on the machine it was written on)+- [x] Vineflower: run it once on a real JAR (no Java on the machine it was written on)+ — claimed: hasnain607, branch docs/r5.7-vineflower-live-run- [ ] Verify the 23 unverified adb tools; record results in tool-status.md- [ ] Android locales: try `only_locales` on a real APK (only the test fixture so far)- [ ] `app_graphs_compare` on the two real Electron releases again, to count how many of thediff --git a/docs/STATUS.md b/docs/STATUS.mdindex 5c0407bc..6769bc2e 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -8,6 +8,7 @@ workspace clippy, layers, fmt and the secret scan of all history were clean. Chi| Area | State | Verified by ||---|---|---|+| Java decompilation | `java_vineflower_decompile` decompiles a real JAR to source with the pinned Vineflower 1.12.0, run through the configured Java | Live run on Linux x86-64 (OpenJDK 21.0.12.1) against Apache Commons IO 2.16.1 (497 KB, 374 entries): 253 source files, exit 0; `org.apache.commons.io.FileUtils` returned 1,350 lines with the class and its file-reading methods present. The engine install matched the pinned SHA-256. Not checked: Windows and macOS, a `.class` input, or a second JAR || Conversation width | Agent paragraphs, inline code and fenced code stay within the message column, including glossary terms followed by long file links (#523) | UI regression checks painted text and subsequent answers against the composer bounds in Project and Ask at 1920 × 1032 and 1280 × 820; Unicode/formatted glossary hover check || Settings saved on exit | Pending app settings merge the session's latest AI table when its guard is available. A busy session defers non-AI edits in `config.pending.toml` without waiting for the tool; startup recovers them with the latest committed AI table | Isolated child-process regression exercises idle and busy exit saves, a late AI commit, startup recovery and pending non-AI edits; engine tests cover sidecar migrations and damaged/newer files. No live desktop shutdown was exercised || SQLite payload limits | Capped records retain column positions, disclose partial TEXT and BLOB values, omit incomplete BLOB hashes, and report partial coverage with read notes | Hand-built overflow-page regressions for five oversized records (including WITHOUT ROWID in declaration order) and two controls; table and index engine coverage and limitation regressions |diff --git a/docs/tool-status.md b/docs/tool-status.mdindex fe9a1dfc..7e69d7c9 100644--- a/docs/tool-status.md+++ b/docs/tool-status.md@@ -1,7 +1,8 @@# Tool status (verified)`docs/tools.md` (generated) lists every tool. This page records whether each one **works**, from a-functional audit on 2026-10-16 (Windows 11, real inputs) and the fixes that followed.+functional audit on 2026-10-16 (Windows 11, real inputs), later live runs, and the fixes that+followed.Legend: **Verified** = ran on real input with plausible, spot-checked output · **Partial** = runsbut output is incomplete in a known way · **Fixed** = was broken or partial in the audit, fixed@@ -18,7 +19,7 @@ we don't have); source reviewed · **New** = added since the audit, unit-tested| JavaScript / Electron | 7 | 1 | 0 | 2 | runtime attach needs a debuggable app || Application graphs, comparison, reconstruction | 12 | 3 | 0 | 2 | || Managed (.NET) | 7 | 0 | 0 | 0 | no C# decompiler (IL + structure only) |-| Java | 5 | 0 | 0 | 1 | `java_vineflower_decompile` (Vineflower) unverified: no Java on the test machine |+| Java | 6 | 0 | 0 | 0 | `java_vineflower_decompile` verified on a real JAR (Commons IO 2.16.1, OpenJDK 21.0.12.1, Linux) || Android (static) | 9 | 0 | 0 | 4 | JADX/Apktool/JEB paths unverified || Android device (adb) | 2 | 0 | 0 | 23 | no device attached || Apple | 8 | 0 | 0 | 6 | synthetic Mach-O/plist only; runtime tools macOS-only, except `runtime_ui_read` and `runtime_ui_walkthrough_record`, which also read and drive Windows apps (UI Automation; tested against a WinForms window) |@@ -80,5 +81,10 @@ Fixed:- Rizin debug sessions (`native_rizin_session_begin`, `_command_run`, `_show`, `_end`): **New**.Start, registers, error lines and close checked with Rizin 0.9.1 on Windows; the debuggedprogram's own console output isn't captured.+- Vineflower (`java_vineflower_decompile`): **Verified** on Linux x86-64 with OpenJDK 21.0.12.1+ and the pinned Vineflower 1.12.0, against Apache Commons IO 2.16.1 (497 KB, 374 entries):+ 253 source files, exit 0. `org.apache.commons.io.FileUtils` came back at 1,350 lines, and the+ class and its file-reading methods are present. Not checked: Windows, macOS, a `.class` input,+ or a second JAR.- Also: Java (.class/JAR) tools, Solana sBPF, SQLite, investigation memory, the report tool,website open/capture, and the rebuild workflow.