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