mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 02:52:47 +08:00
chore: spell the product name CrackProof
Match the capitalization the research documentation uses, in comments, messages, tests, and the web app. Lowercase identifiers and URLs are unchanged.
This commit is contained in:
1 parent
7fde1809c7
commit
4d211166bf
21 files changed
+69
-69
No files matched your search
@@ -433,7 +433,7 @@ fn print_help() {
|
||||
);
|
||||
println!(
|
||||
" <file|folder>\n\
|
||||
\x20 a Crackproof PE (.exe/.dll), an il2cpp global-metadata.dat,\n\
|
||||
\x20 a CrackProof PE (.exe/.dll), an il2cpp global-metadata.dat,\n\
|
||||
\x20 a protected Android AArch64 library (.so), an Android app\n\
|
||||
\x20 package (.apk/.apks/.xapk), or a folder containing any of\n\
|
||||
\x20 these. The bare form is the same as 'unpack'."
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Integration tests for the manifest-driven corpus harness.
|
||||
//!
|
||||
//! These exercise the harness itself with generated fixtures only: a
|
||||
//! Crackproof-shaped PE, synthetic v31 metadata, an ELF probe, and a small app
|
||||
//! CrackProof-shaped PE, synthetic v31 metadata, an ELF probe, and a small app
|
||||
//! tree. No real corpus, product name, or golden binary is involved.
|
||||
//!
|
||||
//! Run just this file with:
|
||||
|
||||
@@ -56,7 +56,7 @@ fn classifier_detects_direct_and_nested_internal_panics() {
|
||||
fn classifier_leaves_ordinary_restore_errors_alone() {
|
||||
assert!(!harness::surfaced_internal_panic(&stage5_not_found()));
|
||||
let ordinary_fallback = senbei_engine::UnpackError::PipelineFallbackFailed {
|
||||
dll: Box::new(senbei_engine::UnpackError::NotCrackproof),
|
||||
dll: Box::new(senbei_engine::UnpackError::NotCrackProof),
|
||||
exe: Box::new(stage5_not_found()),
|
||||
};
|
||||
assert!(!harness::surfaced_internal_panic(&ordinary_fallback));
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Corpus test over the user-managed `senbei/samples` folder.
|
||||
//!
|
||||
//! Drop real Crackproof `*.exe` / `*.dll` inputs in there (and/or il2cpp
|
||||
//! Drop real CrackProof `*.exe` / `*.dll` inputs in there (and/or il2cpp
|
||||
//! `*.dat` metadata blobs), optionally alongside a byte-exact golden named
|
||||
//! `<base>.golden.<ext>`. Each input is processed and classified:
|
||||
//!
|
||||
|
||||
@@ -140,7 +140,7 @@ fn types_offset() -> usize {
|
||||
0x100 + 2 * IMAGE_STRIDE
|
||||
}
|
||||
|
||||
/// Build a PE that the Crackproof detector classifies.
|
||||
/// Build a PE that the CrackProof detector classifies.
|
||||
///
|
||||
/// Only the fields the detector reads are populated: the DOS/PE headers, the
|
||||
/// COFF characteristics word, the optional-header magic, the CLR directory,
|
||||
|
||||
Reference in new issue
Block a user