endgameinc / xori

Xori is an automation-ready disassembly and static analysis library for PE32, 32+ and shellcode
GNU Affero General Public License v3.0
724 stars 88 forks source link

Fix cargo build on Linux #42

Closed mikemadden42 closed 4 years ago

mikemadden42 commented 4 years ago

These updates fix the following build issue on Linux.

error: failed to run custom build command for `openssl v0.9.24`

Caused by:
  process didn't exit successfully: `/home/michael_madden/rust/xori/target/release/build/openssl-62f9983eb3104bc7/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/michael_madden/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

There were also quite a few whitespace issues in src/bin/pesymbols.rs.

mikemadden42 commented 4 years ago

This PR address issue https://github.com/endgameinc/xori/issues/40.

rseymour commented 4 years ago

LGTM