binaryninja-api
binaryninja-api copied to clipboard
Hang when parsing a type string for an unpulled type in an attached type archive in a remote project
Repro steps:
- Open a bndb in a remote project
- Run the following in the python console:
import tempfile
with tempfile.TemporaryDirectory() as td:
print(td)
ta = TypeArchive.create(path=str(f'{td}/archive.bnta'), platform=bv.platform)
assert ta is not None
bv.attach_type_archive(ta)
ta.add_type("archive_type", binaryninja.Type.int(4))
print(bv.parse_type_string('archive_type asd;'))
CC https://github.com/Vector35/binaryninja/issues/736
This appears to have been fixed as of the commit that landed in 4.3.6677-dev. I cannot reproduce the hang in 4.3.6803-dev, at least.