Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

[QUESTION] Radamsa to C #3

Closed
illera88 opened this issue Nov 30, 2016 · 1 comment
Closed

[QUESTION] Radamsa to C #3

illera88 opened this issue Nov 30, 2016 · 1 comment

Comments

@illera88
Copy link

illera88 commented Nov 30, 2016

What did you use to migrate Radamsa to C?
The code looks like you used something automatic. Is that correct?

Nice work!

@pgoodman
Copy link
Contributor

pgoodman commented Dec 1, 2016

Yup! If you download Radamsa then its Makefile includes compilation to C using the OWL Scheme compiler. In GRR, I took that file, then did some evil tricks with macros to stub out stuff, and turn main into a function that can be called by GRR itself. I also had to stub out malloc and stuff in Radamsa so that I could make sure that repeated calls into Radamsa don't leak memory (real Radamsa just exits when it's done, so it doesn't care about freeing memory :-P )

Does this answer your question?

@pgoodman pgoodman closed this as completed Feb 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants