()
| 1 | use binaryninja::settings::Settings; |
| 2 | |
| 3 | fn main() { |
| 4 | println!("Starting session..."); |
| 5 | // This loads all the core architecture, platform, etc plugins |
| 6 | let _headless_session = |
| 7 | binaryninja::headless::Session::new().expect("Failed to initialize session"); |
| 8 | |
| 9 | let settings = Settings::new(); |
| 10 | for key in &settings.keys() { |
| 11 | let value = settings.get_string(key); |
| 12 | let default_value = settings.get_property_string(key, "default"); |
| 13 | let title = settings.get_property_string(key, "title"); |
| 14 | let description = settings.get_property_string(key, "description"); |
| 15 | println!("{}:", key); |
| 16 | println!(" value: {}", value); |
| 17 | println!(" default_value: {}", default_value); |
| 18 | println!(" title: {}", title); |
| 19 | println!(" description: {}", description); |
| 20 | } |
| 21 | } |
nothing calls this directly
no test coverage detected