summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-08-22 12:55:49 -0600
committerRusty Wagner <rusty.wagner@gmail.com>2024-10-21 13:56:55 -0400
commitd8e3001e535fad178c621ff07418f81f25123dc4 (patch)
tree54c03cef2f0bdfd9a3b6df4334c81becb63e4993 /rust/examples
parent0e281a30d73c0f31ef9442fef0346779164231ad (diff)
Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/decompile/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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());