mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-28 05:14:33 +00:00
* CMake: Added install directives * CMake: Added support for find_package(pe-parse) * Fixed a compilation error on Linux * CMake: Fix cmake module installation * Added ArchLinux package * Finished implementing the address converted example * peaddrconv: Print the image base address. * peaddrconv: Enable more warnings. * Update travis to also build the examples * Fix a compilation warning on Ubuntu 14.04 * Travis: Add macOS support. * Better output for Travis, fix a compilation error on macOS. * Travis: Do not build examples under macOS. * Travis: Also compile the python module (pepy) * Readme: Add a section to show how to use the library. * Windows: Fix a compilation error, enable /analyze (see details). The nt-headers.h include file is defining several constexpr values using reserved (by windows.h) names. These names (i.e.: IMAGE_FILE_MACHINE_UNKNOWN) are in fact macros defined inside the Windows header files, and causes the preprocessor to break definitions such as the following one: constexpr std::uint16_t IMAGE_FILE_MACHINE_UNKNOWN = 0x0; The fix (for now) consists in including the nt-headers.h file before windows.h, but we should probably choose whether to use different names or avoid defining those values (since they are inside the system header anyway).
33 lines
668 B
YAML
33 lines
668 B
YAML
language: cpp
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
before_install:
|
|
- ./travis.sh "$TRAVIS_OS_NAME" initialize
|
|
script:
|
|
- ./travis.sh "$TRAVIS_OS_NAME" build
|
|
|
|
matrix:
|
|
exclude:
|
|
- compiler: gcc
|
|
os: osx
|
|
|
|
env:
|
|
global:
|
|
- secure: "O+BGqz4ugoVIJbQTh0dJjKRrsSVzkCYSe0WpRzEWK3l8Mw7hqX300g81TxRwTzN2zfUsROMzaeGaXWfGzYakgW59K1WIioaczxtv2MzzUQTbqzJPa+qQoP9bk/b2wJ5jcOL965/rudRju4UiIwuIgzDAMN3nAfIEJgV/2zANLIg="
|
|
|
|
addons:
|
|
coverity_scan:
|
|
project:
|
|
name: "trailofbits/pe-parse"
|
|
description: "Principled, lightweight C/C++ PE parser"
|
|
notification_email: dan@trailofbits.com
|
|
build_command: "./travis.sh linux build"
|
|
branch_pattern: master
|