Skip to content
gbertaoPublic

About

Learning how to use the ld-script

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My ld-script lab

Some code to learn ld-script language.

exp 1: Write a binary that returns 10 as a status code using only the ld script.

exp 2: Allocate a memory block to store the binary.

exp 3: Allocate .data block.

exp 4: Write to read-only memory. (Nothing happened, the read-only attribute was ignored).

exp 5: Multi-part assembly combined at the link phase.

exp 6: Add bytes to print buffer.

exp 7: Re-write function's .text.

exp 8: Jump to external assembly.

exp 9: Compare binary and elf64-x86-64 output.

About

Learning how to use the ld-script

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages