Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pointer conversion #1

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

pointer conversion #1

wants to merge 8 commits into from

Conversation

cchudant
Copy link

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
Copy link
Author

cleaned up and added tests for nearly all bonuses

@t0mm4rx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant