mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +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:");
|
||||
}
|
||||
else if (isBashSourceFile(file)) {
|
||||
ip = getIpForSourceFile(file, "# IP:");
|
||||
}
|
||||
if (ip == null) {
|
||||
ip = getIpForNonSourceFile(projectDir, file);
|
||||
}
|
||||
if (isBashSourceFile(file)) {
|
||||
String ip = getIpForSourceFile(file, "# IP:");
|
||||
// allow transition from certification.manifest entry
|
||||
if (ip != null) {
|
||||
return ip;
|
||||
}
|
||||
}
|
||||
return getIpForNonSourceFile(projectDir, file);
|
||||
}
|
||||
|
||||
/*********************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user