Typelib.finalize should consider throwing an exception on failure w/ failure info in the exception
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- reverse-engineering
Research direction
Start by locating the TypeLibrary.finalize API and reviewing how its bool result and first failure are currently exposed through Binary Ninja's log system. Define the failure-information and exception behavior before assessing the PyCharm reproduction; done should make finalize failures observable without relying on concealed log output.
Written by the indexing model from the issue text.
Description
What is the feature you'd like to have?
TypeLibrary.finalize currently returns a bool on success or failure. This is adequate enough when wrapped properly but contains multiple footguns.
- If you "run the script wrong", i.e. in a way that would conceal binaryninja's log output, and you aren't checking that bool, you have zero idea the typelib even failed, and it will function as if it did not fail. This can be reproed by running a script in PyCharm w/ default settings (Run in Terminal off)
- Binaryninja will log the first error through its log system and fail early. This is nice for avoiding log spew, but conceals the scope of any problems
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Vector35/binaryninja-api
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8540 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8516 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Vector35/binaryninja-api#8503 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8446 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8444 ·
All issues in Vector35/binaryninja-api
Similar issues
-
Website Doc Typo Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
autowarefoundation/autoware_universe#13413 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
automated-analysis bug memory-safety
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100