Skip to content

Instantly share code, notes, and snippets.

@zid

zid/kernel.txt Secret

Created February 7, 2022 17:48
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/e3b30fff7c0852b55eae1a84376f1765 to your computer and use it in GitHub Desktop.
Save zid/e3b30fff7c0852b55eae1a84376f1765 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: 8448 (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: 6
Section header string table index: 5
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] .data PROGBITS 00101000 002000 000001 00 WA 0 0 4096
[ 3] .symtab SYMTAB 00000000 002004 000080 10 4 7 4
[ 4] .strtab STRTAB 00000000 002084 000055 00 0 0 1
[ 5] .shstrtab STRTAB 00000000 0020d9 000027 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 0x002000 0x00101000 0x00101000 0x00001 0x00001 RW 0x1000
Section to Segment mapping:
Segment Sections...
00 .text
01 .data
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 8 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: 00101000 0 NOTYPE LOCAL DEFAULT 2 empty
7: 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