Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rvac committed Dec 12, 2017
0 parents commit d9230cb
Show file tree
Hide file tree
Showing 1,083 changed files with 245,032 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build/
33 changes: 33 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[submodule "deps/fileformat"]
path = deps/fileformat
url = https://github.com/avast-tl/fileformat
[submodule "deps/fnc-patterns"]
path = deps/fnc-patterns
url = https://github.com/avast-tl/fnc-patterns
[submodule "deps/googletest"]
path = deps/googletest
url = https://github.com/avast-tl/googletest
[submodule "deps/libdwarf"]
path = deps/libdwarf
url = https://github.com/avast-tl/libdwarf
[submodule "deps/llvm"]
path = deps/llvm
url = https://github.com/avast-tl/llvm
[submodule "deps/pdbparser"]
path = deps/pdbparser
url = https://github.com/avast-tl/pdbparser
[submodule "deps/retdec-config"]
path = deps/retdec-config
url = https://github.com/avast-tl/retdec-config
[submodule "deps/tl-cpputils"]
path = deps/tl-cpputils
url = https://github.com/avast-tl/tl-cpputils
[submodule "deps/demangler"]
path = deps/demangler
url = https://github.com/avast-tl/demangler
[submodule "deps/ctypes"]
path = deps/ctypes
url = https://github.com/avast-tl/ctypes
[submodule "deps/capstone2llvmir"]
path = deps/capstone2llvmir
url = https://github.com/avast-tl/capstone2llvmir
32 changes: 32 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

cmake_minimum_required(VERSION 3.6)

project(retdec CXX)

# Set the default build type to 'Release'
if (NOT CMAKE_BUILD_TYPE)
set(default_build_type "Release")
message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
endif()

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")

option(RETDEC_DOC "Build public API documentation (requires Doxygen)." OFF)
option(RETDEC_TESTS "Build tests." OFF)

set(DEPS_TESTS ${RETDEC_TESTS})
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/deps-config.cmake)

include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/install-external.cmake)

add_subdirectory(deps)
if(RETDEC_DOC)
add_subdirectory(doc)
endif()
add_subdirectory(scripts)
add_subdirectory(src)
if(RETDEC_TESTS)
add_subdirectory(tests)
endif()
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Avast Software

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit d9230cb

Please sign in to comment.