While this is very cool, it has at least one buffer overflow vulnerability. There is no bounds checking in gettoken().
Also, the talk about pointers being aligned to "8 bit boundaries" I think means 8 byte boundaries. Memory is not bit-addressable (at least, not in C, on anything popular).
But I don't mean to detract from the project! It is very cool nonetheless :)
Also, the talk about pointers being aligned to "8 bit boundaries" I think means 8 byte boundaries. Memory is not bit-addressable (at least, not in C, on anything popular).
But I don't mean to detract from the project! It is very cool nonetheless :)