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" +
|
||||
Optional.ofNullable(f.getCallFixup())
|
||||
.orElse("nofixup") + "\t" +
|
||||
f.getName(true) + "\t" +
|
||||
f.getName(true) +
|
||||
String.join(
|
||||
"\t",
|
||||
"",
|
||||
Arrays.stream(f.getSignature(true)
|
||||
.getArguments())
|
||||
.map(arg ->
|
||||
arg.getDataType().getDisplayName() + "\t" +
|
||||
arg.getName()
|
||||
"\t" + arg.getDataType().getDisplayName() +
|
||||
"\t" + arg.getName()
|
||||
).toArray(String[]::new)
|
||||
) +
|
||||
(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