Land #4584, @sgabe's fix for egghunter searchforward

bug/bundler_fix
jvazquez-r7 2015-01-16 19:36:52 -06:00
commit 697e4fbd41
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 4 additions and 6 deletions

View File

@ -65,12 +65,10 @@ class Egghunter
flippage = "\n\tor dx,0xfff"
edxdirection = "\n\tinc edx"
if searchforward
if searchforward.to_s.downcase == 'false'
# go backwards
flippage = "\n\txor dl,dl"
edxdirection = "\n\tdec edx"
end
if searchforward.to_s.downcase == 'false'
# go backwards
flippage = "\n\txor dl,dl"
edxdirection = "\n\tdec edx"
end
# other vars