Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a (preferably free) tool that can produce "proper" disassembly listing from a (non-.NET) windows PE file (*.exe or *.dll).
Important requirement: it should be possible to run the listing through a windows assembler (nasm, masm or whatever) and get working exe again (not necessarily identical to original one, but it should behave in the same way).
Intended usage is adding new subroutines into existing code, when source is not available.
Ideally, tool should be able to detect function/segment boundaries, API calls, and generate proper labels for jumps (I can live without labels for loops/jumps, though, but function boundary detection would be nice), and keep program resources/segments in place.
I'm already aware of IdaPRO(not free), OllyDBG (useful for in-place hacking, doesn't generate disassembly listing, AFAIK), ndisasm (output isn't suitable for assembler), dumpbin (useful, but AFAIK, output isn't suitable for assembler) and "proxy dll" technique.
Ideas? Or maybe there is a book/tutorial that explains some kind of alternative approach?
Also,check out Oilly. It's a pretty neat application and very intuitive too. You can disassemble and hex edit. Ideal for small to medium size projects.
You say you're aware of IdaPRO, but are you also aware of IdaFree?
I'm not positive it does exactly what you want but have you tried PEiD?
Take a look at free PEBrowse Professional:
http://www.smidgeonsoft.prohosting.com/pebrowse-pro-file-viewer.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm refactoring old code and I want to find all functions that bigger than N lines to refactor it. It would be cool if there was the same tool for finding big classes.
The project has a lot of files so it is not so easy to find large methods manually.
I couldn't find this tool on the Internet, so, maybe you guys know a tool that can help me?
Thanks in advance!
You can find IDE plugins and external tools which will compute cyclomatic complexities of each of your methods to achieve your needs. You can find some tools in this subject
In the PVS-Studio analyzer there is the V553 diagnostic that reports that the size of the function or class exceeds 2000 lines. However, it's not the best idea to rely on the function size. It is because in addition to the length one should also take the function complexity into account. In this case, search for functions with large Cyclomatic complexity may help. For this, there is another V2008 diagnostic in PVS-Studio (note that it's disabled by default).
The tool NDepend can help finding large and complex classes and methods. There are several default rules for that:
Avoid types too big
Avoid methods too big, too complex
Avoid making large methods even larger
Avoid making complex methods even more complex
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have a 104 byte dos program that I was expecting output from when run. I did not get any and so want to decompile it and find what it is doing. It is small enough that I could do this by hand, but I cannot find any of the hex code instructions. Is there anywhere I could find them or a program that can decompile it
The tool you are looking for is called a Disassembler. You can find one quite easily by doing a Google search. One comes to mind is NASM's disassembler. I even have one I use.
However, it isn't as simple as just running it through a disassembler. Is the app an .EXE file or a .COM file. If it is a .COM file, it is actually quite a bit easier if you tell the disassembler to start with an offset of 100h.
If it is an .EXE, you will need to parse the file's header (a tool can be found at the link above) and find the entry point and offset. Then you can disassemble the correct parts.
Even after that, you will need to work with the output to find out more about the app. Since it is only 104 bytes, that should be a very simple task. Imagine doing it for 104,000 byte file. Been there, done that.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Can anyone recommend any software/books required to learn and build fractal patterns? I want to also be able to animate the fractal patterns too. Like something off of winamp.
For book on animated fractal Fractals: An Animated Discussion with Edward Lorenz and Benoît Mandelbrot could be what you want.
You might like: The Computational Beauty of Nature
http://mitpress.mit.edu/books/flaoh/cbnhtml/
I am working on a project in java for creating fractals (flame fractals).
The user provides a script file in javascript, that takes care of the interpolation between fractals. Also, as input, one can provide a file that affects an animation in some way,
so this is the way to make an animation change to some music,
see for example
http://www.youtube.com/watch?v=imDPqR9cDL8
I can send you the source code if you provide me with an address.
There's lots of fractal programs out there.
I know that Ultrafractal is pretty popular, but not free.
As far as free ones go, there are programs such a ChaosPro and others. A quick google search will find them for you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I don't suppose anyone is aware of any libraries that allow you to detect the current pitch (that is, in notes) received by the microphone in Mac OS X? I'm assuming it'd be a mixture of Objective-C and some provided lib. Or else in Java for multi-platform goodness?
There are some code snippets here that describe auto-correlation for pitch.
http://www.iwillapps.com/wordpress/?p=212
http://www.iwillapps.com/wordpress/?p=214
Also, this is a great "explanation" on two types of pitch detection
http://cnx.org/content/m11714/latest/):
time-domain
autocorrelation
frequency-domain harmonic product spectrum.
musical DSP solutions are difficult. finding something particularly GOOD and packed in a library and for free is very optimistic. (the music software industry being as competitive as it is...)
a useful repository of source code can be found at http://www.musicdsp.org/
otherwise, Miller Puckette's Fiddle~ code does pretty much exactly what you describe. it is not a library, though (it is an extension to PD). but the source is available AFAIK.
Well, you could use Aubio after recording a sample from the mic, or find a way to pipe to it.
Don't know of any specific liibraries but Praat does do pitch analysis, runs on OS X and can be scripted.
Transcribe is excellent. It will show you the pitch of a recording, and show you which piano keys.
If you are looking to write this yourself, have a look at FFT (Fast fourier transform) algorithms. Its actually quite easy to implement. Id do the FFT (which converts a signal into its frequency components) and then just pick out the top one.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anyone know of a tool to analyze/navigate VB6 source code like the tool from scitools?
http://www.scitools.com/products/understand/
Maybe Project Analyzer is an alternative?
Also you could take a look at codesmart 2009 for VB6
Project Analyzer
The free MZTools plug-in for the VB6 IDE has some nice features, like listing all callers to the current procedure, and a much-improved search tool. Get this, even if you decide you need another tool for analysing.
FKCoder mentions in another question that Microsoft's free Visual Basic 6.0 to Visual Basic .NET Upgrade Assessment Tool creates a call graph in HTML for a single VBP project.
If you have Visio, you probably have the Unified Modeling Language (UML) Reverse Engineering add-in for VB6 that will create UML diagrams from your code.
EDIT: +1 to kb for CodeSMART for VB6
VBDepend is now available,it's NDepend like for vb6.
Our SD Source Code Search Engine is a language sensitive tool for search across large bodies of source in VB6 (and it understands many other langauges, e.g, C, C++, C#, Java, COBOL, PHP, ... at the same time!).
It understands the structure of the langauge (identifiers, numbers, keywords, strings, operators, comments, whitespace) and lets you formulate queries for code constructs in terms of those entities. Because it understands langauge structure, it is isn't fooled by whitespace changes or line breaks, and this significantly reduces the number of false positive hits.
The Source Code Search Engine preindexes your source code base to provide extremely fast searches even over millions of lines of code. The Graphical UI shows hits on queries; from there, a single mouse click can show you the source code for hit. From the souce code, you can go directly into most editors.
As a side effect of indexing the code base, the SCSE also computes various metrics per file: SLOC, NCSLOC, McCabe and Halstead complexity numbers, etc.
A unique kind of analysis the we offer for VB6 that is different than SciTools is duplicate code detection.