simon<p>I wrote a simple C function wrapper generator. I've made a few notes about the background to this, here:</p><p><a href="https://github.com/sjaturner/wrap/blob/main/BACKGROUND.md" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/sjaturner/wrap/blob</span><span class="invisible">/main/BACKGROUND.md</span></a></p><p>If your code contains a C function with simple stdint or string parameters, like this:</p><p>int first_function(int64_t foo, uint64_t bar);</p><p>You can wrap it and then call it by interpreting a string like this:</p><p>"first_function 12 34"</p><p>There's a bit more detail in the README.md, visible here: <a href="https://github.com/sjaturner/wrap" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/sjaturner/wrap</span><span class="invisible"></span></a></p><p>I'm aware of several alternative approaches (some of which I mentioned in BACKGROUND.md) but am interested to hear about other tools for this 🙂 </p><p><a href="https://infosec.exchange/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://infosec.exchange/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://infosec.exchange/tags/developer_tools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developer_tools</span></a></p>