Skip to content

optimize BinExport read_bytes performance #2061

@williballenthin

Description

@williballenthin

It appears that we're creating a new PE/ELFFILE object per function, when we should be creating these once per analysis. Commenting out extract_insn_bytes_features (the caller) resulted in a significant performance improvement. @mr-tz this is a good place to start investigating for a performance bump, starting by seeing if we can store the PE/ELFFile object once in the AnalysisContext.

please read thread started by @mike-hunhoff in #1950 (comment)_

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions