From d8e3001e535fad178c621ff07418f81f25123dc4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 22 Aug 2024 12:55:49 -0600 Subject: Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin --- rust/examples/decompile/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/examples/decompile/src') diff --git a/rust/examples/decompile/src/main.rs b/rust/examples/decompile/src/main.rs index cac5ae06..f4f2a0ff 100644 --- a/rust/examples/decompile/src/main.rs +++ b/rust/examples/decompile/src/main.rs @@ -18,7 +18,7 @@ fn decompile_to_c(view: &BinaryView, func: &Function) { settings.set_option(DisassemblyOption::ShowAddress, false); settings.set_option(DisassemblyOption::WaitForIL, true); - let linearview = LinearViewObject::language_representation(view, &settings); + let linearview = LinearViewObject::language_representation(view, &settings, "Pseudo C"); let mut cursor = LinearViewCursor::new(&linearview); cursor.seek_to_address(func.highest_address()); -- cgit v1.3.1