Change function/field type textbox performance with large type database
What is the feature you'd like to have?
I have huge database with ~1.5kk types. So, when I want to change some function or field type, appears text box where I can do it. But due to type validness check, it makes me hard to write anything by hand, because it stuck for 4+ seconds each time when I type some chars.
Maybe there's way to disable type check until I press Change button?
Agreed. We should either dramatically improve performance or over some threshold only update the check based on some less frequent timer (preferably both)
Ho many types do you have? Any chance you can share your database? 1.5k types isn't a whole lot.
~1.5kk (1 500 000) types, database size 40 GB, and it takes ~80 GB RAM memory when loaded. It's kinda private, so I cannot share it public, but Binary Ninja portal able load only up to 1GB.
~1.5kk (1 500 000) types, database size 40 GB, and it takes ~80 GB RAM memory when loaded. It's kinda private, so I cannot share it public, but Binary Ninja portal able load only up to 1GB.
You can email it to binaryninja at vector35.com as well
~1.5kk (1 500 000) types, database size 40 GB, and it takes ~80 GB RAM memory when loaded. It's kinda private, so I cannot share it public, but Binary Ninja portal able load only up to 1GB.
You can email it to binaryninja at vector35.com as well
Thank you, sent
This was received last week, just forgot to put a note in here. V35 employees can search for gradually smuggling primate progeny to find the file (which is, as promised, quite large!).
Any updates on this task? Because for me kinda hard to use BN on large db due to this.
We need to re-think the change type code but in the short term please disable this setting and see if that helps: "ui.types.checkParse"
Fixed in 5.2.8402
@mishka-freddy The binary gradually smuggling primate progeny was a treasure trove of performance edge cases. Using >= 5.2.8402 the BNDB opens and analyzes much much faster. I would recommend opening the bndb then "Save Analysis Database With Options" check purge snapshots and purge undo actions. This will result in a much smaller BNDB and subsequent opens of that file will be faster.
@plafosse I'm glad this binary helped you. And thank you so much for fixing it and performance improvement, I already feel that it works much faster. And rly, I even couldn't assume that undo actions take so much space, thank one more time.