mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Merge branch 'GP-0_ryanmkurtz_PR-6372_ekilmer_cpp-open-binary-files'
This commit is contained in:
commit
84548843df
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ void Sleigh::initialize(DocumentStorage &store)
|
|||
if (el == (const Element *)0)
|
||||
throw LowlevelError("Could not find sleigh tag");
|
||||
sla::FormatDecode decoder(this);
|
||||
ifstream s(el->getContent());
|
||||
ifstream s(el->getContent(), std::ios_base::binary);
|
||||
if (!s)
|
||||
throw LowlevelError("Could not open .sla file: " + el->getContent());
|
||||
decoder.ingestStream(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue