Comments (24)
Hi, thank you for reporting this.
I uploaded new binary packages for v0.0.7, they should work now.
(Apparently, stripping was a bad idea.)
Concerning your build attempt,
- you must use Visual Studio 2010,
- you muse use
--config Release
together withcmake --build .
(there is a note on this in the build instructions).
from snowman.
It builds okay in visual. 2013.
I am not Cmake expert but aint the
You can choose a build mode (Debug, Release, RelWithDebInfo, or MinSizeRel):
-D CMAKE_BUILD_TYPE=Release
the configure for Release.
its however disrergarded when building.Starts with Debug
i cant seem to find anything on
--config Release
Also can you tell how to turn stripping off so i can trry build it also.
from snowman.
-D CMAKE_BUILD_TYPE=Release
is disregarded when msbuild is used. Use --config
.
from snowman.
okay thx .
Latest build you added are working.
You can close issue.
from snowman.
Reason for reopening the issue, is that i have builded @nihilus version with mips support.
https://github.com/nihilus/snowman
It crashed in ida, just as your pre version did before you fix stripping.
Can you tell what you did with stripping, so i can rebuild and test the decompiler with mips support.
I am building it in vs studio.
regards
from snowman.
@techbliss did you test building from @yegord as well? Else we should close this and open issue on my repo IFF yegords works fine.
from snowman.
Especially interesting since AFAIK the support for C++11 features is limited in VS 2010, else Id build if myself.
from snowman.
@yegord releases works fine, but this is the same issue as i started here, and in the end mips would hopefully be pulled with the original.
you forked it before it was fixed
So hope its okay ill ask here.
from snowman.
The problem was that I did stripping. I stopped doing it, and everything started working again.
In other words, the problem was in my release script, not somewhere in the build process.
from snowman.
Cmake is not for the faint of heart can you pinpoint me to the right line.
@nihilus unfortunately fork your repo before it was fixed.
from snowman.
My buildbot that produces binaries for my homepage succeeds with the following:
'cmake' '-DCMAKE_INSTALL_PREFIX=install-prefix' '-G' 'Visual Studio 10' '-DQT_NAMESPACE=QT' '-DIDA_PLUGIN_ENABLED=YES' '../snowman/src'
'cmake' '--build' '.' '--config' 'Release'
'cmake' '--build' '.' '--config' 'Release' '--target' 'install'
(qmake.exe is in the %PATH%, BOOST_ROOT is specified in the environment variable.)
from snowman.
I have tried building @yegord master latest and still getting the error in ida.
I use build lines mentioned
'cmake' '-DCMAKE_INSTALL_PREFIX=install-prefix' '-G' 'Visual Studio 10' '-DQT_NAMESPACE=QT' '-DIDA_PLUGIN_ENABLED=YES' '../snowman/src'
'cmake' '--build' '.' '--config' 'Release'
'cmake' '--build' '.' '--config' 'Release' '--target' 'install'
Stansdalone snowman works without flaws.
In ida snowman shows, but if i click a function ida crash.just like before.
i have analyzed the crashdump of the error.maybe some clues.
http://pastebin.com/a8DJm3Si
from snowman.
Sorry, no clues. Works for me. I am afraid, without a shell access I will not be able to say much.
from snowman.
Yes i have tried almost all.
well if your on skype and have time sometime in the next days you can add me zadow28.
Or maybe set up a gitter for your repo.
https://gitter.im/
But leave the issue open for now.
Now im gonna hit the bed.
from snowman.
@techbliss BTW, taking into account that you managed to build @nihilus's fork with MSVC 2010, although it currently can't be built with MSVC 2010, I draw a conclusion that you built not with MSVC 2010, and this is probably why you get crashes.
from snowman.
I never tried building it with 2010, only 2013(see third post) and 2015. Snowman works outside ida both versions.cant see why it should be builded only with 2010
Should it ?
I have no clue.but cant see why 2010 should work better.
Or harder to build. Think @nihilus needs the servicevpacks to make itvwork prober.
from snowman.
MSVC 2010 has one runtime library, MSVC 2013 has another runtime library. If you have IDA using one runtime library (the one of MSVC 2010), and its plugin using another runtime library (the one of MSVC 2013), things start go wrong.
from snowman.
https://github.com/yegord/snowman/blob/master/doc/build.asciidoc#notes-on-building-ida-plug-in — item 2.
from snowman.
Ahh get it msvc100.dll contra 130 mismatch = heap error
However ill give it a go on 2010 tommorow.
from snowman.
@techbliss @yegord seems that MSVC 2010 have issues with namespaces and lambda functions. However it is now fixed for MIPS/Allegrex.
from snowman.
Okay now i have rebuilded everything @nihilus version with vs2010(RELEASE), with vs studio ,that one crashed in ida also.
since there have been issues with getting the decompiler to actuelly select Release version, adressed here nihilus#31
i tried building it as Relwthdebuginfo, and that version works flawless in ida.Maybe Build your build bot skips Release part.
But els i can confirm that Snowman Mips is working in ida.
prebuild releasewthdebuginfo with MIPS https://mega.nz/#!7xlwGTZY!bRJiioDOmC1KlygY64Dn35dXkAuE2O36GOFGDyyoHfg
from snowman.
Hmm. Release and RelWithDebInfo must produce literally the same code.
Do the .plw files differ?
from snowman.
yes there is a huge difference
release = 2 594 KB(2.5mb)
release with debug info = 5 184 KB
here are both versions.I removed *pdb generated files to save space in RelWithDebInfo folder
https://mega.nz/#!b1EUSLrI!LYNNoRgglRsr8HF_8jSzuRRxJ1hID2AV4SjHvsFIMW0
from snowman.
Woot i found error.
Release success.
after your explanation of the run time.
I had the heap error on other apps, and that send me on a investigation.
I developed alot of qt apps for ida,and sometimes i make newer branches of PyQt4 for ida pro..
And newer before resently did i had any trouble with those versions.
so i builded windows QT4.8.7 with from scratch with correct vs version.
then latest Qscilla2.with correct vs vs version.
then latest PyQt4 with correct version.that one was really persistence to build as 2008 ( same as prebuild version).
in the end all same version. Msvcr100.dll
No more runtime errors.
So this issue helped me more than one way.
Issue can be closed
Thx and regards
from snowman.
Related Issues (20)
- gnuradio? HOT 3
- odd number of 0x00s after return or jumps possibly causing misinterpretation of next opcode HOT 5
- Snowman crashes when open file HOT 4
- FPU instructions support HOT 1
- Application Crash during Dataflow Analysis HOT 1
- Snowman sometimes struggles to interpret switch tables
- Reduce simple arithmetic of constant values
- Remove untaken branches from output HOT 2
- ms-dos executables ? HOT 6
- Android support needed. HOT 2
- Qt Wdeprecated-declarations warnings HOT 3
- Variable value can change when address is taken
- Can snowman standalone run on a predisassembled file? HOT 2
- Is it possible to decompile everything in order with all the diff files and such.
- [Question] Why does this ELF not work? HOT 4
- Can't save the c++ code HOT 3
- macOS prebuilt version
- Naming of struct fields wrong HOT 2
- Instructions unreadable in IDA 7.6 HOT 14
- Link is forwarding to youtube video?! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowman.