Daniel Lemire
Daniel Lemire
I ran it on two different machines... ``` $ cmake -B build -D SIMDUTF_SANITIZE=ON && cmake --build build --target basic_fuzzer $ ./build/tests/basic_fuzzer Checking implementation haswell basic fuzz...---------- OK overflow fuzz...----------...
The fuzzer should work based on a user-provided seed (with maybe a default seed). I should be able to pass a seed and when I do so, I get the...
The message variable was an example… and you have to update it manually. In your case, you could have another type of global variable… containing just enough information so that...
> Is there a standard library function to serialize to base 64 or should I do it myself? Please don't code it by hand. Give me a minute.
That should do... https://github.com/lemire/fastbase64/blob/master/src/quicktimebase64.c
> Not really a fan of base64 as it obscures the byte values in the string. The base64 format is just an idea that happens to always work. You can...
> When you debug a new algorithm, the fuzzer will find new exciting errors for you all the time. I sure hope that it won't be the case here. We...
In C, you can write `"\xa6"` and that's a string with the byte value `0xa6`. I don't have C code handy, but the algo would like like this: ``` while...
Of course, you need unescaped quotes at the beginning and at the end.
https://en.wikipedia.org/wiki/Escape_sequences_in_C