<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Sylvain,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So, you are the author of the README and the web page, who did all the work</div><div class="gmail_default" style="font-size:small">with Calypso.:)</div><div class="gmail_default" style="font-size:small">I feel more comfortable working with C/C++ than Python.</div><div class="gmail_default" style="font-size:small">The patch you couldn't publish 'cause of  Hex-Rays copyrights.</div><div class="gmail_default" style="font-size:small">In the case of the hook, in what file should it be placed?</div><div class="gmail_default" style="font-size:small">Calling convention?</div><div class="gmail_default" style="font-size:small">In C++ it should create the same IDA structs as in Python.</div><div class="gmail_default" style="font-size:small">Where can I find their description?</div><div class="gmail_default" style="font-size:small">I'm using IDA + SDK 6.6.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you,</div><div class="gmail_default" style="font-size:small">Nikos</div><div class="gmail_default" style="font-size:small">​</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 22, 2018 at 8:17 AM, Sylvain Munaut <span dir="ltr"><<a href="mailto:246tnt@gmail.com" target="_blank">246tnt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
<br>
> According to target_dsp/ida/README.txt, which is not signed, some of the<br>
> modifications to the Hex-Rays IDA SDK need the<br>
> author's help. I have compiled the processor with most of its attributes,<br>
> but I could use help with the stub feature to load include files.<br>
<br>
</span>I don't have the patch any more, I wrote it for IDA 5.5 and most of it<br>
actually got merged by hexrays into mainline for 6.0, but not the type<br>
system.<br>
I actually didn't write support for it really ... just added a hook<br>
that did nothing and that allowed to load the .h once and then the<br>
patch wasn't needed.<br>
<br>
I did a post in the hex-rays forum asking how the type system worked, search<br>
for it, and I just implemented the hooks with default return values.<br>
<br>
The other option (which might be easier given it's really simple<br>
struct) is to convert the .h with a python script to IDC/IDAPython commands to<br>
create the 'struct' in IDA.<br>
<br>
<br>
Cheers,<br>
<br>
    Sylvain<br>
</blockquote></div><br></div>