mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Fix whitespace in Ghidra export script output
Functions with no arguments had a trailing tab.
This commit is contained in:
parent
e0313fa0ba
commit
0b10a02ad7
2 changed files with 362 additions and 362 deletions
|
|
@ -70,14 +70,14 @@ public class EnhancedExport extends GhidraScript {
|
||||||
(f.isInline() ? "inline" : "notinline") + "\t" +
|
(f.isInline() ? "inline" : "notinline") + "\t" +
|
||||||
Optional.ofNullable(f.getCallFixup())
|
Optional.ofNullable(f.getCallFixup())
|
||||||
.orElse("nofixup") + "\t" +
|
.orElse("nofixup") + "\t" +
|
||||||
f.getName(true) + "\t" +
|
f.getName(true) +
|
||||||
String.join(
|
String.join(
|
||||||
"\t",
|
"",
|
||||||
Arrays.stream(f.getSignature(true)
|
Arrays.stream(f.getSignature(true)
|
||||||
.getArguments())
|
.getArguments())
|
||||||
.map(arg ->
|
.map(arg ->
|
||||||
arg.getDataType().getDisplayName() + "\t" +
|
"\t" + arg.getDataType().getDisplayName() +
|
||||||
arg.getName()
|
"\t" + arg.getName()
|
||||||
).toArray(String[]::new)
|
).toArray(String[]::new)
|
||||||
) +
|
) +
|
||||||
(f.hasVarArgs() ? "\t..." : "") + "\n"
|
(f.hasVarArgs() ? "\t..." : "") + "\n"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue