Skip to content

Conversation

@gboigwe
Copy link

@gboigwe gboigwe commented Oct 7, 2025

No description provided.

@gboigwe
Copy link
Author

gboigwe commented Oct 7, 2025

Summary

Implements two-pane web interface for revive-explorer as requested in issue #366. Provides interactive navigation between YUL source code and corresponding RISC-V assembly
instructions.

Changes

  • Backend: Assembly analyzer with objdump integration, source-to-assembly mapper, HTTP server with REST API
  • Frontend: Two-pane HTML/CSS/JS interface with click navigation and color highlighting
  • CLI: Added --web mode to existing revive-explorer binary

Features

  • Two-pane WebUI (YUL - RISC-V)
  • Click YUL lines - highlight assembly
  • Color highlighting of selected lines
  • Startup analysis with dwarfdump and objdump
  • Pre-processed display (no UI compilation)

Usage

cargo run --bin revive-explorer -- --web /path/to/debug/shared-object.so
# Access at http://127.0.0.1:8080

Testing

  • All existing CLI functionality preserved
  • Code formatted with cargo fmt
  • Interactive navigation works
  • Only crates/explorer/ modified

Fixes #366

@gboigwe gboigwe mentioned this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant