MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / fix_up

Function fix_up

cranelift/assembler-x64/src/fuzz.rs:266–269  ·  view source on GitHub ↗

Run some post-processing on the disassembly to make it match Capstone.

(dis: &str)

Source from the content-addressed store, hash-verified

264
265/// Run some post-processing on the disassembly to make it match Capstone.
266fn fix_up(dis: &str) -> alloc::borrow::Cow<'_, str> {
267 let dis = remove_after_semicolon(dis);
268 replace_signed_immediates(&dis)
269}
270
271/// Fuzz-specific registers.
272///

Callers 1

roundtripFunction · 0.85

Calls 2

remove_after_semicolonFunction · 0.85

Tested by

no test coverage detected