Results 1 to 4 of 4

Thread: Decompiler in IDA

  1. #1

    Decompiler in IDA

    greetings if this has been asked before my apologies and I have looked through previous posts.

    Having recently installed IDA 6.1 I was curious to look at the output of the decompiler into C code.

    Tried to run it by F5 and received an error message Decompilation Failure: FFFFFFFF: wrong basic type sizes in compiler settings.

    Currently the compiler settings are set to

    Compiler: Visual C++
    Default calling convention: Stdcall
    Memory model: Code near, Data near
    Default alignment: 8
    sizeof(bool): 1
    sizeof(int): 4
    sizeof(enum): 4


    any assistance muchly appreciated and have a good day.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Red wine, not vodka! ZaiRoN's Avatar
    Join Date
    Oct 2001
    Location
    Italy
    Posts
    922
    Blog Entries
    17
    Directly from the user manual:

    - wrong basic type sizes in compiler settings
    Some basic type sizes are incorrect. The decompiler requires that
    sizeof(int) == 4
    sizeof(bool) == 4
    sizeof(enum) == 4
    sizeof(long) == 4
    sizeof(near pointer) == 4
    Please check the type sizes in the Options, Compiler dialog box and modify them if they are incorrect.
    A mind is like a parachute. It doesnt work if it's not open.

  3. #3
    You're a legend mate thanks so much I will give it a try.

    I actually don't have a user manual but will see if I can download one somewhere.

    Red wine oh yea just partaking a little here myself.

    Thanks very much and take care of yourself.

    Just tried it and works perfectly thanks very much again mate.
    Last edited by ice_cracked; March 29th, 2013 at 04:25. Reason: small addition
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    My IDA6.1 can goes well.

    Compiler Setup
    Compiler: Visual C++
    Default calling convention: Cdecl <- Here is difference.
    Memory model: Code near, Data near
    Default alignment: 8
    sizeof(bool): 1
    sizeof(int): 4
    sizeof(enum): 4

    Good luck!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Decompiler C++ , Binary
    By jackall in forum The Newbie Forum
    Replies: 10
    Last Post: May 27th, 2008, 03:42
  2. Decompiler for IDA on it's way
    By SHaG in forum Tools of Our Trade (TOT) Messageboard
    Replies: 4
    Last Post: April 15th, 2007, 15:48
  3. Interesting VB Decompiler
    By lcx2005 in forum Tools of Our Trade (TOT) Messageboard
    Replies: 6
    Last Post: August 1st, 2006, 00:57
  4. Decompiler Discussion
    By Sarge in forum Mini Project Area
    Replies: 54
    Last Post: January 1st, 2002, 07:02
  5. Decompiler
    By MR. Candyman in forum Tools of Our Trade (TOT) Messageboard
    Replies: 4
    Last Post: November 8th, 2000, 15:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •