-
Notifications
You must be signed in to change notification settings - Fork 0
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
MIPS strace.stp compilation errors #1
Comments
Hello, It seems that MIPS_CPU_ISA_I was removed in upstream commit Looking at the upstream commit message and systemtap code the stap code is I think you can replace the check for MIPS_CPU_ISA_I with "if (false)". It Ralf Baechle contacted me and mentioned he is working on getting a better Regards, On Thu, Jun 25, 2015 at 11:44 AM, Mark Schloesser notifications@github.com
Regards, |
Thanks for the hint, makes sense and took care of that one. For the other issues related to CONTEXT->regs I had to make more changes:
That's basically the reason I was asking - it doesn't seem like it's handled by fixing the one constant, there seem to be inconsistencies within the systemtap tree itself. Almost feels like the mips tapset is not the "latest" one. Are you sure you committed/pushed all local changes to the branch? I got all these errors resolved and now running into the next errors:
Regarding the "better supported version" that sounds great, looking forward to it. In the meantime it would be lovely to get this one to work - even if it's only partially working :) Cheers and thanks |
Seems like this is related to some soft-float/hard-float issue with binutils. sigh |
Was able to get that fixed by using a modified implementation of that umul_ppmm function ( Sadly while running now there are more issues:
|
Hello, This seems like an ABI mismatch? The MIPS o32 names registers differently So for some reason some asm code is being compiled with the wrong ABI. Can Regards, On Tue, Jun 30, 2015 at 8:16 PM, Mark Schloesser notifications@github.com
Regards, |
Running with qemu mipsel on:
Checked the more verbose stderr output for details but couldn't really find anything related to the message - it loads up the mips tapset I guess I should just try with the mips / 5kc combination maybe? I'm not super familiar with MIPS the compatibility between the combinations here. Just FYI, trying to run malware samples, so I basically need to run all sorts of 32/64 LSB/MSB binaries :) |
Hi,
I've tried your repository / branches on a mipsel qemu (debian jessie).
I'm running into some issues when translating / compiling the "strace.stp" - these are the first errors encountered:
Could you briefly let me know what the status of the MIPS tapset files is and what I can expect from your branches? I'd love to get systemcall monitoring to work on MIPS but right now I wouldn't know which remaining parts need to be implemented.
Thanks and cheers!
The text was updated successfully, but these errors were encountered: