Skip to content

Instantly share code, notes, and snippets.

@zid

zid/kernel.txt Secret

Created February 7, 2022 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zid/608777da3a9246365551a41a10b34071 to your computer and use it in GitHub Desktop.
Save zid/608777da3a9246365551a41a10b34071 to your computer and use it in GitHub Desktop.
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x10000c
Start of program headers: 52 (bytes into file)
Start of section headers: 4336 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 2
Size of section headers: 40 (bytes)
Number of section headers: 5
Section header string table index: 4
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00100000 001000 00000e 00 AX 0 0 4096
[ 2] .symtab SYMTAB 00000000 001010 000070 10 3 6 4
[ 3] .strtab STRTAB 00000000 001080 00004f 00 0 0 1
[ 4] .shstrtab STRTAB 00000000 0010cf 000021 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
D (mbind), p (processor specific)
There are no section groups in this file.
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x001000 0x00100000 0x00100000 0x0000e 0x0000e R E 0x1000
LOAD 0x000074 0x00000000 0x00000000 0x00000 0x00000 0x1000
Section to Segment mapping:
Segment Sections...
00 .text
01
There is no dynamic section in this file.
There are no relocations in this file.
No processor specific unwind information to decode
Symbol table '.symtab' contains 7 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 FILE LOCAL DEFAULT ABS start.asm
2: 00100000 0 NOTYPE LOCAL DEFAULT 1 multiboot
3: 00100000 0 NOTYPE LOCAL DEFAULT 1 multiboot.magic
4: 00100004 0 NOTYPE LOCAL DEFAULT 1 multiboot.flags
5: 00100008 0 NOTYPE LOCAL DEFAULT 1 multiboot.checksum
6: 0010000c 0 NOTYPE GLOBAL DEFAULT 1 _start
No version information found in this file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment