Commit Graph

94 Commits

Author SHA1 Message Date
Petr Zemek
848cd4b6a3 Mention that Flex >= 2.6 is needed in README.
Some of our users reported that version 2.5 does not work for them.
2018-01-01 13:37:18 +01:00
Petr Zemek
7670527444 Add a missing link to GNU getopt in README. 2018-01-01 13:36:22 +01:00
Petr Zemek
f3312d39ff Remove Bash from build requirements on Linux in README.
Bash is not needed to install RetDec. It is only needed when running RetDec.
2018-01-01 13:33:59 +01:00
Petr Zemek
a546498723
Merge pull request #60 from HugoKlepsch/docker_rebased
Add Dockerfiles and instructions for using docker containers
2018-01-01 13:25:32 +01:00
Petr Zemek
cbd7685d31 Add a new macOS build requirement: coreutils (#75).
It is required in the install-share.sh script during installation.
2018-01-01 11:56:09 +01:00
Petr Zemek
f27e8586e1 Unify formatting in CHANGELOG.
End all sentences with a period.
2017-12-31 10:39:23 +01:00
Petr Zemek
80cea998d8 Add a new CHANGELOG entry (memory improvement for 32b Windows builds).
From commit 6003462ab9.
2017-12-31 10:37:07 +01:00
Petr Zemek
6003462ab9 Allow 32b Windows versions of bin2llvmir and llvmir2hll handle larger addresses (#73).
By default, they are only allowed to address 2 GB of virtual memory. By using
/LARGEADDRESSAWARE, they may address up to 4 GB of virtual memory.

For more details, see
https://docs.microsoft.com/en-us/cpp/build/reference/largeaddressaware-handle-large-addresses
2017-12-31 10:16:26 +01:00
Petr Zemek
81af385f73 Use set_property() with APPEND_STRING instead of set_target_properties().
This will allow us to add additional target properties more easily. Otherwise,
we would have to write all properties into a single CMake command at once.
2017-12-31 10:16:26 +01:00
HugoKlepsch
6c443249f2 Add development Dockerfile
* Development dockerfile builds from the current source directory
* Add instructions to build and use docker container
2017-12-28 11:29:32 -05:00
Marek Milkovič
a74ffcfc2e Updated fnc-patterns submodule 2017-12-28 17:06:54 +01:00
Petr Zemek
da3162ea6a Add required packages to build RetDec on Arch Linux.
https://www.archlinux.org/
2017-12-28 07:49:10 +01:00
David Manouchehri
68ec007aa5 Removed maintainer name. 2017-12-27 11:52:35 -05:00
David Manouchehri
06bb0cc446 Added Dockerfile. 2017-12-27 11:52:35 -05:00
Petr Zemek
bc7b07ae7a Add links to the LICENSE and LICENSE-THIRD-PARTY files in README.
This makes them clickable when the README file is rendered (e.g. on GitHub).
2017-12-26 08:22:06 +01:00
Petr Zemek
dae80893b8 Cosmetic fixes and style unifications in CMakeLists.txt files. 2017-12-25 07:56:16 +01:00
Petr Zemek
09ccded87f Add a new CHANGELOG entry (reduced length of build paths).
The fix is in commit ecba1a6367.
2017-12-25 07:49:30 +01:00
Petr Zemek
ecba1a6367 Build all external projects in the same top-level directory.
This reduces path lengths, which is important on Windows as there is a limit on
how long a path can be (#61).
2017-12-25 07:47:52 +01:00
Petr Zemek
0f41aa3d94 All all build* directories into .gitignore.
Some people (including myself) use several build directories, so ignore them
all, not just 'build'.
2017-12-25 07:40:54 +01:00
Petr Zemek
630d2d3d9f Update capstone2llvmir, fileformat, fnc-patterns, and llvm submodules. 2017-12-24 11:47:31 +01:00
Petr Zemek
ef13f89800 bin2llvmir: Remove a duplicate subcondition in SimpleTypesAnalysis::processUse() (#66).
The removed subcondition was there twice:

    user->getOpcode() == Instruction::LShr ||
    user->getOpcode() == Instruction::AShr ||  // <-- first occurrence
    user->getOpcode() == Instruction::AShr ||  // <-- second occurrence
    user->getOpcode() == Instruction::And ||
2017-12-23 07:50:27 +01:00
Marek Milkovič
74ae5a52da Updated changelog 2017-12-22 11:52:41 +01:00
Marek Milkovič
7ccf79f3ef Updated capstone2llvmir, demangler, fileformat, fnc-patterns,
googletest, retdec-config and tl-cpputils submodules
2017-12-22 11:29:13 +01:00
Petr Zemek
2ed11a17f0 Mention the fixed build of retdec-config when two different compilers are employed in CHANGELOG. 2017-12-22 10:45:19 +01:00
Petr Zemek
840868bfd6 Update submodules fileformat, fnc-patterns, retdec-config. 2017-12-22 10:42:39 +01:00
Petr Zemek
50f0ed2ed4 Mention the fixed build of the llvm submodule with VS 2017 when DIA SDK is installed into CHANGELOG. 2017-12-22 08:54:11 +01:00
Petr Zemek
4cad0e5059 Update submodules capstone2llvmir, fileformat, fnc-patterns, and llvm. 2017-12-22 08:50:02 +01:00
Marek Milkovič
583292145b Updated fileformat and fnc-patterns submodules 2017-12-21 23:27:01 +01:00
Marek Milkovič
9777086b23 Updated fileformat and fnc-patterns submodules 2017-12-21 11:28:22 +01:00
Petr Zemek
aebf5967eb Update the capstone2llvmir submodule. 2017-12-21 08:19:01 +01:00
Petr Zemek
a8a24aa64c Fix the build of bin2llvmirtool after the added support for macOS build (#62).
In 55c2d04202, support for macOS build was added.
It applied the following patch (note the last line):

    -else() # Linux/MSYS2
    +elseif(APPLE)
    +   target_link_libraries(bin2llvmirtool -Wl,-force_load bin2llvmir)
    +elseif() # Linux/MSYS2

The last `elseif()` should have been `else()`. This caused any Linux build to
fail with the following error because of the missing dependency on bin2llvmir:

    bin2llvmir.cpp:18:10: fatal error: llvm/ADT/Triple.h: No such file or directory
2017-12-21 08:15:13 +01:00
Petr Zemek
acf6ead232 Remove a forgotten variable from install-share.sh that causes installation to fail (#63).
The variable was left there in a4fb3d42aa. It
causes the installation to fail with the following error:

    cmake/install-share.sh: 93: install-share.sh: UNPACK_PARAMS: not found
2017-12-21 07:31:39 +01:00
Petr Zemek
0fb375b435 Fix formatting in README and rephrase several parts of it. 2017-12-21 07:19:29 +01:00
Petr Zemek
8a5f51fee2 Mention that RetDec requires Bison version >= 3.0 to build into README.
As suggested in #58.
2017-12-21 06:57:11 +01:00
Petr Zemek
5a64f678b5 Add missing required packages for Linux into README: Bison and Flex. 2017-12-21 06:56:39 +01:00
Marek Milkovič
ecc3464d60 Merge branch 'stek29-macos-fix' 2017-12-20 19:47:19 +01:00
Marek Milkovič
ea755faf7e Updated changelog 2017-12-20 19:46:36 +01:00
Marek Milkovič
75534e032f Added disclaimers that we do not officially support macOS to README 2017-12-20 19:43:56 +01:00
Marek Milkovič
e2aed754a2 Merge branch 'macos-fix' of git://github.com/stek29/retdec into stek29-macos-fix 2017-12-20 19:31:59 +01:00
Marek Milkovič
1e469383e1 Updated fileformat, fnc-patterns and llvm submodules 2017-12-20 19:30:58 +01:00
Peter Matula
7d67338abf doc: add graph of git submodule dependencies. 2017-12-20 16:01:26 +01:00
Peter Matula
cdbe6aba80
readme: add link to wiki 2017-12-20 14:55:01 +01:00
Petr Zemek
1ae4b79392 Mention two new enhancements in CHANGELOG. 2017-12-20 13:38:57 +01:00
Petr Zemek
39efed8706 Fix links to issues in README and CHANGELOG.
Unfortunately, GitHub does not render issue and pull-request identifiers as
links in `.md` files, so we have to do this by ourselves.
2017-12-20 11:58:12 +01:00
Petr Zemek
2995eaf3d6
Merge pull request #57 from orbitcowboy/master
llvmir2hll: Fix incorrect condition in CopyPropagationOptimizer.
2017-12-20 09:16:55 +01:00
orbitcowboy
6eefa76c45 optimizer: Fixed wrong condition. 2017-12-20 08:40:52 +01:00
Petr Zemek
19de77b8a1 Unify the format of CHANGELOG entries.
We want to use the same format for all entries (begin with an uppercase letter,
just like when writing a regular sentence).
2017-12-20 08:32:12 +01:00
Petr Zemek
0382d1a6a3 Unify the names of related repositories in README.
Use the same format for all names.
2017-12-20 07:50:43 +01:00
Petr Zemek
41dbad2339 Mention retdec-python in README in the "Related Repositories" section. 2017-12-20 06:39:27 +01:00
mbandzi
3a38d47a1a
Update changelog 2017-12-19 13:59:13 +01:00