https://bugs.winehq.org/show_bug.cgi?id=44311
Bug ID: 44311 Summary: Boomerang deconpiler issue Product: Wine Version: 3.0-rc5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sergey.kz.main@gmail.com Distribution: ---
I tried to upload the file to the latest version of boomerang-gui and the latest version of wine, but I see this: fixme: shell: BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented Xlib: extension "SHAPE" missing on display ": 12". Xlib: extension "SHAPE" missing on display ": 12". fixme: imm: NotifyIME IMC_SETCANDIDATEPOS fixme: imm: ImmReleaseContext (0x100d2, 0x1265a0): stub Error: ElfBinaryFile :: GetMachine: Unsupported machine type: 40 (0x28) (Please add a description for this type, thanks!).
https://bugs.winehq.org/show_bug.cgi?id=44311
Mega sergey.kz.main@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Boomerang deconpiler issue |Boomerang decompiler issue
https://bugs.winehq.org/show_bug.cgi?id=44311
Mega sergey.kz.main@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=44311
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- What exactly are you trying to do?
https://bugs.winehq.org/show_bug.cgi?id=44311
--- Comment #2 from Mega sergey.kz.main@gmail.com --- Load file
https://bugs.winehq.org/show_bug.cgi?id=44311
--- Comment #3 from Mega sergey.kz.main@gmail.com --- Created attachment 60165 --> https://bugs.winehq.org/attachment.cgi?id=60165 Ths button does not work
https://bugs.winehq.org/show_bug.cgi?id=44311
Mega sergey.kz.main@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #60165|Ths button does not work |This button does not work description| |
https://bugs.winehq.org/show_bug.cgi?id=44311
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Status|NEEDINFO |RESOLVED Resolution|--- |INVALID CC| |focht@gmx.net URL| |http://boomerang.sourceforg | |e.net/download.php Summary|Boomerang decompiler issue |Boomerang 0.3.x decompiler | |fails to load ARM binaries, | |reports 'GetMachine: | |Unsupported machine type: | |40 (0x28)'
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Mega,
the app works as expected.
It seems you don't understand the limitations of the app.
--- snip --- Error: ElfBinaryFile :: GetMachine: Unsupported machine type: 40 (0x28) --- snip ---
This is output from the app, not Wine.
You are trying to decompile binaries for the ARM architecture which the app doesn't support. Look at the source code of the app if in doubt.
$ svn checkout https://svn.code.sf.net/p/boomerang/code/trunk boomerang-code
boomerang-code/boomerang/loader/ElfBinaryFile.cpp:852
--- snip --- ... MACHINE ElfBinaryFile::GetMachine() const { int machine = elfRead2(&((Elf32_Ehdr*) m_pImage)->e_machine); if ((machine == EM_SPARC) || (machine == EM_SPARC32PLUS)) return MACHINE_SPARC; else if (machine == EM_386) return MACHINE_PENTIUM; else if (machine == EM_PA_RISC) return MACHINE_HPRISC; else if (machine == EM_68K) return MACHINE_PALM; // Unlikely else if (machine == EM_PPC) return MACHINE_PPC; else if (machine == EM_ST20) return MACHINE_ST20; else if (machine == EM_MIPS) return MACHINE_MIPS; else if (machine == EM_X86_64) { std::cerr << "Error: ElfBinaryFile::GetMachine: The AMD x86-64 architecture is not supported yet\n"; return (MACHINE) - 1; } // An unknown machine type std::cerr << "Error: ElfBinaryFile::GetMachine: Unsupported machine type: " << machine << " (0x" << std::hex << machine << ")\n"; std::cerr << "(Please add a description for this type, thanks!)\n"; return (MACHINE) - 1; } ... --- snip ---
There is nothing to fix here. Decompiling x86 ELF/PE works fine.
$ sha1sum boomerang-win32-alpha-0.3.1.zip b9936d0bfbbe4dba884f89257149e3829f7c8b7a boomerang-win32-alpha-0.3.1.zip
$ du -sh boomerang-win32-alpha-0.3.1.zip 4.2M boomerang-win32-alpha-0.3.1.zip
$ wine --version wine-3.0-rc5
Regards
https://bugs.winehq.org/show_bug.cgi?id=44311
--- Comment #5 from Mega sergey.kz.main@gmail.com --- Thanks, I thought something with the system
https://bugs.winehq.org/show_bug.cgi?id=44311
Mega sergey.kz.main@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Mega sergey.kz.main@gmail.com --- ARM not supported
https://bugs.winehq.org/show_bug.cgi?id=44311
Mega sergey.kz.main@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Mega sergey.kz.main@gmail.com --- ARM not supported
--- Comment #7 from Mega sergey.kz.main@gmail.com --- ARM not supported