Open cchudant opened 4 years ago
heya 👋 I just implemented the pointer conversion so that I could test my own printf.
It works by generating integers and casting them into void pointers.
That means that it is unsafe to dereference them, but no printf implementation should ever dereference on %p conversions anyway so I guess its ok
Thank you for making this tool by the way, it is very helpful.
Tell me if there is anything that needs to be changed!
cleaned up and added tests for nearly all bonuses
@t0mm4rx
heya 👋 I just implemented the pointer conversion so that I could test my own printf.
It works by generating integers and casting them into void pointers.
That means that it is unsafe to dereference them, but no printf implementation should ever dereference on %p conversions anyway so I guess its ok
Thank you for making this tool by the way, it is very helpful.
Tell me if there is anything that needs to be changed!