1
Fork 0

inverse headers

main
Motiejus Jakštys 2022-07-06 11:17:52 +03:00
parent 9f69a972ee
commit cb9250010e
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ fn execute(
\\Groups: {[groups]d} \\Groups: {[groups]d}
\\Shells: {[shells]d} \\Shells: {[shells]d}
\\Sections: \\Sections:
\\ Name Begin End Size \\ Name Begin End Size
\\ \\
; ;
stdout.print(template, info) catch {}; stdout.print(template, info) catch {};
@ -153,7 +153,7 @@ fn execute(
const start = @field(offsets, field.name); const start = @field(offsets, field.name);
const end = start + @field(lengths, field.name); const end = start + @field(lengths, field.name);
stdout.print("{s:>21} {x:0>8} {x:0>8} {s:>10}\n", .{ stdout.print(" {s:<21}{x:0>8} {x:0>8} {s:>10}\n", .{
field.name, field.name,
start << section_length_bits, start << section_length_bits,
end << section_length_bits, end << section_length_bits,