On Tue, May 06, 2025 at 02:38:13PM -0700, Zaid Alali wrote: > + # echo 0x12345000 > param1 # Set memory address for injection > + # echo 0xfffffffffffff000 > param2 # Range - anywhere in this page > + # comp_arr="0x1 0x2 # Fill in the component array > + >0x1 0x4 > + >0x2 0x4" > + # echo "$comp_arr" > einjv2_component_array Seems complex (and may confuse people as the ">" in the lines setting up the comp_arr are secondary prompts from bash, not part if the input). If they miss the "" around $comp_arr in the last line they will get all the values on one line which will be rejected with -EINVAL during injection. This works better (and is shorter too!): # echo -e '0x1 0x2\n0x1 0x4\n0x2 0x4\n\0' > einjv2_component_array I think explicitly terminating the input with '\0' is needed (and that the kernel should NOT zero out the einjv2_component_array blob on each injection. That's unlike the other einj paramaters which are "sticky". The user can repeat the same injection without resetting all the parameters each time, just "echo 1 > error_inject" to do the same thing again. -Tony