You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run the CROLinkingScript on DLLBattle in Pokemon Alpha Sapphire, the following error is returned:
Cannot invoke "ghidra.program.model.listing.Function.setThunkedFunction(ghidra.program.model.listing.Function)" because "func" is null
java.lang.NullPointerException: Cannot invoke "ghidra.program.model.listing.Function.setThunkedFunction(ghidra.program.model.listing.Function)" because "func" is null
at com.martmists.ctr.common.CROUtilities$DefaultImpls.createReferenceTo(CROUtilities.kt:161)
at com.martmists.ctr.script.CROLinkingScriptImpl.createReferenceTo(CROLinkingScriptImpl.kt:10)
at com.martmists.ctr.script.CROLinkingScriptImpl.run(CROLinkingScriptImpl.kt:73)
at ghidra.app.script.GhidraScript.executeNormal(GhidraScript.java:403)
at ghidra.app.script.GhidraScript.doExecute(GhidraScript.java:258)
at ghidra.app.script.GhidraScript.execute(GhidraScript.java:236)
at ghidra.app.plugin.core.script.RunScriptTask.run(RunScriptTask.java:47)
at ghidra.util.task.Task.monitoredRun(Task.java:134)
at ghidra.util.task.TaskRunner.lambda$startTaskThread$0(TaskRunner.java:106)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
---------------------------------------------------
Build Date: 2023-Dec-22 0936 EST
Ghidra Version: 11.0
Java Home: C:\Program Files\OpenLogic\jdk-17.0.9.9-hotspot
JVM Version: OpenLogic 17.0.9
OS: Windows 11 10.0 amd64
Workstation: TIM-PC
Steps to Reproduce:
Analyze the file
Run the CROStructPlacementScript to apply the table headers (Are these supposed to be getting applied automatically?)
Run the CROLinkingScript
The error is generated
I am going to try and debug this, but @Martmists-GH is this the correct way to use the provided scripts?
The text was updated successfully, but these errors were encountered:
When attempting to run the CROLinkingScript on DLLBattle in Pokemon Alpha Sapphire, the following error is returned:
Steps to Reproduce:
I am going to try and debug this, but @Martmists-GH is this the correct way to use the provided scripts?
The text was updated successfully, but these errors were encountered: