We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 318f0bd commit e5c73ffCopy full SHA for e5c73ff
1 file changed
plugins/pdb-ng/src/lib.rs
@@ -495,12 +495,12 @@ impl PDBParser {
495
496
match ask.as_str() {
497
"true" => {},
498
- "ask" => {
+ "ask" if binaryninja::is_ui_enabled() => {
499
if interaction::show_message_box(
500
"No PDB Information",
501
"This file does not look like it was compiled with a PDB, so your PDB might not correctly apply to the analysis. Do you want to load it anyway?",
502
MessageBoxButtonSet::YesNoButtonSet,
503
- binaryninja::interaction::MessageBoxIcon::QuestionIcon
+ interaction::MessageBoxIcon::QuestionIcon
504
) == MessageBoxButtonResult::NoButton {
505
return Err(anyhow!("User cancelled missing info load"));
506
}
0 commit comments