Seiya Nuta

Results 69 comments of Seiya Nuta

That's great! I'm not working on it at all. Please feel free to ask questions or ask for help here or on [Gitter](https://gitter.im/resea/community) :)

I guess your clang is too old. Could you try building with a 10.x or newer version?

I think you haven't installed LLVM utilities. Please try installing dependencies as described in the following doc: https://resea.org/docs/getting-started.html

It's a totally different error. Make sure if `curl -fsSL download.sourceforge.net/sourceforge/libpng/libpng-1.6.37.tar.xz | file -` succeeds.

> Changing malloc and free would take care of sanitizing the heap part. What about the stack? Good point. We need to update `shadow` for already initialized memory areas (.text,...

Regarding `NUM_BYTES`, use a large enough hard-coded value (say 512KiB) for now.

> Will a chunk's address be a perfect multiple of 8 bytes? If that is not the case, I have to be very careful with updating the values of shadow[addr>>3]....

I've reread [the ASan wiki](https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm#mapping) and finally I understood how we can have multiple states. > By the way, how about stop doing >> 3? I haven't checked but I...

> Does it mean that we need different implementations for different architectures? No we don't have to. The starting address of the heap region, etc. are arch-dependent as you noticed,...

> I did check `memcpy` but I am not sure what exactly is to be done there - Should I copy the shadow value of the `src` address to `dst`...