Skip to content

Commit 732f9c4

Browse files
authored
Some fixes found during publish.sh (#3496)
* more fix * More fun
1 parent bd49bdf commit 732f9c4

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

crates/libafl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
Welcome to `LibAFL`
33
*/
4-
#![doc = include_str!("../../../README.md")]
4+
#![doc = include_str!("../README.md")]
55
/*! */
66
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
77
#![no_std]

crates/libafl_bolts/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Welcome to `LibAFL_bolts`
33
*/
4-
#![doc = include_str!("../../../README.md")]
4+
#![doc = include_str!("../README.md")]
55
/*! */
66
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
77
#![no_std]

crates/libafl_frida/src/asan/asan_rt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,6 +2091,7 @@ impl AsanRuntime {
20912091
}
20922092

20932093
#[cfg(target_arch = "aarch64")]
2094+
#[allow(trivial_numeric_casts)]
20942095
fn generate_shadow_check_blob(&mut self, width: u32) -> Box<[u8]> {
20952096
/*x0 contains the shadow address
20962097
x0 and x1 are saved by the asan_check
@@ -2133,6 +2134,7 @@ impl AsanRuntime {
21332134
}
21342135

21352136
#[cfg(target_arch = "aarch64")]
2137+
#[allow(trivial_numeric_casts)]
21362138
fn generate_shadow_check_large_blob(&mut self, width: u32) -> Box<[u8]> {
21372139
//x0 contains the shadow address
21382140
//x0 and x1 are saved by the asan_check

crates/libafl_qemu/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! __Warning__: The documentation is built by default for `x86_64` in `usermode`. To access the documentation of other architectures or `systemmode`, the documentation must be rebuilt with the right features.
44
/*! */
5-
#![doc = include_str!("../../../README.md")]
5+
#![doc = include_str!("../README.md")]
66
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
77
// libafl_qemu only supports Linux currently
88
#![cfg(target_os = "linux")]

scripts/publish.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ pushd libafl_qemu_sys
5555
cargo publish "$@"
5656
popd
5757

58+
sleep 20
59+
60+
pushd libvharness_sys
61+
cargo publish "$@"
62+
popd || exit 1
63+
64+
sleep 20
65+
5866
cargo publish "$@"
5967
popd || exit 1
6068

@@ -72,7 +80,7 @@ popd || exit 1
7280

7381
sleep 20
7482

75-
# init symcc submodule if not already done
83+
init symcc submodule if not already done
7684
if git submodule status | grep "^-">/dev/null ; then \
7785
echo "Initializing submodules"; \
7886
git submodule init; \
@@ -119,12 +127,6 @@ popd || exit 1
119127

120128
sleep 20
121129

122-
pushd crates/libafl_qemu/libvharness
123-
cargo publish "$@"
124-
popd || exit 1
125-
126-
sleep 20
127-
128130
pushd crates/libafl_qemu/libafl_qemu_runner
129131
cargo publish "$@"
130132
popd || exit 1

0 commit comments

Comments
 (0)