2020-05-16 10:07:10 +02:00
|
|
|
format ELF
|
|
|
|
|
|
|
|
include "__lib__.inc"
|
|
|
|
|
|
|
|
fun equ sample_symbol
|
|
|
|
fun_str equ 'sample_symbol'
|
|
|
|
|
2021-04-23 22:54:03 +02:00
|
|
|
section '.text'
|
2020-05-16 10:07:10 +02:00
|
|
|
|
|
|
|
fun_name db fun_str, 0
|
|
|
|
|
|
|
|
section '.data'
|
|
|
|
|
|
|
|
extrn lib_name
|
|
|
|
public fun
|
|
|
|
|
|
|
|
fun dd fun_name
|
|
|
|
lib dd lib_name
|