tree: 354836869f646e1e9006e344e6cea465dd39e19f [path history] [tgz]
  1. avm_analyzer_app/
  2. avm_analyzer_common/
  3. avm_analyzer_server/
  4. avm_stats/
  5. build_avm.sh
  6. build_avm_docker.sh
  7. Cargo.lock
  8. Cargo.toml
  9. check.sh
  10. convert_stream.sh
  11. Dockerfile.builder
  12. Dockerfile.runtime
  13. launch_server_docker.sh
  14. launch_server_local.sh
  15. README.md
  16. rustfmt.toml
tools/avm_analyzer/README.md

AVM Analyzer

Building

With Docker

./launch_server_docker.sh --streams_dir <STREAMS_PATH> [--port <PORT>]

Local Build

  1. Install dependencies
# libavm (if not already installed)
apt install cmake yasm perl
# Protobuf compiler
apt install protobuf-compiler libprotobuf-dev
# Rust toolchain (see rustup.rs)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Trunk
cargo install --locked trunk
# WebAssembly build target
rustup target add wasm32-unknown-unknown
  1. Build AVM
export AOM_ROOT=/path/to/git/root
export AOM_BUILD_DIR=/path/to/avm/build
./build_avm.sh --avm_source_dir ${AOM_ROOT} --avm_build_dir ${AOM_BUILD_DIR}
  1. Build and launch AVM Analyzer
./launch_server_local.sh --streams_dir <STREAMS_PATH> --avm_build_dir ${AOM_BUILD_DIR} [--port <PORT>]

Troubleshooting

Please contact comc@google.com.