Hello sir johnsa; I faced a problem.
Code bellow worked in version 255 but not in 256, please, can you check. Thanks.
Linux x86_64, stack unbalanced.
Code: [Select]
;uasm -elf64 test.asm
;gcc test.o -no-pie -fno-pie -lc -o test
;./test
.X64
option casemap:none
InitializeRandoms proto
srand proto :dword
exit proto :dword
Hello sir johnsa; I faced a problem. Code bellow worked in version 255 but not in 256, please, can you check. Thanks. Linux x86_64, stack unbalanced. Code: [Select] ;uasm -elf64 test.asm ;gcc test.o -no-pie -fno-pie -lc -o test ;./test .X64 option casemap:none
InitializeRandoms proto srand proto :dword exit proto :dword
.code main proc uses rbx rbp r12 r13 r14 r15 _argc:dword,_argv:ptr
local argc:dword local argv:ptr
mov argc,_argc mov argv,_argv
invoke InitializeRandoms invoke exit,0 main endp
;------------------------------------------------------------- ;no locals align 16 InitializeRandoms proc ;sub rsp,8 ok invoke srand,4711 ;add rsp,8 !!! <--------------| ret InitializeRandoms endp ;-------------------------------------------------------------
end main