Compare commits
No commits in common. "1bbe4bf3c70c10e516150c0adf0b275a2f5c0aa6" and "ac9879a4aacf25e4c3a880d5cc82039a53dc3052" have entirely different histories.
1bbe4bf3c7
...
ac9879a4aa
|
@ -1 +0,0 @@
|
|||
bin/
|
|
@ -24,7 +24,6 @@
|
|||
<classpathentry kind="src" path="Ghidra VersionTracking scripts"/>
|
||||
<classpathentry kind="src" path="Ghidra WildcardAssembler scripts"/>
|
||||
<classpathentry kind="src" path="Ghidra XEXLoaderWV scripts"/>
|
||||
<classpathentry kind="src" path="Home scripts"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-21.0.7.6-hotspot"/>
|
||||
<classpathentry kind="lib" path="C:/Projects/ghidra_11.3.2_PUBLIC/Ghidra/Processors/68000/lib/68000.jar" sourcepath="C:/Projects/ghidra_11.3.2_PUBLIC/Ghidra/Processors/68000/lib/68000-src.zip">
|
|
@ -0,0 +1 @@
|
|||
bin
|
|
@ -140,21 +140,5 @@
|
|||
<type>2</type>
|
||||
<location>C:/Users/Guus/AppData/Roaming/ghidra/ghidra_11.3.2_PUBLIC/Extensions/XEXLoaderWV/ghidra_scripts</location>
|
||||
</link>
|
||||
<link>
|
||||
<name>Home scripts</name>
|
||||
<type>2</type>
|
||||
<location>C:/Users/Guus/ghidra_scripts</location>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1748833253221</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
|
@ -0,0 +1,28 @@
|
|||
// @category _Reman3
|
||||
// @menupath Reman3.Test
|
||||
// @importpackage org.sqlite
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import re3lib.FunctionDatabase;
|
||||
import re3lib.RemanConfig;
|
||||
|
||||
public class Test extends GhidraScript {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
RemanConfig.INSTANCE = new RemanConfig(this);
|
||||
|
||||
// Example SQLite usage
|
||||
try (FunctionDatabase db = new FunctionDatabase(this)) {
|
||||
List<FunctionDatabase.FunctionEntry> entries = db.loadAllEntries();
|
||||
for (FunctionDatabase.FunctionEntry entry : entries) {
|
||||
println("entry.name: " + entry.name + " entry.address: " + entry.address + " entry.type: " + entry.type
|
||||
+ " calling_convention: " + entry.callingConvention + " return_type: " + entry.returnType);
|
||||
if (!entry.parameterNames.isEmpty()) {
|
||||
println(" parameters: " + entry.parameterNames + " | types: " + entry.parameterTypes);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue