Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created August 30, 2016 22:31
Show Gist options
  • Save lovesegfault/cd703697f01a06c6ab5a95490ddc1ec6 to your computer and use it in GitHub Desktop.
Save lovesegfault/cd703697f01a06c6ab5a95490ddc1ec6 to your computer and use it in GitHub Desktop.
build/x86_64/DaedalOS-x86_64.bin: file format elf64-x86-64
build/x86_64/DaedalOS-x86_64.bin
architecture: i386:x86-64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000000100330
Program Header:
LOAD off 0x0000000000001000 vaddr 0x0000000000100000 paddr 0x0000000000100000 align 2**12
filesz 0x0000000000001140 memsz 0x0000000000001140 flags r-x
LOAD off 0x0000000000003000 vaddr 0x0000000000102000 paddr 0x0000000000102000 align 2**12
filesz 0x0000000000000000 memsz 0x0000000000003060 flags rw-
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000437 0000000000100000 0000000000100000 00001000 2**12
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 00000022 0000000000101000 0000000000101000 00002000 2**12
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .eh_frame 00000118 0000000000101028 0000000000101028 00002028 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .bss 00003060 0000000000102000 0000000000102000 00003000 2**12
ALLOC
4 .comment 00000011 0000000000000000 0000000000000000 00002140 2**0
CONTENTS, READONLY
SYMBOL TABLE:
0000000000100000 l d .text 0000000000000000 .text
0000000000101000 l d .rodata 0000000000000000 .rodata
0000000000101028 l d .eh_frame 0000000000000000 .eh_frame
0000000000102000 l d .bss 0000000000000000 .bss
0000000000000000 l d .comment 0000000000000000 .comment
0000000000000000 l df *ABS* 0000000000000000 kernel/x86_64/multiboot_header.asm
0000000000100000 l .text 0000000000000000 header_start
0000000000100018 l .text 0000000000000000 header_end
0000000000000000 l df *ABS* 0000000000000000 kernel.c
0000000000000000 l df *ABS* 0000000000000000 kernel/x86_64/long_mode_init.asm
0000000000000000 l df *ABS* 0000000000000000 kernel/x86_64/boot.asm
0000000000100366 l .text 0000000000000000 set_up_page_tables
0000000000100385 l .text 0000000000000000 set_up_page_tables.map_p2_table
00000000001003a2 l .text 0000000000000000 enable_paging
00000000001003cd l .text 0000000000000000 error
00000000001003f1 l .text 0000000000000000 check_multiboot
00000000001003f9 l .text 0000000000000000 check_multiboot.no_multiboot
00000000001003fd l .text 0000000000000000 check_cpuid
0000000000100411 l .text 0000000000000000 check_cpuid.no_cpuid
0000000000100415 l .text 0000000000000000 check_long_mode
0000000000100433 l .text 0000000000000000 check_long_mode.no_long_mode
0000000000102000 l .bss 0000000000000000 p4_table
0000000000103000 l .bss 0000000000000000 p3_table
0000000000104000 l .bss 0000000000000000 p2_table
0000000000105000 l .bss 0000000000000000 stack_bottom
0000000000105040 l .bss 0000000000000000 stack_top
0000000000101000 l .rodata 0000000000000000 gdt64
0000000000000008 l *ABS* 0000000000000000 gdt64.code
0000000000000010 l *ABS* 0000000000000000 gdt64.data
0000000000101018 l .rodata 0000000000000000 gdt64.pointer
0000000000105040 g O .bss 0000000000000001 terminal_color
0000000000100240 g F .text 000000000000003c terminal_writestring
0000000000100030 g F .text 000000000000000d make_vgaentry
00000000001001a0 g F .text 000000000000009a terminal_putchar
0000000000100280 g F .text 000000000000009b kernel_main
00000000001000c0 g F .text 0000000000000008 terminal_setcolor
0000000000100060 g F .text 000000000000005c terminal_initialize
0000000000100020 g F .text 0000000000000008 make_color
0000000000105048 g O .bss 0000000000000008 terminal_column
0000000000100100 g F .text 0000000000000093 terminal_scroll
0000000000105050 g O .bss 0000000000000008 terminal_buffer
0000000000100320 g .text 0000000000000000 long_mode_start
0000000000100330 g .text 0000000000000000 start
0000000000100040 g F .text 000000000000001e strlen
0000000000105058 g O .bss 0000000000000008 terminal_row
00000000001000d0 g F .text 0000000000000021 terminal_putentryat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment