chore: rename asm files

This commit is contained in:
f1zm0
2023-04-19 16:21:21 +02:00
parent 25f21db656
commit 7b33816d3b
3 changed files with 2 additions and 3 deletions
@@ -2,7 +2,6 @@
// func getNtdllBaseAddr() uintptr
TEXT ·getNtdllBaseAddr(SB),NOSPLIT,$0
// TEB->ProcessEnvironmentBlock
XORQ AX, AX
MOVQ 0x30(GS), AX
@@ -110,4 +109,3 @@ TEXT ·getExportsAddressOfNameOrdinals(SB),NOSPLIT,$0-16
MOVQ AX, ret+16(FP)
RET
+2 -1
View File
@@ -5,7 +5,8 @@
// syscall implementation is a mix of:
// - https://golang.org/src/runtime/sys_windows_amd64.s
// - https://github.com/C-Sto/BananaPhone/blob/master/pkg/BananaPhone/asm_x64.s#L96
// with modifications to support indirect syscall execution via a trampoline in ntdll.dll
// with custom modifications to support indirect syscall execution
// via a trampoline (syscall;ret instruction) in ntdll.dll
// func execIndirectSyscall(ssn uint16, trampoline uintptr, argh ...uintptr) (errcode uint32)
TEXT ·execIndirectSyscall(SB),NOSPLIT, $0-32