summaryrefslogtreecommitdiff
path: root/rust/examples/pdb-ng/src/lib.rs
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-05-30 17:35:07 -0400
committerGlenn Smith <glenn@vector35.com>2024-06-04 14:38:04 -0400
commit9619491446923956006456412424486179104727 (patch)
tree9790005f2514e5e858654b887709dfcffa14d13e /rust/examples/pdb-ng/src/lib.rs
parent8011373315410831763759748518908488617578 (diff)
PDB: Option to disable parsing symbols
Diffstat (limited to 'rust/examples/pdb-ng/src/lib.rs')
-rw-r--r--rust/examples/pdb-ng/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/examples/pdb-ng/src/lib.rs b/rust/examples/pdb-ng/src/lib.rs
index 3fdea60f..6e6d216a 100644
--- a/rust/examples/pdb-ng/src/lib.rs
+++ b/rust/examples/pdb-ng/src/lib.rs
@@ -841,6 +841,18 @@ fn init_plugin() -> bool {
}"#,
);
+ settings.register_setting_json(
+ "pdb.features.parseSymbols",
+ r#"{
+ "title" : "Parse PDB Symbols",
+ "type" : "boolean",
+ "default" : true,
+ "aliases" : [],
+ "description" : "Parse Symbol names and types. If you turn this off, you will only load Types.",
+ "ignore" : []
+ }"#,
+ );
+
true
}