mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 13:55:43 +08:00
Merge branch
'GP-1149_ryanmkurtz_PR-3088_stephengeorgewest_GhidraDev-exception' (Closes #3087, Closes #3088)
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<feature
|
<feature
|
||||||
id="ghidra.ghidradev"
|
id="ghidra.ghidradev"
|
||||||
label="GhidraDev"
|
label="GhidraDev"
|
||||||
version="2.1.3.qualifier"
|
version="2.1.4.qualifier"
|
||||||
provider-name="Ghidra">
|
provider-name="Ghidra">
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<h1>GhidraDev README</h1>
|
<h1>GhidraDev README</h1>
|
||||||
<p>GhidraDev provides support for developing and debugging Ghidra scripts and modules in Eclipse.
|
<p>GhidraDev provides support for developing and debugging Ghidra scripts and modules in Eclipse.
|
||||||
</p>
|
</p>
|
||||||
<p>The information provided in this document is effective as of GhidraDev 2.1.3 and is subject to
|
<p>The information provided in this document is effective as of GhidraDev 2.1.4 and is subject to
|
||||||
change with future releases.</p>
|
change with future releases.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -53,6 +53,8 @@ change with future releases.</p>
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2><a name="ChangeHistory"></a>Change History</h2>
|
<h2><a name="ChangeHistory"></a>Change History</h2>
|
||||||
|
<p><u><b>2.1.4</b>:</u> Fixed exception that occurred when performing a "Link Ghidra" on projects
|
||||||
|
that use a Gradle classpath container.</p>
|
||||||
<p><u><b>2.1.3</b>:</u> Fixed a bug that prevented Ghidra projects from recognizing extensions
|
<p><u><b>2.1.3</b>:</u> Fixed a bug that prevented Ghidra projects from recognizing extensions
|
||||||
installed in the user's <i>~/.ghidra/.ghidra_<version>/Extensions</i> directory.</p>
|
installed in the user's <i>~/.ghidra/.ghidra_<version>/Extensions</i> directory.</p>
|
||||||
<p><u><b>2.1.2</b>:</u> Fixed exception that occurred when creating a new Ghidra scripting project
|
<p><u><b>2.1.2</b>:</u> Fixed exception that occurred when creating a new Ghidra scripting project
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Manifest-Version: 1.0
|
|||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: GhidraDev
|
Bundle-Name: GhidraDev
|
||||||
Bundle-SymbolicName: ghidra.ghidradev;singleton:=true
|
Bundle-SymbolicName: ghidra.ghidradev;singleton:=true
|
||||||
Bundle-Version: 2.1.3.qualifier
|
Bundle-Version: 2.1.4.qualifier
|
||||||
Bundle-Activator: ghidradev.Activator
|
Bundle-Activator: ghidradev.Activator
|
||||||
Require-Bundle: org.eclipse.ant.core;bundle-version="3.5.200",
|
Require-Bundle: org.eclipse.ant.core;bundle-version="3.5.200",
|
||||||
org.eclipse.buildship.core;bundle-version="3.0.0",
|
org.eclipse.buildship.core;bundle-version="3.0.0",
|
||||||
|
|||||||
+5
-3
@@ -388,9 +388,11 @@ public class GhidraProjectUtils {
|
|||||||
// If the project is linked to an old Ghidra, keep the list of source folders that are
|
// If the project is linked to an old Ghidra, keep the list of source folders that are
|
||||||
// linked to the Ghidra installation (after updating their paths to point to the new
|
// linked to the Ghidra installation (after updating their paths to point to the new
|
||||||
// Ghidra installation).
|
// Ghidra installation).
|
||||||
IFolder entryFolder =
|
IFolder entryFolder = null;
|
||||||
ResourcesPlugin.getWorkspace().getRoot().getFolder(entry.getPath());
|
if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
|
||||||
if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE && entryFolder.isLinked() &&
|
entryFolder = ResourcesPlugin.getWorkspace().getRoot().getFolder(entry.getPath());
|
||||||
|
}
|
||||||
|
if (entryFolder != null && entryFolder.isLinked() &&
|
||||||
oldGhidraInstallPath != null &&
|
oldGhidraInstallPath != null &&
|
||||||
oldGhidraInstallPath.isPrefixOf(entryFolder.getLocation())) {
|
oldGhidraInstallPath.isPrefixOf(entryFolder.getLocation())) {
|
||||||
String origPath = entryFolder.getLocation().toString();
|
String origPath = entryFolder.getLocation().toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user