-
I cant seem to populate a fidb, It always silently fails (FID Dbviewer is empty). There's no indication of anything going wrong, so what can I do to troubleshoot the issue? I'm trying to make a fidb using object files from FreeRTOS lib compiled for cortex-m4. I can hash a single function using the script (Shift+H) though. I'm following the direction in the help file and I'm not sure what I'm doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Do you get any errors when you run the Populate FidDb from programs... action? You should see a results popup dialog if anything gets ingested. You will need to post your step-by-step actions for us to help. I noticed that if the ingest encounters any program within the selected project folder, or its subfolders, that needs to be upgraded due to a Ghidra version change, the fidb population task will terminate immediately and not save any of its results. If this occurs you will get a popup indicating the details of a VersionException. I would think this should simply skip the offending file or force an temporary upgrade to allow it to be processed. I also noticed that when prompted to select a Processor Language you are actually selecting both a Language ID and Compiler Spec ID even though the settings dialog only shows the Language ID. Both of these must exactly match the program files being processed and will skip those that do not match both criteria. There is certainly much room for improvement in how the files are getting scanned and is rather error prone. |
Beta Was this translation helpful? Give feedback.
Do you get any errors when you run the Populate FidDb from programs... action? You should see a results popup dialog if anything gets ingested. You will need to post your step-by-step actions for us to help.
I noticed that if the ingest encounters any program within the selected project folder, or its subfolders, that needs to be upgraded due to a Ghidra version change, the fidb population task will terminate immediately and not save any of its results. If this occurs you will get a popup indicating the details of a VersionException. I would think this should simply skip the offending file or force an temporary upgrade to allow it to be processed.
I also noticed that when prompted to sele…