Make oob check write to stderr instead of stdout

This commit is contained in:
0x4261756D 2023-01-11 19:45:38 +01:00
parent 296ee6c5c8
commit 4064309b26
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ fn generate_assembly_linux_x64(operations: &Vec<Operation>, functions: &Vec<Func
data.code += "exception_array_read_out_of_bounds:\n";
//TODO: report the passed sizes
data.code += "\tmov rax, 1\n";
data.code += "\tmov rdi, 1\n";
data.code += "\tmov rdi, 2\n";
// size
data.code += "\tmov rdx, 37\n";
// data