Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FnSetExtractorPlugin should not automatically disassemble all files in the project #62

Open
sei-eschwartz opened this issue Dec 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sei-eschwartz
Copy link

Describe the bug
https://sourcegraph.com/github.com/CERTCC/kaiju/-/blob/src/main/java/kaiju/tools/fse/FnSetExtractor.java?L78

To Reproduce

  1. Have files in project.
  2. Configure FnSetExtractorPlugin

Here's some logging of a disassembly I didn't initiate or expect:

2023-12-11 12:00:06 WARN  (GhidraPluginsConfiguration) Unable to find plugin package 'CERT Kaiju' while restoring plugins from xml  
2023-12-11 12:00:08 INFO  (PackedDatabaseCache) Packed database cache: /tmp/ed-Ghidra/packed-db-cache  
2023-12-11 12:00:08 DEBUG (PackedDatabaseCache) Using cached packed database: /home/ed/ghidra/ghidra_10.4_PUBLIC/Ghidra/Features/Base/data/typeinfo/generic/generic_clib_64.gdt  
2023-12-11 12:00:10 ERROR (ObjectPropertyMapDB) Object property class not found: kaiju.hashing.FnHashSaveable  
2023-12-11 12:01:01 INFO  (ExtensionTableProvider) Extensions Changed!: Please restart Ghidra for extension changes to take effect.  
2023-12-11 12:01:06 DEBUG (DefaultProjectData) Closing ProjectData: /home/ed/ghidra_project.rep  
2023-12-11 12:01:06 DEBUG (DefaultProjectData) Disposing ProjectData: /home/ed/ghidra_project.rep  
2023-12-11 12:01:08 INFO  (LoggingInitialization) Using log config file: jar:file:/home/ed/ghidra/ghidra_10.4_PUBLIC/Ghidra/Framework/Generic/lib/Generic.jar!/generic.log4j.xml  
2023-12-11 12:01:08 INFO  (LoggingInitialization) Using log file: /home/ed/.ghidra/.ghidra_10.4_PUBLIC/application.log  
2023-12-11 12:01:08 INFO  (Preferences) Loading user preferences: /home/ed/.ghidra/.ghidra_10.4_PUBLIC/preferences  
2023-12-11 12:01:08 INFO  (Preferences) Loading previous preferences: /home/ed/.ghidra/.ghidra_10.3.2_PUBLIC/preferences  
2023-12-11 12:01:08 INFO  (ClassSearcher) Searching for classes...  
2023-12-11 12:01:10 INFO  (ClassSearcher) Class search complete (1166 ms)  
2023-12-11 12:01:10 INFO  (SSLContextInitializer) Initializing SSL Context  
2023-12-11 12:01:10 INFO  (SecureRandomFactory) Initializing Random Number Generator...  
2023-12-11 12:01:10 INFO  (SecureRandomFactory) Random Number Generator initialization complete: NativePRNGNonBlocking  
2023-12-11 12:01:10 INFO  (ApplicationTrustManagerFactory) Trust manager disabled, cacerts have not been set  
2023-12-11 12:01:10 INFO  (GhidraRun) User ed started Ghidra.  
2023-12-11 12:01:11 DEBUG (RecoverySnapshotMgrPlugin) Recovery snapshot timer set to 5 minute(s)  
2023-12-11 12:01:11 INFO  (DefaultProject) Opening project: /home/ed/ghidra_project  
2023-12-11 12:01:31 INFO  (PackedDatabaseCache) Packed database cache: /tmp/ed-Ghidra/packed-db-cache  
2023-12-11 12:01:31 DEBUG (PackedDatabaseCache) Using cached packed database: /home/ed/ghidra/ghidra_10.4_PUBLIC/Ghidra/Features/Base/data/typeinfo/generic/generic_clib_64.gdt  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Upgrading Default Settings...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Upgrading Instance Settings...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Fixing Properties...  
2023-12-11 12:01:39 INFO  (ProgramDB) Updating language version for Program 01a67ebd5435a5e0f0cad1faf893b3a1: x86/little/64/default (Version 2.14  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Updating language...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Preparing for Re-Disassembly...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Clearing Old Instructions...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Performing Re-Disassembly...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Updating Datatype Sizes...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Upgrading Default Settings...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Upgrading Instance Settings...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Fixing Properties...  
2023-12-11 12:01:39 INFO  (ProgramDB) Updating language version for Program 8D1F0: x86/little/64/default (Version 2.14  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Updating language...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Preparing for Re-Disassembly...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Clearing Old Instructions...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Performing Re-Disassembly...  
2023-12-11 12:01:39 INFO  (ConsoleTaskMonitor) Updating Datatype Sizes...  
2023-12-11 12:01:40 INFO  (ConsoleTaskMonitor) Upgrading Symbol Table...  
2023-12-11 12:01:45 INFO  (ConsoleTaskMonitor) Upgrading Default Settings...  
2023-12-11 12:01:45 INFO  (ConsoleTaskMonitor) Upgrading Instance Settings...  
2023-12-11 12:01:45 INFO  (ConsoleTaskMonitor) Fixing Properties...  
2023-12-11 12:01:45 INFO  (ProgramDB) Updating language version for Program BattleForge.exe: x86/little/32/default (Version 2.14  
2023-12-11 12:01:45 INFO  (ConsoleTaskMonitor) Updating language...  
2023-12-11 12:01:45 INFO  (ConsoleTaskMonitor) Preparing for Re-Disassembly...  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Clearing Old Instructions...  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Performing Re-Disassembly...  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  1 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  2 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  3 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  4 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  5 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  6 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  7 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  8 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  9 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  10 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  11 K  
2023-12-11 12:01:48 INFO  (ConsoleTaskMonitor) Disassembled  12 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  13 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  14 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  15 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  16 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  17 K  
2023-12-11 12:01:49 INFO  (ConsoleTaskMonitor) Disassembled  18 K  
@sei-eschwartz sei-eschwartz added the bug Something isn't working label Dec 11, 2023
@sei-eschwartz sei-eschwartz changed the title FnSetExtractorPlugin should not automatically disassemble all files in he project FnSetExtractorPlugin should not automatically disassemble all files in the project Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants