Skip to content

Commit 0315ef9

Browse files
committed
Remove erronous ida signature doc test
1 parent 5df087d commit 0315ef9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

memflow-win32/src/ida_signatures.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
/// Generates a regex string from an ida-like hex string.
22
/// Main benefit of this is that you can directly use your ida signatures,
33
/// while not needing to decode them at runtime or manually beforehand.
4-
///
5-
/// Example Usage:
6-
/// ```
7-
/// use regex::Regex;
8-
/// use memflow_win32::ida_regex;
9-
/// const REGEX_PATTERN: &str = ida_regex![4C 8B ? ? ? ? 3C 9F];
10-
/// let re = Regex::new(REGEX_PATTERN).unwrap();
11-
/// assert_eq!(REGEX_PATTERN, "(?-u)\\x4C\\x8B(?s:.){4}\\x3C\\x9F");
12-
/// ```
134
#[macro_export]
145
macro_rules! ida_regex {
156
( $($token:tt)+ ) => {

0 commit comments

Comments
 (0)