xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/12] fuzz: update x86emul fuzzer
@ 2017-02-03 11:53 Wei Liu
  2017-02-03 11:53 ` [PATCH v4 01/12] x86emul/test: add missing dependency for x86_emulate.o Wei Liu
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Wei Liu @ 2017-02-03 11:53 UTC (permalink / raw)
  To: Xen-devel; +Cc: George Dunlap, Ian Jackson, Wei Liu, Jan Beulich, Andrew Cooper

The first few patches refactor x86emul code so that more code can be shared
between xen and userspace tools.

I have run XTF suite (tests subject to availability on the testbox I use, and
xsa-195 was skipped because qemu segfault -- a known issue) against this
series, no issue is found.

Please see individual patch for changelog.

Wei.
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>

Wei Liu (12):
  x86emul/test: add missing dependency for x86_emulate.o
  fuzz/x86emul: use macro to reduce repetition in Makefile
  x86: extract macros to x86-defns.h
  x86: extract vendor numeric id to x86-vendors.h
  x86emul/test: use x86-vendors.h
  x86emul: use eflags definitions in x86-defns.h
  x86emul: use msr definitions in msr-index.h
  x86: add UMIP CR4 bit
  x86emul: use CR definitions in x86-defns.h
  fuzz/x86emul: update fuzzer
  fuzz/x86emul: print out minimal input size
  fuzz: update README.afl example

 tools/fuzz/README.afl                              |   5 +-
 tools/fuzz/x86_instruction_emulator/Makefile       |  14 +-
 .../afl-x86-insn-emulator-fuzzer.c                 |   8 +
 .../x86-insn-emulator-fuzzer.c                     | 647 +++++++++++++++++++--
 tools/tests/x86_emulator/Makefile                  |  14 +-
 tools/tests/x86_emulator/test_x86_emulator.c       |   9 -
 tools/tests/x86_emulator/x86_emulate.c             |   3 -
 tools/tests/x86_emulator/x86_emulate.h             |   9 +-
 xen/arch/x86/x86_emulate/x86_emulate.c             | 403 ++++++-------
 xen/include/asm-x86/processor.h                    |  74 +--
 xen/include/asm-x86/x86-defns.h                    |  69 +++
 xen/include/asm-x86/x86-vendors.h                  |  13 +
 12 files changed, 887 insertions(+), 381 deletions(-)
 create mode 100644 xen/include/asm-x86/x86-defns.h
 create mode 100644 xen/include/asm-x86/x86-vendors.h

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-02-06 10:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 11:53 [PATCH v4 00/12] fuzz: update x86emul fuzzer Wei Liu
2017-02-03 11:53 ` [PATCH v4 01/12] x86emul/test: add missing dependency for x86_emulate.o Wei Liu
2017-02-03 12:11   ` Wei Liu
2017-02-03 13:38   ` Jan Beulich
2017-02-03 11:53 ` [PATCH v4 02/12] fuzz/x86emul: use macro to reduce repetition in Makefile Wei Liu
2017-02-03 13:41   ` Jan Beulich
2017-02-03 11:53 ` [PATCH v4 03/12] x86: extract macros to x86-defns.h Wei Liu
2017-02-03 11:53 ` [PATCH v4 04/12] x86: extract vendor numeric id to x86-vendors.h Wei Liu
2017-02-03 11:53 ` [PATCH v4 05/12] x86emul/test: use x86-vendors.h Wei Liu
2017-02-03 13:45   ` Jan Beulich
2017-02-03 11:53 ` [PATCH v4 06/12] x86emul: use eflags definitions in x86-defns.h Wei Liu
2017-02-03 11:53 ` [PATCH v4 07/12] x86emul: use msr definitions in msr-index.h Wei Liu
2017-02-03 11:53 ` [PATCH v4 08/12] x86: add UMIP CR4 bit Wei Liu
2017-02-03 11:53 ` [PATCH v4 09/12] x86emul: use CR definitions in x86-defns.h Wei Liu
2017-02-03 11:53 ` [PATCH v4 10/12] fuzz/x86emul: update fuzzer Wei Liu
2017-02-06  8:17   ` Jan Beulich
2017-02-03 11:53 ` [PATCH v4 11/12] fuzz/x86emul: print out minimal input size Wei Liu
2017-02-03 11:53 ` [PATCH v4 12/12] fuzz: update README.afl example Wei Liu
2017-02-06 10:29 ` [PATCH v4 00/12] fuzz: update x86emul fuzzer Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).