fix bugs and update sys_func.inc code

fixed size sockaddr struct
update function CreateThread
clear code in main file
This commit is contained in:
2025-05-23 08:12:42 +05:00
parent aa78c565af
commit eb72cf5cb9
20 changed files with 180 additions and 54 deletions

View File

@@ -4,7 +4,6 @@ public @EXPORT as 'EXPORTS'
NO_DEBUG_INPUT = 0
include "macros.inc"
purge mov,add,sub
include "proc32.inc"
include '../module_api.inc'
@@ -83,6 +82,8 @@ server_entry:
invoke IMPORT.send_resp, eax,\
[esi + CONNECT_DATA.uri_path],\
[esp + 4]
mov eax, [esp]
invoke IMPORT.finish_send_resp, eax
invoke IMPORT.destruct_resp ; arg in stack
add esp, 4
.exit: