Skip to content

[Rust] Crash below MediumLevelILInstruction::lift #8155

@sentry

Description

@sentry

Sentry Issue: BINARYNINJA-6R

EXCEPTION_ACCESS_VIOLATION_READ / 0x26dadfdb000: Fatal Error: EXCEPTION_ACCESS_VIOLATION_READ / 0x26dadfdb000
  VCRUNTIME140        0x7ff9c50c224e memcpy (memcpy.asm:355)
  binaryninja         0x7ff6312fe815 std::_Copy_memmove (xutility:3841)
  binaryninja         0x7ff6312fe815 std::_Uninitialized_copy (xmemory:1704)
  binaryninja         0x7ff6312fe815 std::vector<T>::_Construct_n (vector:2137)
  binaryninja         0x7ff6312fe815 std::vector<T>::{ctor} (vector:700)
  binaryninja         0x7ff6312fe815 BinaryNinjaCore::MediumLevelILFunction::GetOperandList (mediumlevelilfunction.cpp:457)
  binaryninja         0x7ff6312fe815 BNMediumLevelILGetOperandList (mediumlevelilfunction.cpp:4964)
  binaryninja         0x7ff62e75133b binaryninja::medium_level_il::instruction::MediumLevelILInstruction::get_operand_list (instruction.rs:698)
  binaryninja         0x7ff62e754115 binaryninja::medium_level_il::instruction::MediumLevelILInstruction::lift (instruction.rs:854)
  ucrtbase            0x7ffa393988af truncl$thunk$6080018958593443211
  ucrtbase            0x7ffa39270138 malloc_base
  binaryninja         0x7ff6311aede3 BinaryNinjaCore::RefCountObject::ReleaseAPIRef (refcountobject.h:66)
  binaryninja         0x7ff6311aede3 BinaryNinjaCore::Function::ReleaseAPIRef (function.cpp:6210)
  MSVCP140            0x7ff9c50e248b mtx_do_lock (mutex.cpp:147)
  binaryninja         0x7ff62e752cc0 binaryninja::medium_level_il::instruction::MediumLevelILInstruction::new (instruction.rs:116)
  binaryninja         0x7ff6311327c6 BinaryNinjaCore::Function::AddAPIRef (function.cpp:6202)
  binaryninja         0x7ff62eb7364c workflow_objc_static::activities::alloc_init::process (alloc_init.rs:68)
...
(40 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

Component: Rust APIIssue needs changes to the Rust APIEffort: TrivialIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaround

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions