How to decompile ex4 file to mq4 [closed] - mql4

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 17 days ago.
Improve this question
How can someone decompile ex4 file to mq4 file. I want to view the source code. Or rather how can you change the name of a expert adviso

Now that ex4 are compiled programs and not byte code, it is much more difficult to decompile.
Of course, the main purpose of delivering an EX4 file and not the source is the source is closed and the developer doesn't want to disclose it. EX4 to MQ4 converters are used to circumvent this "protection".

To gain access to the source code of EX4 file, you should first contact its developer. Most EAs for MetaTrader are distributed without source code.
Decompilation of EX4 file to get the source code for educational purposes is possible in principle. However, this is a very time consuming process.
Also, according to MetaTrader developers, this is not legal in most countries.

There are plenty of decompilers out there that can produce some source code that might run using MT4. One of them is IDA Pro another NSA Ghidra, you just need to make sense in cryptography and binary decompilation. Another option is to look for more complex decompilers that decompile some code on processor level. You are going to get some binary code that is almost impossible to read for humans or decrypt using any online decryption tool. You should be resilient and have a compiled ex4 containing all the functions of MQL4. After matching the binaries you might be able to reconstruct the source code into semi-readable MQL4 code. You should note that after decompilation you will get an obfuscated code, which means that even after decompiling you can't get into changing things inside of the EA, Indicator or Script of some kind. This means that after decompilation you should also deobfuscate the code to understand all underlying algorithms inside of it.

Related

