File retdec.spec of Package retdec
#
# spec file for package retdec
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: retdec
Version: 4.0
Release: 0
Summary: RetDec is a retargetable machine-code decompiler based on LLVM.
### see about the rest
License: MIT
URL: https://retdec.com
Source0: https://github.com/avast/retdec/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
###BuildRequires: clang
BuildRequires: gcc-c++
BuildRequires: pkgconfig(capstone)
BuildRequires: pkgconfig(zlib)
###Requires:
%description
RetDec is a retargetable machine-code decompiler based on LLVM.
The decompiler is not limited to any particular target architecture,
operating system, or executable file format:
* Supported file formats: ELF, PE, Mach-O, COFF, AR (archive),
Intel HEX, and raw machine code
* Supported architectures:
+ 32-bit: Intel x86, ARM, MIPS, PIC32, and PowerPC
+ 64-bit: x86-64, ARM64 (AArch64)
Features:
* Static analysis of executable files with detailed information.
* Compiler and packer detection.
* Loading and instruction decoding.
* Signature-based removal of statically linked library code.
* Extraction and utilization of debugging information (DWARF, PDB).
* Reconstruction of instruction idioms.
* Detection and reconstruction of C++ class hierarchies (RTTI,
vtables).
* Demangling of symbols from C++ binaries (GCC, MSVC, Borland).
* Reconstruction of functions, types, and high-level constructs.
* Integrated disassembler.
* Output in two high-level languages: C and a Python-like language.
* Generation of call graphs, control-flow graphs, and various
statistics.
%prep
%autosetup
%build
###%%define _lto_cflags %%{nil}
%cmake
%cmake_build
%install
%cmake_install
%files
# see about LICENSE-THIRDPARTY
%license LICENSE LICENSE-PELIB
%doc CHANGELOG.md README.md
%changelog