81 Commits

Author SHA1 Message Date
Petr Zemek
da3162ea6a Add required packages to build RetDec on Arch Linux.
https://www.archlinux.org/
2017-12-28 07:49:10 +01: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
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
Michal Bandzi
96eb39ce67 Merge branch 'master' of https://github.com/avast-tl/retdec 2017-12-19 13:56:29 +01:00
Michal Bandzi
a5b8a7235f Update submodules 2017-12-19 13:54:25 +01:00
Petr Zemek
daa4661c50 Rename "RETDEC_INSTALLED_DIR" to "RETDEC_INSTALL_DIR" in README.
The new name sounds better.
2017-12-19 07:36:26 +01:00
Petr Zemek
0c9a7574a3
Merge pull request #6 from Manouchehri/wget-s3-fix
Added wget flag to reset connection
2017-12-19 06:46:50 +01:00
David Manouchehri
d699d3bb70
Added wget flag to reset connection. 2017-12-18 13:12:41 -05:00
Petr Zemek
ab7adba3b8 Add a new required package for Debian-based distributions to README: automake (#46). 2017-12-18 17:04:17 +01:00
Peter Matula
a4fb3d42aa cmake/install-share.sh: bashisms free script -- any shell can be used 2017-12-18 14:35:09 +01:00
Petr Zemek
18ab21ee6e Mention the vim-syntax-retdecdsm repository in README.
It provides a Vim syntax-highlighting file for the output from the RetDec's
disassembler (.dsm files).
2017-12-18 07:44:44 +01:00
Petr Zemek
e8498d73c4 Add link to the list of RetDec related publications into README. 2017-12-17 10:33:01 +01:00
Petr Zemek
75eec65e5e Improve the note about the required C++ compiler in README.
RetDec needs both a C++14 capable compiler as well as a proper implementation
of the standard C++ library.
2017-12-17 10:00:19 +01:00
Petr Zemek
05b34d8932 Add a link to our Botconf 2017 talk to README. 2017-12-17 09:56:26 +01:00
Marek Milkovič
08810d3333 Updated fileformat and fnc-patterns submodules 2017-12-17 00:41:15 +01:00
Petr Zemek
d71545f6eb Mention removal of duplicate lib prefixes from libdwarf and libelf in CHANGELOG (#31). 2017-12-15 18:39:18 +01:00