Hi,
I've downloaded Calypso's image. I would like to study it. Who did the analysis and what tools did he used for it in http://osmocom.org/projects/baseband/wiki/HardwareCalypsoDSP?
TIA Nikos
Any news?
According to target_dsp/ida/README.txt, which is not signed, some of the modifications to the Hex-Rays IDA SDK need the author's help. I have compiled the processor with most of its attributes, but I could use help with the stub feature to load include files. Who is he and how can I get in touch with him?
TIA Nikos
On Thu, May 17, 2018 at 11:09 AM, Nikos Balkanas nbalkanas@gmail.com wrote:
Hi,
I've downloaded Calypso's image. I would like to study it. Who did the analysis and what tools did he used for it in http://osmocom.org/projects/baseband/wiki/HardwareCalypsoDSP?
TIA Nikos
Hi,
According to target_dsp/ida/README.txt, which is not signed, some of the modifications to the Hex-Rays IDA SDK need the author's help. I have compiled the processor with most of its attributes, but I could use help with the stub feature to load include files.
I don't have the patch any more, I wrote it for IDA 5.5 and most of it actually got merged by hexrays into mainline for 6.0, but not the type system. I actually didn't write support for it really ... just added a hook that did nothing and that allowed to load the .h once and then the patch wasn't needed.
I did a post in the hex-rays forum asking how the type system worked, search for it, and I just implemented the hooks with default return values.
The other option (which might be easier given it's really simple struct) is to convert the .h with a python script to IDC/IDAPython commands to create the 'struct' in IDA.
Cheers,
Sylvain
Hi Sylvain,
So, you are the author of the README and the web page, who did all the work with Calypso.:) I feel more comfortable working with C/C++ than Python. The patch you couldn't publish 'cause of Hex-Rays copyrights. In the case of the hook, in what file should it be placed? Calling convention? In C++ it should create the same IDA structs as in Python. Where can I find their description? I'm using IDA + SDK 6.6.
Thank you, Nikos
On Tue, May 22, 2018 at 8:17 AM, Sylvain Munaut 246tnt@gmail.com wrote:
Hi,
According to target_dsp/ida/README.txt, which is not signed, some of the modifications to the Hex-Rays IDA SDK need the author's help. I have compiled the processor with most of its attributes, but I could use help with the stub feature to load include files.
I don't have the patch any more, I wrote it for IDA 5.5 and most of it actually got merged by hexrays into mainline for 6.0, but not the type system. I actually didn't write support for it really ... just added a hook that did nothing and that allowed to load the .h once and then the patch wasn't needed.
I did a post in the hex-rays forum asking how the type system worked, search for it, and I just implemented the hooks with default return values.
The other option (which might be easier given it's really simple struct) is to convert the .h with a python script to IDC/IDAPython commands to create the 'struct' in IDA.
Cheers,
Sylvain
Hi,
Sorry, as I said in my message, I don't have the patch and I don't remember anything about it ... It was 7 years ago ... And again, as I said in my previous message, search or ask in the hex-rays forum.
Cheers,
Sylvain
Oops. Sorry, I didn't realize that. I will try to sort it out myself.. There aren't many names for this hook to have;-) loadsystem, loadinclude... If you remember anything about its name, plz tell me.
BR, Nikos
On Thu, May 24, 2018 at 3:05 PM, Sylvain Munaut 246tnt@gmail.com wrote:
Hi,
Sorry, as I said in my message, I don't have the patch and I don't remember anything about it ... It was 7 years ago ... And again, as I said in my previous message, search or ask in the hex-rays forum.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org