t0mm4rx / ftprintfdestructor

A script that destroys the school 42 project ft_printf
21 stars 1 forks source link

pointer conversion #1

Open cchudant opened 4 years ago

cchudant commented 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!

cchudant commented 4 years ago

cleaned up and added tests for nearly all bonuses

@t0mm4rx