Skip to content

Panic below PDBParserInstance::new if platform does not have a default calling convention #8196

Description

@sentry

Sentry Issue: BINARYNINJA-8T

STATUS_FATAL_APP_EXIT / 0x7ff74089fab6: Fatal Error: STATUS_FATAL_APP_EXIT / 0x7ff74089fab6
  File "crashpad_client_win.cc", line 230, in crashpad::`anonymous namespace'::HandleAbortSignal
  File "ehhelpers.cpp", line 125, in __processing_throw
  File "throw.cpp", line 79, in _CxxThrowException
  File "seh.rs", line 366, in panic_unwind::imp::throw_exception
  File "seh.rs", line 302, in panic_unwind::imp::panic
...
(25 additional frame(s) were not displayed)

@bdash says:

It looks like a similar crash will occur if the view has no platform. These should probably return Err like the Cannot parse to view with no architecture case already does.

Metadata

Metadata

Assignees

Labels

DebugInfo: PDBRelated to parsing PDB filesEffort: TrivialIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaround

Type

Fields

No fields configured for Crash.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions