Re: [PATCH v6 1/7] plugins: fix mem callback array size

2024-07-16 Thread Alex Bennée
Pierrick Bouvier writes: > data was correctly copied, but size of array was not set > (g_array_sized_new only reserves memory, but does not set size). > > As a result, callbacks were not called for code path relying on > plugin_register_vcpu_mem_cb(). > > Found when trying to trigger mem access c

Re: [PATCH v6 1/7] plugins: fix mem callback array size

2024-07-08 Thread Alex Bennée
Pierrick Bouvier writes: > data was correctly copied, but size of array was not set > (g_array_sized_new only reserves memory, but does not set size). > > As a result, callbacks were not called for code path relying on > plugin_register_vcpu_mem_cb(). > > Found when trying to trigger mem access c

[PATCH v6 1/7] plugins: fix mem callback array size

2024-07-06 Thread Pierrick Bouvier
data was correctly copied, but size of array was not set (g_array_sized_new only reserves memory, but does not set size). As a result, callbacks were not called for code path relying on plugin_register_vcpu_mem_cb(). Found when trying to trigger mem access callbacks for atomic instructions. Revi