mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
Compare commits
11 commits
1ae4378cfd
...
b70fcc57ee
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b70fcc57ee | ||
![]() |
1f0bd4a9e2 | ||
![]() |
0b102836d3 | ||
![]() |
78008fae1e | ||
![]() |
29ba2ca46d | ||
![]() |
799226dd3a | ||
![]() |
2e05cc5d2a | ||
![]() |
edea7dfd65 | ||
![]() |
b4a7848a30 | ||
![]() |
91a9a66a25 | ||
![]() |
41d9b7431e |
3 changed files with 6 additions and 3 deletions
|
@ -685,11 +685,11 @@ public class MachoProgramBuilder {
|
|||
int symbolIndex = indirectSymbols.get(i);
|
||||
NList symbol = symbolTableCommand.getSymbolAt(symbolIndex);
|
||||
String name = null;
|
||||
if (symbol != null) {
|
||||
if (symbol != null && !symbol.getString().isBlank()) {
|
||||
name = SymbolUtilities.replaceInvalidChars(symbol.getString(), true);
|
||||
}
|
||||
Function stubFunc = createOneByteFunction(program, name, startAddr);
|
||||
if (stubFunc != null && symbol != null) {
|
||||
if (stubFunc != null && name != null) {
|
||||
ExternalLocation loc = program.getExternalManager()
|
||||
.addExtLocation(Library.UNKNOWN, name, null, SourceType.IMPORTED);
|
||||
stubFunc.setThunkedFunction(loc.createFunction());
|
||||
|
|
|
@ -287,6 +287,9 @@ public abstract class AbstractFunctionTypeApplier extends MsDataTypeApplier {
|
|||
RecordNumber argsRecord = getArgListRecordNumber(type);
|
||||
AbstractMsType aType = applicator.getTypeRecord(argsRecord);
|
||||
if (!(aType instanceof AbstractArgumentsListMsType argsList)) {
|
||||
if (aType instanceof PrimitiveMsType pt && pt.isNoType()) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
throw new PdbException(
|
||||
"Expecting arguments list but got: " + aType.getClass().getSimpleName());
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue