Skip to content

Commit

Permalink
Fixed version of PELIB
Browse files Browse the repository at this point in the history
Fixed spaces
  • Loading branch information
Zezula Ladislav committed Apr 30, 2018
1 parent 0e05056 commit cab9451
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion deps/pelib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ if(CMAKE_CXX_COMPILER)
endif()

ExternalProject_Add(pelib-project
URL https://github.com/avast-tl/pelib/archive/master.zip
URL https://github.com/avast-tl/pelib/archive/e653527f4b2b6130fb00225bb6d0392e49ee7080.zip
URL_HASH SHA256=fc8d6207e2046bfa51ba588b14fdfa22c756ce35338e6b8036889a7110465cf1
DOWNLOAD_NAME pelib.zip
CMAKE_ARGS
# This does not work on MSVC, but may be useful on Linux.
Expand Down
8 changes: 4 additions & 4 deletions include/retdec/fileformat/file_format/file_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct LoaderErrorInfo
LoaderErrorInfo() : loaderErrorCode(0), loaderError(nullptr), loaderErrorUserFriendly(nullptr)
{}

std::uint32_t loaderErrorCode; // Loader error code, cast to uint32_t
std::uint32_t loaderErrorCode; // Loader error code, cast to uint32_t
const char * loaderError;
const char * loaderErrorUserFriendly;
};
Expand Down Expand Up @@ -81,11 +81,11 @@ class FileFormat : public retdec::utils::ByteValueStorage, private retdec::utils
PdbInfo *pdbInfo; ///< information about related PDB debug file
CertificateTable *certificateTable; ///< table of certificates
Format fileFormat; ///< format of input file
LoaderErrorInfo _ldrErrInfo; ///< loader error (e.g. Windows loader error for PE files)
LoaderErrorInfo _ldrErrInfo; ///< loader error (e.g. Windows loader error for PE files)
bool stateIsValid; ///< internal state of instance
std::vector<std::pair<std::size_t, std::size_t>> secHashInfo; ///< information for calculation of section table hash
retdec::utils::Maybe<bool> signatureVerified; ///< indicates whether the signature is present and also verified
retdec::utils::RangeContainer<std::uint64_t> nonDecodableRanges; ///< Address ranges which should not be decoded for instructions.
retdec::utils::Maybe<bool> signatureVerified; ///< indicates whether the signature is present and also verified
retdec::utils::RangeContainer<std::uint64_t> nonDecodableRanges; ///< Address ranges which should not be decoded for instructions.

/// @name Clear methods
/// @{
Expand Down

0 comments on commit cab9451

Please sign in to comment.