-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* this is a continuation of the pullrequest for pdb_wrapper (#1) * update dependency versions * load rva from fakepdb json * add arg that allows passing clang args * link the new arg into the code * make bao compilable by providing an env var * crash and burn only if we detect an actual error * pull in the data from the pdb section if it exists * rewrote parts to be more concise. * add features to bao and wrap the pdb generation inside of a feature controlled function * have a default return value if it fails to access the needed debug information * implement some clippy recomendations * correctly implement the feature * start_rva is usize * correctly setup rng rand * Make the code more idiomatic, TODO: fix dependency link * add code to get symbol location from rva_start * revert the lib change * update git with working link * update git with working link Co-authored-by: noah the goodra <peterpan0413@live.com> Co-authored-by: jan <not-wlan@protonmail.com> * 0.2 release, rename binary to bao-pdb for publishing Co-authored-by: Jordan Francis Moran-Meyers <69991101+jfm535@users.noreply.github.com> Co-authored-by: noah the goodra <peterpan0413@live.com>
- Loading branch information
1 parent
87d8c69
commit 984163e
Showing
8 changed files
with
216 additions
and
106 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fn main() { | ||
println!("If the build fails pass the llvm lib folder to env LLVMLIB_DIR"); | ||
if let Ok(name) = std::env::var("LLVMLIB_DIR") { | ||
println!("cargo:rustc-link-search={}", name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters