mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 11:31:43 +00:00
Relax source for IP info during build
This commit is contained in:
parent
bbd72ed943
commit
33bba9e614
@ -204,17 +204,17 @@ def isBashSourceFile(File file) {
|
||||
* Gets the ip for a file in the module from its header (or certification.manifest)
|
||||
*********************************************************************************/
|
||||
def getIp(File projectDir, File file) {
|
||||
String ip = null;
|
||||
if (isCSourceFile(file)) {
|
||||
return getIpForSourceFile(file, " * IP:");
|
||||
ip = getIpForSourceFile(file, " * IP:");
|
||||
}
|
||||
if (isBashSourceFile(file)) {
|
||||
String ip = getIpForSourceFile(file, "# IP:");
|
||||
// allow transition from certification.manifest entry
|
||||
if (ip != null) {
|
||||
return ip;
|
||||
}
|
||||
else if (isBashSourceFile(file)) {
|
||||
ip = getIpForSourceFile(file, "# IP:");
|
||||
}
|
||||
return getIpForNonSourceFile(projectDir, file);
|
||||
if (ip == null) {
|
||||
ip = getIpForNonSourceFile(projectDir, file);
|
||||
}
|
||||
return ip;
|
||||
}
|
||||
|
||||
/*********************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user