107 Commits

Author SHA1 Message Date
Katrin Leinweber
8c4b23dbbf Expand citability by adding CITATION file (#65) 2018-01-04 16:41:28 +01:00
Petr Zemek
6e7fc1d5ec Mention that Bash version >= 4 is required in README.
macOS has Bash 3 by default, which is quite old.
2018-01-03 16:35:16 +01:00
Petr Zemek
6c83f80ce6 Add a missing space before '--' in README (formatting). 2018-01-03 11:11:53 +01:00
Petr Zemek
6382f8f96c Add missing Linux build requirements (pkg-config, m4) into README. 2018-01-03 09:19:21 +01:00
Petr Zemek
e190fb85b3 Unify the order of required Linux packages between distributions in README. 2018-01-03 09:16:58 +01:00
Petr Zemek
9d8bea6a72 Add a missing Linux and macOS build requirement (autotools) into README.
GNU autotools are required (autoconf, automake, libtool).
2018-01-03 06:54:26 +01:00
Petr Zemek
3f5b82abd8 Unify formatting in CMake files. 2018-01-02 12:32:04 +01:00
Petr Zemek
af2d4ed6ff Install RetDec in Docker into /home/retdec/retdec-install.
After all, Manouchehri was right. Installing retdec into 'retdec-install' into
just 'install' seems to be a better option.
2018-01-01 13:58:09 +01:00
Petr Zemek
31fbf3b511 Cosmetic fixes in Dockerfiles.
Fix tabs-vs-spaces inconsistencies and wrap a long comment.
2018-01-01 13:54:40 +01:00
Petr Zemek
d66a061bb1 Update instructions for running decompile.sh in README.
There is no need to enter `$RETDEC_INSTALL_DIR/bin` before running
`decompile.sh`. You can run it via any directory.
2018-01-01 13:52:58 +01:00
Petr Zemek
3ed6de224c Move Docker instructions in README below instructions for local build.
Local build is directly supported by us. Docker support is maintained by
community.
2018-01-01 13:49:05 +01:00
Petr Zemek
699cc6874d Mention the newly added Docker support into CHANGELOG. 2018-01-01 13:39:05 +01:00
Petr Zemek
9663ffa259 Update macOS build requirements in README.
Make them more uniform with the Linux build requirements.
2018-01-01 13:37:27 +01:00
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 6003462ab9dd0e86b128a30aa96328a7d45170be.
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 ecba1a6367773088ec98cb08190f37df381c6f51.
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 55c2d04202c70f4d9d27ca27bb146d7d4066d9f8, 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 a4fb3d42aa3800a062e074f8b076435752ecf637. 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