diff --git a/Cargo.toml b/Cargo.toml index b4e8acf..45a9acc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ exclude = [ [target.'cfg(windows)'.dependencies.windows] -version = "0.43" +version = "0.44" features = [ "Win32_System_Memory", "Win32_Foundation", diff --git a/src/detail/asm/asm_x86_64_ms_pe_gas.asm b/src/detail/asm/asm_x86_64_ms_pe_gas.asm index 5c767d6..0b673c5 100644 --- a/src/detail/asm/asm_x86_64_ms_pe_gas.asm +++ b/src/detail/asm/asm_x86_64_ms_pe_gas.asm @@ -122,7 +122,7 @@ swap_registers: ; mov (3*8)(%rdx), %rcx pop %rax - jmp *%rax + jmp %rax .seh_endproc .section .drectve diff --git a/src/detail/asm/asm_x86_64_ms_pe_masm.asm b/src/detail/asm/asm_x86_64_ms_pe_masm.asm index c1e1873..f9012d2 100644 --- a/src/detail/asm/asm_x86_64_ms_pe_masm.asm +++ b/src/detail/asm/asm_x86_64_ms_pe_masm.asm @@ -103,7 +103,7 @@ swap_registers PROC FRAME ; mov rcx, [rdx + 3*8] pop rax - jmp *rax + jmp rax swap_registers ENDP END