x86emul/fuzz: adjust canonicalization in sanitize_input()
authorJan Beulich <jbeulich@suse.com>
Mon, 1 Apr 2019 09:12:16 +0000 (11:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 1 Apr 2019 09:12:16 +0000 (11:12 +0200)
commitf68f35fd2016e36ee30f8b3e7dfd46c554407ac1
tree12304bad6b241f0c118764818e0119484b9bc046
parent7881bf488263f52b8f6dd9935031d7b405958c0c
x86emul/fuzz: adjust canonicalization in sanitize_input()

Drop it entirely for %rbp - this register is not special purpose enough
to warrant such special treatment. Add a comment to clarify the purpose
of the canonicalization of %rip and %rsp.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/fuzz/x86_instruction_emulator/fuzz-emul.c