binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Hang when parsing a type string for an unpulled type in an attached type archive in a remote project

Open negasora opened this issue 1 year ago • 1 comments

Repro steps:

  1. Open a bndb in a remote project
  2. 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;'))

negasora avatar Sep 26 '24 16:09 negasora

CC https://github.com/Vector35/binaryninja/issues/736

CouleeApps avatar Sep 26 '24 19:09 CouleeApps

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.

fuzyll avatar Feb 06 '25 18:02 fuzyll