Skip to content

plugins/execlog: add data address match and address range support

Sven Schnelle qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4plugins/execlog: add struct execlog_ctxcontrib/plugins/execlog.c+14 -100 replies
2/4plugins/execlog: pass matches array to parse_vaddr_matchcontrib/plugins/execlog.c+5 -50 replies
3/4plugins/execlog: add data address matchcontrib/plugins/execlog.c+21 -20 replies
4/4plugins/execlog: add address range matchingcontrib/plugins/execlog.c+52 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] plugins/execlog: add data address match and address range support

Hi List,

this patchset adds a new -dfilter option and address range matching. With this execlog can match only a certain range of address for both instruction and data adresses.

Example usage:

qemu-system-xxx <other options> -d plugin -plugin libexeclog.so,afilter=0x1000-0x2000,dfilter=0x388

This would only log instruction in the address range 0x1000 to 0x2000 and accessing data at address 0x388.

Sven Schnelle (4):
plugins/execlog: add struct execlog_ctx plugins/execlog: pass matches array to parse_vaddr_match plugins/execlog: add data address match plugins/execlog: add address range matching

 contrib/plugins/execlog.c | 102 ++++++++++++++++++++++++++++++--------
 1 file changed, 82 insertions(+), 20 deletions(-)
Signature · 1 line
2.43.2