add macOS macho-o dynamic library file extension .dylib to file dialog filter

The `LOADABLE_FILES_FILTER` `ExtensionFileFilter` contains well-known file extensions of loadable code files such as `.exe`, `.dll`, `.o`, etc but was missing `.dylib` used for dynamic libraries in Mach-O format on macOS
This commit is contained in:
Andrew Dunbar 2024-10-25 09:57:20 +07:00 committed by GitHub
parent aff12cd6e0
commit deaaadd7d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ public class ImporterUtilities {
* TODO: will be refactored to use file_extension_icon.xml file info. * TODO: will be refactored to use file_extension_icon.xml file info.
*/ */
public static final GhidraFileFilter LOADABLE_FILES_FILTER = ExtensionFileFilter.forExtensions( public static final GhidraFileFilter LOADABLE_FILES_FILTER = ExtensionFileFilter.forExtensions(
"Loadable files", "exe", "dll", "obj", "drv", "bin", "hex", "o", "a", "so", "class", "lib"); "Loadable files", "exe", "dll", "obj", "drv", "bin", "hex", "o", "a", "so", "class", "lib", "dylib");
/** /**
* File extension filter for well known 'container' files for GhidraFileChoosers. * File extension filter for well known 'container' files for GhidraFileChoosers.