Re: [PATCH 3/3] plugins/execlog: add address range matching

2024-02-29 Thread Sven Schnelle
Hi Alex, Alex Bennée writes: > Sven Schnelle writes: >> +static void parse_vaddr_match(GArray **matches, char *token) >> { >> -uint64_t v = g_ascii_strtoull(match, NULL, 16); >> +uint64_t low, high; >> +gchar *endp; >> >> -if (!matches) { >> -*matches = g_array_new(fa

Re: [PATCH 3/3] plugins/execlog: add address range matching

2024-02-29 Thread Alex Bennée
Sven Schnelle writes: > Allow to match memory ranges with the address matches. This > allows to give a range of adresses like '-dfilter=0-0x400' > which would only log memory accesses between 0 and 400. > > Signed-off-by: Sven Schnelle > --- > contrib/plugins/execlog.c | 73

[PATCH 3/3] plugins/execlog: add address range matching

2024-02-29 Thread Sven Schnelle
Allow to match memory ranges with the address matches. This allows to give a range of adresses like '-dfilter=0-0x400' which would only log memory accesses between 0 and 400. Signed-off-by: Sven Schnelle --- contrib/plugins/execlog.c | 73 ++- 1 file changed,