Skip to content

Commit fd1efae

Browse files
Attempts to address issue rapid7#6963 x64/xor encoder not working
1 parent e403df5 commit fd1efae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/encoders/x64/xor.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ def initialize
2424
}
2525
)
2626
end
27+
28+
# Indicate that this module can preserve some registers
29+
# ...which is currently not true. This is a temp fix
30+
# until the full preserve_registers functionality is
31+
# implemented.
32+
def can_preserve_registers?
33+
true
34+
end
2735

2836
def decoder_stub( state )
2937

0 commit comments

Comments
 (0)