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

Enabling "intuition.library" causes analysis to error #2

Open
rmtew opened this issue Sep 30, 2023 · 1 comment
Open

Enabling "intuition.library" causes analysis to error #2

rmtew opened this issue Sep 30, 2023 · 1 comment

Comments

@rmtew
Copy link

rmtew commented Sep 30, 2023

If Intuition library is checked in "Amiga library calls" an error occurs related to RastPort. See next comment.

(FileDataTypeManager) Data organization upgrade required for Archive 'amiga_ndk39': null

@rmtew
Copy link
Author

rmtew commented Sep 30, 2023

This error was encountered in the analysis in both the following cases.

  1. I had a project being worked on and went to Analysis -> Auto Analyse -> Amiga library calls. Then enabled dos/graphics/intuition/diskfont/exec libraries post-analysis in the analysis settings.
  2. I started a new project and reloaded the executable and selected the libraries and then analysed.
(These messages are also written to the application log file)

Invalid DataType name: RastPort	*
java.lang.IllegalArgumentException: Invalid DataType name: RastPort	*
	at ghidra.program.model.data.AbstractDataType.<init>(AbstractDataType.java:49)
	at ghidra.program.model.data.DataTypeImpl.<init>(DataTypeImpl.java:54)
	at ghidra.program.model.data.DataTypeImpl.<init>(DataTypeImpl.java:48)
	at ghidra.program.model.data.GenericDataType.<init>(GenericDataType.java:28)
	at ghidra.program.model.data.TypedefDataType.<init>(TypedefDataType.java:64)
	at ghidra.program.model.data.TypedefDataType.<init>(TypedefDataType.java:43)
	at ghidra.program.database.data.DataTypeManagerDB.findDataTypes(DataTypeManagerDB.java:2004)
	at amiga.AmigaHunkAnalyzer.getAmigaDataType(AmigaHunkAnalyzer.java:182)
	at amiga.AmigaHunkAnalyzer.createFunctionsSegment(AmigaHunkAnalyzer.java:231)
	at amiga.AmigaHunkAnalyzer.added(AmigaHunkAnalyzer.java:132)
	at ghidra.app.plugin.core.analysis.AnalysisScheduler.runAnalyzer(AnalysisScheduler.java:186)
	at ghidra.app.plugin.core.analysis.AnalysisTask.applyTo(AnalysisTask.java:39)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager$AnalysisTaskWrapper.run(AutoAnalysisManager.java:690)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:790)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:669)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:634)
	at ghidra.app.plugin.core.analysis.AnalysisBackgroundCommand.applyTo(AnalysisBackgroundCommand.java:58)
	at ghidra.framework.plugintool.mgr.BackgroundCommandTask.run(BackgroundCommandTask.java:102)
	at ghidra.framework.plugintool.mgr.ToolTaskManager.run(ToolTaskManager.java:336)
	at java.base/java.lang.Thread.run(Thread.java:833)

@rmtew rmtew changed the title Incorrect call analysis Bundled symbols erroneous or incomplete? Sep 30, 2023
@rmtew rmtew changed the title Bundled symbols erroneous or incomplete? Enabling "intuition.library" causes analysis to error Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant