add symbol kinds

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2023-12-07 22:31:16 +01:00
parent 426ab4b095
commit 80e14f182d
4 changed files with 146 additions and 40 deletions
+1 -5
View File
@@ -6,9 +6,5 @@ fn main() {
let bytecode = hex::decode(hexcode.trim()).unwrap();
let instructions = bytecode.disassemble();
//for instruction in instructions.iter() {
// println!("{instruction:?}");
//}
Program::new(instructions).dot(BasicBlockFormatOption::ByteCode);
Program::new(instructions).dot(BasicBlockFormatOption::Ir);
}