Skip to content

Support logging for all wasm data types #22

@sliminality

Description

@sliminality

Currently we only support logging i32 return values (although the epilogue instrumentation code already allocates a local with the correct size). We should change this to handle all four wasm data types.

This will involve, at a minimum:

  • Updating the JavaScript module to read and cast the buffer contents correctly
  • Adding new tests for i64, f32, f64
  • Updating the Entry struct to include a u64 field for data

Metadata

Metadata

Assignees

No one assigned

    Labels

    javascriptJavaScript instrumentation and printingtracingTracer API

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions