summaryrefslogtreecommitdiff
path: root/plugins/pdb-ng/src/lib.rs
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2026-01-12 15:19:16 -0700
committerRusty Wagner <rusty.wagner@gmail.com>2026-05-22 16:30:57 -0400
commita4a3de2ad363b1bceb28f106e2cc6d811b3370b5 (patch)
tree7f281e99f4e96d3194d16c1fbbed409df34e1d92 /plugins/pdb-ng/src/lib.rs
parent705b4504c9e8e3f78311952f12793bfcb78a794e (diff)
Add handling of structure returns and parameters in Windows x86/x64 calling conventions
Diffstat (limited to 'plugins/pdb-ng/src/lib.rs')
-rw-r--r--plugins/pdb-ng/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
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
}