From a4a3de2ad363b1bceb28f106e2cc6d811b3370b5 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 12 Jan 2026 15:19:16 -0700 Subject: Add handling of structure returns and parameters in Windows x86/x64 calling conventions --- plugins/pdb-ng/src/lib.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/pdb-ng/src/lib.rs') diff --git a/plugins/pdb-ng/src/lib.rs b/plugins/pdb-ng/src/lib.rs index c3bbdf5e..d37e3384 100644 --- a/plugins/pdb-ng/src/lib.rs +++ b/plugins/pdb-ng/src/lib.rs @@ -889,6 +889,18 @@ fn init_plugin() -> bool { }"#, ); + settings.register_setting_json( + "pdb.features.passStructuresByValue", + r#"{ + "title" : "Always Pass Structures By Value", + "type" : "boolean", + "default" : false, + "aliases" : [], + "description" : "Always pass structures by value even if they are implicitly passed by pointer in the calling convention (experimental). This more closely matches the original source code.", + "ignore" : [] + }"#, + ); + true } -- cgit v1.3.1