Open Issues Need Help
View All on GitHubA lightweight Rust library for obfuscating strings and control-flow using cryptify
AI Summary: Enhance the Rust `rustfuscator` library's identifier renaming functionality to employ more robust obfuscation techniques. This involves implementing configurable renaming strategies (e.g., hashing, randomization) while addressing potential name collisions and ensuring compatibility with different Rust scoping rules. The goal is to improve the resistance of obfuscated code to reverse engineering.
A lightweight Rust library for obfuscating strings and control-flow using cryptify
AI Summary: Implement support for obfuscating string literals within common logging macros (like `println!`, `eprintln!`, `log::info!`) in the `rustfuscator` library. This involves adding a new configuration option to enable/disable this feature and specifying which macros and string literals to obfuscate or ignore. The solution requires modifying the AST visitor to handle macro invocations and potentially adding a new macro expansion step.
A lightweight Rust library for obfuscating strings and control-flow using cryptify
AI Summary: The task is to modify the `obfuscate_string!` macro in the `rustfuscator` library to intelligently return either a `&str` or a `String` based on how it's used in the code, eliminating the need for a separate `obfuscate_str!` macro. This likely involves using a combination of `macro_rules!` and procedural macros, requiring a deep understanding of Rust's macro system.
A lightweight Rust library for obfuscating strings and control-flow using cryptify
AI Summary: Improve the `obfuscate_string!` macro in the `rustfuscator` library to handle string references (`&String`) more gracefully. The macro should ideally automatically adapt to the context where it's used (e.g., converting to `&str` when needed) or provide helper functions to safely perform conversions without introducing temporary variables that could cause errors.
A lightweight Rust library for obfuscating strings and control-flow using cryptify
AI Summary: The task is to improve the `obfuscate_string!` macro in the `rustfuscator` library to prevent temporary borrow issues. This involves either creating a new macro `obfuscate_str!` that returns a `&'static str` using `Box::leak(...)`, or improving the documentation to clearly explain safe usage patterns (e.g., using a temporary variable) to avoid the error.
A lightweight Rust library for obfuscating strings and control-flow using cryptify