Git Product home page Git Product logo

Comments (8)

uxmal avatar uxmal commented on May 18, 2024

Thanks for reporting this issue. I'm currently traveling so I can only provide you w a suggestion. Please make sure that you've selected the x64 solution platform in the vs toolbar before building. If the premium persists please follow the command line instructions in the README file. I will be able to assist you interactively in 12 hrs

from reko.

aslanbeily avatar aslanbeily commented on May 18, 2024

Thanks! The behaviour is quite strange.
Once I run
msbuild /p:Configuration=Release /p:Platform=x64 src/Reko-decompiler.sln
everything ends well with a couple of warnings, but no executables are produced
Compiling using MSVC GUI doesn't work at all :(

from reko.

aslanbeily avatar aslanbeily commented on May 18, 2024

Managed somehow to build, but when tried to load an executable whose source are lost:
An item with the same key has already been added. Key: 14891863 (Parameter 'key')

from reko.

uxmal avatar uxmal commented on May 18, 2024

Still traveling. Any possibility of providing a stack trace? That helps enormously in debugging the problem

from reko.

aslanbeily avatar aslanbeily commented on May 18, 2024

Sure

Error: An error occurred during decompilation.
An item with the same key has already been added. Key: 14891836 (Parameter 'key')
at System.Collections.Generic.SortedList2.Add(TKey key, TValue value) at Reko.ImageLoaders.MzExe.PeImageLoader.ApplyRelocations(UInt32 rvaReloc, UInt32 size, Address baseOfImage, RelocationDictionary relocations) in C:\Users\raffy\source\repos\reko\src\ImageLoaders\MzExe\PeImageLoader.cs:line 673 at Reko.ImageLoaders.MzExe.PeImageLoader.Relocate(Program program, Address addrLoad) in C:\Users\raffy\source\repos\reko\src\ImageLoaders\MzExe\PeImageLoader.cs:line 448 at Reko.ImageLoaders.MzExe.PeImageLoader.LoadProgram(Address addrLoad) in C:\Users\raffy\source\repos\reko\src\ImageLoaders\MzExe\PeImageLoader.cs:line 202 at Reko.ImageLoaders.MzExe.ExeImageLoader.LoadProgram(Address addrLoad) in C:\Users\raffy\source\repos\reko\src\ImageLoaders\MzExe\ExeImageLoader.cs:line 124 at Reko.Core.Loading.ProgramImageLoader.Load(Address addrLoad) in C:\Users\raffy\source\repos\reko\src\Core\Loading\ProgramImageLoader.cs:line 45 at Reko.Loading.Loader.LoadBinaryImage(ImageLocation imageLocation, Byte[] image, String loader, Address addrLoad) in C:\Users\raffy\source\repos\reko\src\Decompiler\Loading\Loader.cs:line 173 at Reko.Loading.Loader.Load(ImageLocation imageLocation, String loaderName, Address addrLoad) in C:\Users\raffy\source\repos\reko\src\Decompiler\Loading\Loader.cs:line 133 at Reko.CmdLine.CmdLineDriver.Decompile(Dictionary2 pArgs) in C:\Users\raffy\source\repos\reko\src\Drivers\CmdLine\CmdLineDriver.cs:line 173

from reko.

uxmal avatar uxmal commented on May 18, 2024

Looks like something is going astray when relocating the binary. I'd like to examine your binary if possible. You can use a private channel like discord (see the readme) or email to johnkal at gmail_dot_com

from reko.

aslanbeily avatar aslanbeily commented on May 18, 2024

Cannot, sorry, it's proprietary for our company :( no worries, thanks for your help anyways!

from reko.

uxmal avatar uxmal commented on May 18, 2024

Understand. Sorry I can't be of no more help. If the doctor can't examine the sick patient, what use is he? :). I'm closing this issue as you are able to compile Reko. Let us know if there is anything else we can do, given your constraints

from reko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.