[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/3] Integrate disassemble libraries to libukdebug



This patch series starts integrating disassembler libaries to ukdebug.
As general interface, the new libukdebug methods `uk_asmdumpk()` and 
`uk_asmdumpd()`
are provided. These functions print the disassembled representation of a given
instruction to the KERN or DEBUG console when a suported disassembler library
is enabled in the build (e.g., libzydis).

Simon Kuenzer (3):
  lib/ukdebug: Move hexdump output demultiplexer
  lib/ukdebug: Provide uk_asmdumpd(), uk_asmdumpk()
  plat/common/x86: Disassemble failed instruction on crashes

 lib/ukdebug/Makefile.uk          |   2 +
 lib/ukdebug/asmdump.c            | 117 +++++++++++++++++++++++++
 lib/ukdebug/exportsyms.uk        |   2 +
 lib/ukdebug/hexdump.c            | 142 ++++++-------------------------
 lib/ukdebug/include/uk/asmdump.h | 129 ++++++++++++++++++++++++++++
 lib/ukdebug/outf.c               |  85 ++++++++++++++++++
 lib/ukdebug/outf.h               | 114 +++++++++++++++++++++++++
 plat/common/x86/traps.c          |   4 +
 8 files changed, 480 insertions(+), 115 deletions(-)
 create mode 100644 lib/ukdebug/asmdump.c
 create mode 100644 lib/ukdebug/include/uk/asmdump.h
 create mode 100644 lib/ukdebug/outf.c
 create mode 100644 lib/ukdebug/outf.h

-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.