Skip to content

Commit 1a97037

Browse files
committed
Add ret to indirect_calls_x64 so binja ends func
1 parent bcfde38 commit 1a97037

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testbins/indirect_calls_x64.asm

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ default rel
1515
%endif
1616

1717
%ifdef OS_IS_MACOS
18-
global start
18+
global start, junk, mapper
1919
section .text
2020
start:
2121
%endif
@@ -27,7 +27,7 @@ default rel
2727
WinMain:
2828
%endif
2929

30-
mov rcx, 4
30+
mov rcx, 4 ; <------- LOOP VAR
3131

3232
.next:
3333
push rcx
@@ -86,6 +86,8 @@ default rel
8686
call ExitProcess
8787
%endif
8888

89+
ret
90+
8991
sub_00:
9092
ret
9193

0 commit comments

Comments
 (0)