Compare commits
4 Commits
ac9879a4aa
...
1bbe4bf3c7
Author | SHA1 | Date |
---|---|---|
|
1bbe4bf3c7 | |
|
1835eecb49 | |
|
7186b95de4 | |
|
3c6c7a6f65 |
|
@ -24,6 +24,7 @@
|
||||||
<classpathentry kind="src" path="Ghidra VersionTracking scripts"/>
|
<classpathentry kind="src" path="Ghidra VersionTracking scripts"/>
|
||||||
<classpathentry kind="src" path="Ghidra WildcardAssembler scripts"/>
|
<classpathentry kind="src" path="Ghidra WildcardAssembler scripts"/>
|
||||||
<classpathentry kind="src" path="Ghidra XEXLoaderWV 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.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="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">
|
<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,5 +140,21 @@
|
||||||
<type>2</type>
|
<type>2</type>
|
||||||
<location>C:/Users/Guus/AppData/Roaming/ghidra/ghidra_11.3.2_PUBLIC/Extensions/XEXLoaderWV/ghidra_scripts</location>
|
<location>C:/Users/Guus/AppData/Roaming/ghidra/ghidra_11.3.2_PUBLIC/Extensions/XEXLoaderWV/ghidra_scripts</location>
|
||||||
</link>
|
</link>
|
||||||
|
<link>
|
||||||
|
<name>Home scripts</name>
|
||||||
|
<type>2</type>
|
||||||
|
<location>C:/Users/Guus/ghidra_scripts</location>
|
||||||
|
</link>
|
||||||
</linkedResources>
|
</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>
|
</projectDescription>
|
|
@ -1 +0,0 @@
|
||||||
bin
|
|
|
@ -1,28 +0,0 @@
|
||||||
// @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