Also objdumps of before and after, in case someone can tell the difference
ââroot@sna in /boot/efi/EFI/Linux took 1ms
â°âλ objdump -x linux.unsigned.efi
linux.unsigned.efi: file format pei-x86-64
linux.unsigned.efi
architecture: i386:x86-64, flags 0x00000103:
HAS_RELOC, EXEC_P, D_PAGED
start address 0x000000014df9cbc0
Characteristics 0x22e
executable
line numbers stripped
symbols stripped
large address aware
debugging information removed
Time/Date Wed Sep 27 14:11:01 2023
Magic 020b (PE32+)
MajorLinkerVersion 0
MinorLinkerVersion 0
SizeOfCode 000000000000bcee
SizeOfInitializedData 00000000039e70a0
SizeOfUninitializedData 0000000000000000
AddressOfEntryPoint 000000000000cbc0
BaseOfCode 0000000000001000
ImageBase 000000014df90000
SectionAlignment 00001000
FileAlignment 00000200
MajorOSystemVersion 0
MinorOSystemVersion 0
MajorImageVersion 254
MinorImageVersion 0
MajorSubsystemVersion 1
MinorSubsystemVersion 1
Win32Version 00000000
SizeOfImage 039fc000
SizeOfHeaders 00000400
CheckSum 00000000
Subsystem 0000000a (EFI application)
DllCharacteristics 00000160
HIGH_ENTROPY_VA
DYNAMIC_BASE
NX_COMPAT
SizeOfStackReserve 0000000000100000
SizeOfStackCommit 0000000000001000
SizeOfHeapReserve 0000000000100000
SizeOfHeapCommit 0000000000001000
LoaderFlags 00000000
NumberOfRvaAndSizes 00000010
The Data Directory
Entry 0 0000000000000000 00000000 Export Directory [.edata (or where ever we found it)]
Entry 1 0000000000000000 00000000 Import Directory [parts of .idata]
Entry 2 0000000000000000 00000000 Resource Directory [.rsrc]
Entry 3 0000000000000000 00000000 Exception Directory [.pdata]
Entry 4 0000000000000000 00000000 Security Directory
Entry 5 0000000000013000 00000078 Base Relocation Directory [.reloc]
Entry 6 0000000000000000 00000000 Debug Directory
Entry 7 0000000000000000 00000000 Description Directory
Entry 8 0000000000000000 00000000 Special Directory
Entry 9 0000000000000000 00000000 Thread Storage Directory [.tls]
Entry a 0000000000000000 00000000 Load Configuration Directory
Entry b 0000000000000000 00000000 Bound Import Directory
Entry c 0000000000000000 00000000 Import Address Table Directory
Entry d 0000000000000000 00000000 Delay Import Directory
Entry e 0000000000000000 00000000 CLR Runtime Header
Entry f 0000000000000000 00000000 Reserved
PE File Base Relocations (interpreted .reloc section contents)
Virtual Address: 00010000 Chunk size 120 (0x78) Number of fixups 56
reloc 0 offset 0 [10000] ABSOLUTE
reloc 1 offset 20 [10020] DIR64
reloc 2 offset 28 [10028] DIR64
reloc 3 offset 30 [10030] DIR64
reloc 4 offset 38 [10038] DIR64
reloc 5 offset 40 [10040] DIR64
reloc 6 offset 48 [10048] DIR64
reloc 7 offset 50 [10050] DIR64
reloc 8 offset 58 [10058] DIR64
reloc 9 offset 60 [10060] DIR64
reloc 10 offset 68 [10068] DIR64
reloc 11 offset 70 [10070] DIR64
reloc 12 offset 78 [10078] DIR64
reloc 13 offset 80 [10080] DIR64
reloc 14 offset 88 [10088] DIR64
reloc 15 offset 90 [10090] DIR64
reloc 16 offset 98 [10098] DIR64
reloc 17 offset a0 [100a0] DIR64
reloc 18 offset a8 [100a8] DIR64
reloc 19 offset b0 [100b0] DIR64
reloc 20 offset b8 [100b8] DIR64
reloc 21 offset c0 [100c0] DIR64
reloc 22 offset c8 [100c8] DIR64
reloc 23 offset d0 [100d0] DIR64
reloc 24 offset d8 [100d8] DIR64
reloc 25 offset e0 [100e0] DIR64
reloc 26 offset e8 [100e8] DIR64
reloc 27 offset f0 [100f0] DIR64
reloc 28 offset f8 [100f8] DIR64
reloc 29 offset 100 [10100] DIR64
reloc 30 offset 108 [10108] DIR64
reloc 31 offset 110 [10110] DIR64
reloc 32 offset 118 [10118] DIR64
reloc 33 offset 120 [10120] DIR64
reloc 34 offset 128 [10128] DIR64
reloc 35 offset 130 [10130] DIR64
reloc 36 offset 138 [10138] DIR64
reloc 37 offset 140 [10140] DIR64
reloc 38 offset 148 [10148] DIR64
reloc 39 offset 150 [10150] DIR64
reloc 40 offset 158 [10158] DIR64
reloc 41 offset 160 [10160] DIR64
reloc 42 offset 168 [10168] DIR64
reloc 43 offset 170 [10170] DIR64
reloc 44 offset 178 [10178] DIR64
reloc 45 offset 180 [10180] DIR64
reloc 46 offset 188 [10188] DIR64
reloc 47 offset 190 [10190] DIR64
reloc 48 offset 198 [10198] DIR64
reloc 49 offset 1a0 [101a0] DIR64
reloc 50 offset 1a8 [101a8] DIR64
reloc 51 offset 1b0 [101b0] DIR64
reloc 52 offset 1b8 [101b8] DIR64
reloc 53 offset 1c0 [101c0] DIR64
reloc 54 offset 1c8 [101c8] DIR64
reloc 55 offset 1e0 [101e0] DIR64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000bcee 000000014df91000 000000014df91000 00000400 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 000022dc 000000014df9d000 000000014df9d000 0000c200 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .data 00000268 000000014dfa0000 000000014dfa0000 0000e600 2**4
CONTENTS, ALLOC, LOAD, DATA
3 .sdmagic 00000030 000000014dfa1000 000000014dfa1000 0000ea00 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .sbat 000000ea 000000014dfa2000 000000014dfa2000 0000ec00 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 .reloc 00000078 000000014dfa3000 000000014dfa3000 0000ee00 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 .osrel 00000187 000000014dfa4000 000000014dfa4000 0000f000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 .cmdline 000000d5 000000014dfa5000 000000014dfa5000 0000f200 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .uname 00000010 000000014dfa6000 000000014dfa6000 0000f400 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .initrd 02ccbf3e 000000014dfa7000 000000014dfa7000 0000f600 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
10 .linux 00d18820 0000000150c73000 0000000150c73000 02cdb600 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
SYMBOL TABLE:
no symbols
ââroot@sna in /boot/efi/EFI/Linux took 20ms
â°âλ objdump -x linux-zen-signed.orig
linux-zen-signed.orig: file format pei-x86-64
linux-zen-signed.orig
architecture: i386:x86-64, flags 0x00000103:
HAS_RELOC, EXEC_P, D_PAGED
start address 0x000000014df9cbc0
Characteristics 0x22e
executable
line numbers stripped
symbols stripped
large address aware
debugging information removed
Time/Date Mon Oct 2 00:47:20 2023
Magic 020b (PE32+)
MajorLinkerVersion 2
MinorLinkerVersion 41
SizeOfCode 000000000000be00
SizeOfInitializedData 00000000039e7c00
SizeOfUninitializedData 0000000000000000
AddressOfEntryPoint 000000000000cbc0
BaseOfCode 0000000000001000
ImageBase 000000014df90000
SectionAlignment 00001000
FileAlignment 00000200
MajorOSystemVersion 0
MinorOSystemVersion 0
MajorImageVersion 254
MinorImageVersion 0
MajorSubsystemVersion 1
MinorSubsystemVersion 1
Win32Version 00000000
SizeOfImage 00014000
SizeOfHeaders 00000400
CheckSum 03a013de
Subsystem 0000000a (EFI application)
DllCharacteristics 00000160
HIGH_ENTROPY_VA
DYNAMIC_BASE
NX_COMPAT
SizeOfStackReserve 0000000000100000
SizeOfStackCommit 0000000000001000
SizeOfHeapReserve 0000000000100000
SizeOfHeapCommit 0000000000001000
LoaderFlags 00000000
NumberOfRvaAndSizes 00000010
The Data Directory
Entry 0 0000000000000000 00000000 Export Directory [.edata (or where ever we found it)]
Entry 1 0000000000000000 00000000 Import Directory [parts of .idata]
Entry 2 0000000000000000 00000000 Resource Directory [.rsrc]
Entry 3 0000000000000000 00000000 Exception Directory [.pdata]
Entry 4 00000000039f3e00 00000618 Security Directory
Entry 5 0000000000013000 00000078 Base Relocation Directory [.reloc]
Entry 6 0000000000000000 00000000 Debug Directory
Entry 7 0000000000000000 00000000 Description Directory
Entry 8 0000000000000000 00000000 Special Directory
Entry 9 0000000000000000 00000000 Thread Storage Directory [.tls]
Entry a 0000000000000000 00000000 Load Configuration Directory
Entry b 0000000000000000 00000000 Bound Import Directory
Entry c 0000000000000000 00000000 Import Address Table Directory
Entry d 0000000000000000 00000000 Delay Import Directory
Entry e 0000000000000000 00000000 CLR Runtime Header
Entry f 0000000000000000 00000000 Reserved
PE File Base Relocations (interpreted .reloc section contents)
Virtual Address: 00010000 Chunk size 120 (0x78) Number of fixups 56
reloc 0 offset 0 [10000] ABSOLUTE
reloc 1 offset 20 [10020] DIR64
reloc 2 offset 28 [10028] DIR64
reloc 3 offset 30 [10030] DIR64
reloc 4 offset 38 [10038] DIR64
reloc 5 offset 40 [10040] DIR64
reloc 6 offset 48 [10048] DIR64
reloc 7 offset 50 [10050] DIR64
reloc 8 offset 58 [10058] DIR64
reloc 9 offset 60 [10060] DIR64
reloc 10 offset 68 [10068] DIR64
reloc 11 offset 70 [10070] DIR64
reloc 12 offset 78 [10078] DIR64
reloc 13 offset 80 [10080] DIR64
reloc 14 offset 88 [10088] DIR64
reloc 15 offset 90 [10090] DIR64
reloc 16 offset 98 [10098] DIR64
reloc 17 offset a0 [100a0] DIR64
reloc 18 offset a8 [100a8] DIR64
reloc 19 offset b0 [100b0] DIR64
reloc 20 offset b8 [100b8] DIR64
reloc 21 offset c0 [100c0] DIR64
reloc 22 offset c8 [100c8] DIR64
reloc 23 offset d0 [100d0] DIR64
reloc 24 offset d8 [100d8] DIR64
reloc 25 offset e0 [100e0] DIR64
reloc 26 offset e8 [100e8] DIR64
reloc 27 offset f0 [100f0] DIR64
reloc 28 offset f8 [100f8] DIR64
reloc 29 offset 100 [10100] DIR64
reloc 30 offset 108 [10108] DIR64
reloc 31 offset 110 [10110] DIR64
reloc 32 offset 118 [10118] DIR64
reloc 33 offset 120 [10120] DIR64
reloc 34 offset 128 [10128] DIR64
reloc 35 offset 130 [10130] DIR64
reloc 36 offset 138 [10138] DIR64
reloc 37 offset 140 [10140] DIR64
reloc 38 offset 148 [10148] DIR64
reloc 39 offset 150 [10150] DIR64
reloc 40 offset 158 [10158] DIR64
reloc 41 offset 160 [10160] DIR64
reloc 42 offset 168 [10168] DIR64
reloc 43 offset 170 [10170] DIR64
reloc 44 offset 178 [10178] DIR64
reloc 45 offset 180 [10180] DIR64
reloc 46 offset 188 [10188] DIR64
reloc 47 offset 190 [10190] DIR64
reloc 48 offset 198 [10198] DIR64
reloc 49 offset 1a0 [101a0] DIR64
reloc 50 offset 1a8 [101a8] DIR64
reloc 51 offset 1b0 [101b0] DIR64
reloc 52 offset 1b8 [101b8] DIR64
reloc 53 offset 1c0 [101c0] DIR64
reloc 54 offset 1c8 [101c8] DIR64
reloc 55 offset 1e0 [101e0] DIR64
Sections:
Idx Name Size VMA LMA File off Algn
0 .osrel 00000163 0000000200020000 0000000200020000 00000400 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .cmdline 000000d5 0000000200030000 0000000200030000 00000600 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .linux 00d18820 0000000202000000 0000000202000000 00000800 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .initrd 02ccbf3e 0000000203000000 0000000203000000 00d19200 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .text 0000bcee 000000014df91000 000000014df91000 039e5200 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
5 .rodata 000022dc 000000014df9d000 000000014df9d000 039f1000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 .data 00000268 000000014dfa0000 000000014dfa0000 039f3400 2**4
CONTENTS, ALLOC, LOAD, DATA
7 .sdmagic 00000030 000000014dfa1000 000000014dfa1000 039f3800 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .sbat 000000ea 000000014dfa2000 000000014dfa2000 039f3a00 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .reloc 00000078 000000014dfa3000 000000014dfa3000 039f3c00 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
SYMBOL TABLE:
no symbols