-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Allow extensions to override default archives in Apply Data Archives analyzer #9066
Description
Is your feature request related to a problem? Please describe.
The auto detection chooser in the Apply Data Archives analyzer chooses a built-in data type archive based on the result of DataTypeArchiveUtility.getArchiveList(). This returns a list of archives to add based on hardcoded logic. The generic_clib archive that gets created by default does not work well with more exotic processors using non-standard typedefs, structs and function definitions.
Describe the solution you'd like
A processor module or other extension being able to customize what data type archives are used by the auto-detect feature, ideally being able to use Java to specify exact logic in what is chosen. Alternatively, a processor module being able to disable the Apply Data Archives analyzer by default and replace its functionality with a new analyzer.
Describe alternatives you've considered
The user either has to know to manually change to a different data type archive in the analysis options, or a processor module could allow the Apply Data Archives analyzer to run but undo what it does with its own analyzer.