Skip to content

Commit ba595da

Browse files
committed
Initial commit
0 parents  commit ba595da

26 files changed

+782
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/bin/
2+
/.classpath
3+
/.project
4+
/.settings/
5+
/build/
6+
/.gradle/

Module.manifest

Whitespace-only changes.

build.gradle

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Builds a Ghidra Extension for a given Ghidra installation.
2+
//
3+
// An absolute path to the Ghidra installation directory must be supplied either by setting the
4+
// GHIDRA_INSTALL_DIR environment variable or Gradle project property:
5+
//
6+
// > export GHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
7+
// > gradle
8+
//
9+
// or
10+
//
11+
// > gradle -PGHIDRA_INSTALL_DIR=<Absolute path to Ghidra>
12+
//
13+
// Gradle should be invoked from the directory of the project to build. Please see the
14+
// application.gradle.version property in <GHIDRA_INSTALL_DIR>/Ghidra/application.properties
15+
// for the correction version of Gradle to use for the Ghidra installation you specify.
16+
17+
//----------------------START "DO NOT MODIFY" SECTION------------------------------
18+
def ghidraInstallDir
19+
20+
if (System.env.GHIDRA_INSTALL_DIR) {
21+
ghidraInstallDir = System.env.GHIDRA_INSTALL_DIR
22+
}
23+
else if (project.hasProperty("GHIDRA_INSTALL_DIR")) {
24+
ghidraInstallDir = project.getProperty("GHIDRA_INSTALL_DIR")
25+
}
26+
27+
if (ghidraInstallDir) {
28+
apply from: new File(ghidraInstallDir).getCanonicalPath() + "/support/buildExtension.gradle"
29+
}
30+
else {
31+
throw new GradleException("GHIDRA_INSTALL_DIR is not defined!")
32+
}
33+
//----------------------END "DO NOT MODIFY" SECTION-------------------------------
268 KB
Binary file not shown.

data/README.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The "data" directory is intended to hold data files that will be used by this module and will
2+
not end up in the .jar file, but will be present in the zip or tar file. Typically, data
3+
files are placed here rather than in the resources directory if the user may need to edit them.
4+
5+
An optional data/languages directory can exist for the purpose of containing various Sleigh language
6+
specification files and importer opinion files.
7+
8+
The data/buildLanguage.xml is used for building the contents of the data/languages directory.
9+
10+
The skel language definition has been commented-out within the skel.ldefs file so that the
11+
skeleton language does not show-up within Ghidra.
12+
13+
See the Sleigh language documentation (docs/languages/index.html) for details Sleigh language
14+
specification syntax.
15+
290 KB
Binary file not shown.

extension.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name=LX Loader
2+
description=Linear eXecutable (LX/LE/LC) loader with dos4gw/dos32a support and various customization options
3+
author=https://github.com/semocode
4+
createdOn=2020-10-14
5+
version=@extversion@

ghidra_scripts/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Java source directory to hold module-specific Ghidra scripts.

lib/README.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The "lib" directory is intended to hold Jar files which this module
2+
is dependent upon. This directory may be eliminated from a specific
3+
module if no other Jar files are needed.

lib/file-formats.jar

26.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)