Convert shp file or geojson to isobus iso-xml ISO 11783-10 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
has anyone had any experience with ISOBUS Iso-XML (ISO 11783-10)?
I would like to convert some geojson and/or shapefiles (.shp) to this format but am having trouble finding any information.
The specification of ISO 11783-10 is not free. You can buy the specification (google for "ISO 11783-10"), the documentation is high quality and affordable (I'm not affiliated in any way). The bought documents are distributed with some "license" and will be marked with your name, so buyers will be reluctant to share them. There are many concepts involved and details are cryptic, therefore you really need the specification to work with this format.
If you write source code encoding/decoding this format, it will depend on the specification. Distributing your source code + documentation might or might not infringe on the IP/license (I'm not a lawyer). Publishing detailed responses on this subject in open fora on the internet might or might not infringe.
There are quite some developers writing code which deals with ISO 11783-10, but I think the scarcity of freely available source code (e.g. on github) and open discussions on internet is a direct effect of the specification publication policy. It's sad because this domain is complex, has high impact, has many details which are very instance-specific (e.g. for a specific vehicle-manufacturer, accidental complexity), so open discussions and source code could improve productivity for many.
Agleader software SMS Basic has the option to export shapefiles to ISOBUS format.

Should I include DUnit units into my Delphi 7 project? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a legacy project written for Delphi 7. I'm about to integrate a bunch of new code into it which includes a test suite using DUnit. DUnit it not a part of Delphi 7 (it has been integrated later), so here's the question: should I include DUnit units into my project (check them into version control etc) or should I better require all the participating developers to maintain their separate DUnit installation?
The project is closed source and is written and deployed only within the enterprise I'm working for—that is, the project source code won't be delivered to any consumer.
The way you've worded your question, there may be some confusion as to what you're asking. So let's get that out of the way first.
It sounds like your asking whether to include DUnit units in your production application. This would be a very bad idea, and I'll avoid the details why in this answer.
However, I understood your question to be about whether you should treat this "third party" source like your own project source code (in terms of source control). And I've answered as such.
There are a number of principles that justify including DUnit source in your SC repository.
Whenever you have a new developer or new dev machine installation, you want to get up and running quickly, easily and with a minimum of fuss.
Only when all dependencies are managed within your source repository can the ideal be achieved. It's quite difficult to do better than: (1) Get Latest Source. (2) Build.
Even if you use a disk image with all required apps (including third-party libraries), it won't have 100% up-to-date source.
It is very important that all your developers are on the same version of DUnit.
Otherwise you risk having test cases that work on one machine, but might not even compile on another.
After you've made extensive use of DUnit, I'm sure you'll find various things (big and small) that you'll want to change. You'd best keep these changes in your repository.
My personal experience with DUnit is that parts of it are poorly designed. As a result some extensions are much more easily done by modifying the units directly.
I would even go a step further: Even though more recent versions of Delphi include DUnit, I'd still make a copy into Source Control. As much as DUnit is shipped with Delphi - it is really just third party source slapped into a folder.

Synthesis in Programming; What is it exactly? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Currently I am reading a book about Software Development Engineering. In the chapter one of this book it says:
Synthesis is a productivity mechanism for developing software by which the implementation is generated rather than created manually.
It confuses me and I couldn't find any clear explanation about it in the Internet.
So can anyone tell me a real world example for it in programming fields? And also if it is something like a code generator (e.g. Ruby on Rails command line for creating project directories and code files automatically); what is its difference with metaprogramming?
Thanks.
Synthesis is a productivity mechanism for developing software by which the implementation is generated rather than created manually.
This is true though this does not mention what "Synthesis in programming" really is. Programming Synthesis means dealing with the aspects of the software development process
which can, at least in principle, be automated. Its goal is to mechanically synthesize correct and efficient computer code from declarative specifications. As stated by this article.
Basically it means that you specify a specification to, for example a synthesis machine, which will generate output (code) based on the specification you gave it.
The major difference between code synthesis and code generation is that code synthesis happens at runtime.
Program synthesis is a special form of automatic programming. Automatic programming you may consider in robotics where program is written using artificial intelligence in such a way that other tasks are carried out automatically. It means if you write a code for 1+2 it will give you 3. so you do not have to write special code for 5+6 to get 11.
For more info refer http://en.wikipedia.org/wiki/Program_synthesis

Has anyone compiled iGraph, graph layout library, for iOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is it possible to compile iGraph, graph layout library for iOS?
I haven't. I don't know anybody who has. But I've also never heard of it before.
The website claims it is written in C/C++, so in theory you should be able to get it running on iOS. You may need to make some modifications.
Looking more closely at the documentation, it appears to be a plain C API (even better!) so it should be fairly easy to compile for iOS. You will probably have to edit the Makefiles to have it cross-compile for ARM (instead of Intel).
However, the source code is published under the GNU GPL. There are clauses in the GPL that conflict with clauses in the Apple Developer Program Agreement (I forget the specifics but it should be easy enough to research). This means that if you got it working in an app, you couldn't put it on the App Store without either Apple or the iGraph developers offering you different terms.
Not sure about iGraph, but I've been thinking of trying Core Plot.
It's a graph plotting 3rd-party iOS framework.
Not a lot of documentation, but you can see some apps that already use it if you browse their site.
Not sure why you got voted down. Happens.
Edit:
Oh, in that case, this question might help: https://stackoverflow.com/a/5074186/1126783

How can I convert an .rtf or .doc document to LaTeX? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Unfortunately, I can't use rtf2latex2e because it says that DropUNIX "no longer supports the classic environment". I barely know what I'm doing otherwise, besides dropping my .rtf file onto the DropUNIX program.
What else can I use? I don't mind which type of file it is I'm converting to LaTeX (.doc would also be OK, as long as it keeps my formatting).
I am using Mac OS 10.5.8.
Open Office can. Download it.
See the fmtconv question on the UK TeX FAQ, or, more specifically, the page on Converters from PC Textprocessors to LaTeX - Overview, which is specifically about this question and has many many examples. This general list of word-processor filters may help too.
UnRTF claims to be able to convert RTF to LaTeX as well as other formats (e.g. HTML). It claims to support HTML best, so perhaps RTF->HTML->LaTeX (e.g. with html2latex) might work better. I haven't actually tried any of this though.
Make your rtf/doc document into docx, and convert it using docx2tex.
You need the System.IO.Packaging .NET class to get this to work, which is no problem if you are using Windows, and is in principle supported by Mono if you are not. If anyone has success doing this with Mono, I'd like to hear of your experiences: this didn't work a year or so ago, but their implementation of that class has improved since then.
I say more about the utility in an answer at tex.stackexchange. Suffice it to say that I consider this by far the cleanest, most Latex-friendly option out there.

Resources