We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df087d commit 0315ef9Copy full SHA for 0315ef9
memflow-win32/src/ida_signatures.rs
@@ -1,15 +1,6 @@
1
/// Generates a regex string from an ida-like hex string.
2
/// Main benefit of this is that you can directly use your ida signatures,
3
/// 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
13
#[macro_export]
14
macro_rules! ida_regex {
15
( $($token:tt)+ ) => {
0 commit comments