mirror of
https://github.com/f1zm0/acheron
synced 2026-06-08 14:09:51 +00:00
chore: rename asm files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user