Go Back   Exetools > General > General Discussion


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-10-2021, 20:17
jonwil jonwil is offline
Join Date: Feb 2004
Posts: 374
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 59 Times in 32 Posts
jonwil Reputation: 21
Hex-rays PPC decompiler and bctr instruction

I have a PPC binary (XBOX 360 to be specific) and when I decompile functions with a bctr instruction, I get "__asm { bctr }" in the decompilation instead of proper decompilation of the switch statement (its clear from looking at the ASM and from very similar code in a different binary on x86 that its meant to be a switch statement).

Is there a way to get IDA to properly decompile these switch statements?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT +8. The time now is 18:09.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )