2020-05-16 10:07:10 +02:00
|
|
|
format ELF
|
|
|
|
|
|
|
|
include "__lib__.inc"
|
|
|
|
|
2021-01-26 09:40:56 +01:00
|
|
|
fun equ http_post
|
2020-05-16 10:07:10 +02:00
|
|
|
fun_str equ 'post'
|
|
|
|
|
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
|