2020-05-16 10:07:10 +02:00
|
|
|
format ELF
|
|
|
|
|
|
|
|
include "__lib__.inc"
|
|
|
|
|
2021-01-26 09:40:56 +01:00
|
|
|
fun equ http_head
|
2020-05-16 10:07:10 +02:00
|
|
|
fun_str equ 'head'
|
|
|
|
|
|
|
|
section '.text'
|
|
|
|
|
|
|
|
fun_name db fun_str, 0
|
|
|
|
|
|
|
|
section '.data'
|
|
|
|
|
|
|
|
extrn lib_name
|
|
|
|
public fun
|
|
|
|
|
|
|
|
fun dd fun_name
|
|
|
|
lib dd lib_name
|