mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 02:52:47 +08:00
feat(gui): finalize native desktop release 1.4.0
Apply the reviewed five-language wording and action-button sizing fixes. Preserve serialized English messages and report wire values. Honor configured resource limits during added-file identification, with regression tests for UI requests and native package inspection. Build and package the CLI and desktop app together in CI and release archives, including the font license and usage instructions. Bump workspace and browser bindings to 1.4.0 without upgrading third-party dependencies.
This commit is contained in:
1 parent
5121ec8ee3
commit
20a68b1c73
24 files changed
+537
-351
No files matched your search
@@ -59,13 +59,15 @@ jobs:
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
bin: senbei.exe
|
||||
gui_bin: senbei-gui.exe
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
bin: senbei
|
||||
gui_bin: senbei-gui
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cargo build --release --locked
|
||||
- run: cargo build --release --locked -p senbei-cli -p senbei-gui
|
||||
- name: Package senbei-<version>-<target>
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -74,7 +76,9 @@ jobs:
|
||||
name="senbei-$version-${{ matrix.target }}"
|
||||
mkdir -p "stage/$name"
|
||||
cp "target/release/${{ matrix.bin }}" "stage/$name/"
|
||||
cp LICENSE "stage/$name/"
|
||||
cp "target/release/${{ matrix.gui_bin }}" "stage/$name/"
|
||||
cp LICENSE README.md "stage/$name/"
|
||||
cp senbei-gui/assets/fonts/OFL.txt "stage/$name/ASUL-OFL.txt"
|
||||
awk '/^## Legal notice and intended use/{f=1} f && /^## / && !/Legal notice/{exit} f' \
|
||||
README.md > "stage/$name/LEGAL-NOTICE.md"
|
||||
echo "package=$name" >> "$GITHUB_ENV"
|
||||
@@ -85,6 +89,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.package }}
|
||||
path: stage/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
|
||||
web:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
name: Release
|
||||
|
||||
# Publishing a GitHub release:
|
||||
# - cli-assets builds the Windows and Linux CLI binaries and attaches
|
||||
# senbei-<version>-<target>.zip (binary + LICENSE + the legal
|
||||
# notice extracted from README.md) to the release.
|
||||
# - cli-assets builds the Windows and Linux CLI and desktop GUI and attaches
|
||||
# senbei-<version>-<target>.zip (both binaries, README, LICENSE, the Asul
|
||||
# font license, and the legal notice extracted from README.md).
|
||||
# - deploy-web rebuilds the browser app and pushes it to Cloudflare Pages
|
||||
# (https://senbei.pages.dev). Requires two repository secrets:
|
||||
# CLOUDFLARE_API_TOKEN (Pages:Edit) and CLOUDFLARE_ACCOUNT_ID. The Pages
|
||||
@@ -27,13 +27,15 @@ jobs:
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
bin: senbei.exe
|
||||
gui_bin: senbei-gui.exe
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
bin: senbei
|
||||
gui_bin: senbei-gui
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cargo build --release --locked
|
||||
- run: cargo build --release --locked -p senbei-cli -p senbei-gui
|
||||
- name: Package senbei-<version>-<target>
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -42,7 +44,9 @@ jobs:
|
||||
name="senbei-$version-${{ matrix.target }}"
|
||||
mkdir -p "stage/$name"
|
||||
cp "target/release/${{ matrix.bin }}" "stage/$name/"
|
||||
cp LICENSE "stage/$name/"
|
||||
cp "target/release/${{ matrix.gui_bin }}" "stage/$name/"
|
||||
cp LICENSE README.md "stage/$name/"
|
||||
cp senbei-gui/assets/fonts/OFL.txt "stage/$name/ASUL-OFL.txt"
|
||||
awk '/^## Legal notice and intended use/{f=1} f && /^## / && !/Legal notice/{exit} f' \
|
||||
README.md > "stage/$name/LEGAL-NOTICE.md"
|
||||
# Release assets are served as-is (unlike CI artifacts, which the
|
||||
|
||||
@@ -152,6 +152,9 @@ target/
|
||||
/samples/*
|
||||
!/samples/README.md
|
||||
|
||||
### senbei native release staging ###
|
||||
/stage/
|
||||
|
||||
### senbei web build ###
|
||||
# The wasm crate builds out-of-workspace in senbei-wasm/ and wasm-pack emits
|
||||
# the JS/wasm package into web/pkg/ for the static frontend.
|
||||
|
||||
Generated
+10
-9
@@ -3045,7 +3045,7 @@ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
||||
|
||||
[[package]]
|
||||
name = "senbei-cli"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"senbei-engine",
|
||||
@@ -3060,7 +3060,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-crypto"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"thiserror 2.0.21",
|
||||
@@ -3068,7 +3068,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-elf"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"goblin",
|
||||
"thiserror 2.0.21",
|
||||
@@ -3076,7 +3076,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-engine"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"memmap2",
|
||||
"senbei-crypto",
|
||||
@@ -3092,7 +3092,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-gui"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"eframe",
|
||||
@@ -3109,11 +3109,12 @@ dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tempfile",
|
||||
"zip",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "senbei-i18n"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -3121,7 +3122,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-io"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"indicatif",
|
||||
@@ -3145,7 +3146,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-metadata"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -3154,7 +3155,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-pe"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ exclude = ["senbei-wasm", "fuzz"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.99.1"
|
||||
license = "AGPL-3.0-only"
|
||||
|
||||
@@ -15,6 +15,14 @@ senbei "C:\Games\MyGame"
|
||||
|
||||
Outputs are written below an `unpack` directory unless `--out` is supplied.
|
||||
|
||||
Launch the native desktop app:
|
||||
|
||||
```cmd
|
||||
cargo run --release -p senbei-gui
|
||||
```
|
||||
|
||||
The native release workflow packages the CLI and desktop app together for Windows and Linux. The desktop app supports files and folders, Android libraries and app packages, inspection, hex views, and report export.
|
||||
|
||||
Full documentation: <https://xn--ri8h.gitbook.io/crackproof-research/senbei>
|
||||
|
||||
## Legal notice and intended use
|
||||
|
||||
@@ -31,5 +31,8 @@ png.workspace = true
|
||||
rfd.workspace = true
|
||||
tempfile.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
zip.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -168,7 +168,10 @@ pub enum Pick {
|
||||
/// What the window asks of the backend.
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Request {
|
||||
Identify(Vec<(ItemId, PathBuf)>),
|
||||
Identify {
|
||||
items: Vec<(ItemId, PathBuf)>,
|
||||
limits: ResourceLimits,
|
||||
},
|
||||
Scan {
|
||||
group: GroupId,
|
||||
root: PathBuf,
|
||||
|
||||
@@ -121,8 +121,7 @@ fn dispatch(incoming: Receiver<Request>, sink: Sink) {
|
||||
current.cancel();
|
||||
}
|
||||
}
|
||||
Request::Identify(items) => spawn("senbei-identify", move || {
|
||||
let limits = ResourceLimits::default();
|
||||
Request::Identify { items, limits } => spawn("senbei-identify", move || {
|
||||
for (id, path) in items {
|
||||
sink.send(Event::Identified(id, Box::new(identify(&path, &limits))));
|
||||
}
|
||||
@@ -706,3 +705,72 @@ impl SystemFonts {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::io::Write;
|
||||
use std::time::Duration;
|
||||
|
||||
use zip::write::SimpleFileOptions;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn package_identification_honors_requested_limits() {
|
||||
let temp = tempfile::tempdir().unwrap();
|
||||
let path = temp.path().join("app.apk");
|
||||
let mut archive = zip::ZipWriter::new(std::fs::File::create(&path).unwrap());
|
||||
let options =
|
||||
SimpleFileOptions::default().compression_method(zip::CompressionMethod::Stored);
|
||||
archive.start_file("AndroidManifest.xml", options).unwrap();
|
||||
archive
|
||||
.write_all(br#"<manifest package="example.test" />"#)
|
||||
.unwrap();
|
||||
archive
|
||||
.start_file("lib/arm64-v8a/libexample.so", options)
|
||||
.unwrap();
|
||||
archive.write_all(b"library").unwrap();
|
||||
archive.finish().unwrap();
|
||||
|
||||
let backend = NativeBackend::new(egui::Context::default());
|
||||
let receive = |id| {
|
||||
let event = backend
|
||||
.events
|
||||
.lock()
|
||||
.unwrap()
|
||||
.recv_timeout(Duration::from_secs(10))
|
||||
.expect("identification must finish");
|
||||
let Event::Identified(actual, identity) = event else {
|
||||
panic!("expected an identification result");
|
||||
};
|
||||
assert_eq!(actual, id);
|
||||
let Identity::Package { container, .. } = *identity else {
|
||||
panic!("expected an Android package");
|
||||
};
|
||||
container
|
||||
};
|
||||
backend.send(Request::Identify {
|
||||
items: vec![(1, path.clone())],
|
||||
limits: ResourceLimits {
|
||||
max_entries: 1,
|
||||
..ResourceLimits::default()
|
||||
},
|
||||
});
|
||||
let error = receive(1).expect_err("two entries must exceed the one-entry limit");
|
||||
let expected = Message::new(Msg::LimitEntries {
|
||||
requested: 2,
|
||||
limit: 1,
|
||||
});
|
||||
assert!(error.contains(expected.text()), "{error}");
|
||||
|
||||
backend.send(Request::Identify {
|
||||
items: vec![(2, path)],
|
||||
limits: ResourceLimits {
|
||||
max_entries: 2,
|
||||
..ResourceLimits::default()
|
||||
},
|
||||
});
|
||||
let report = receive(2).expect("raising the entry limit must allow identification");
|
||||
assert_eq!(report.candidate_entries.len(), 1);
|
||||
}
|
||||
}
|
||||
+28
-28
@@ -16,14 +16,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::TbDryRun => "Dry run".into(),
|
||||
Text::TbDryRunN { n } => format!("Dry run ({n})").into(),
|
||||
Text::TbDryRunAll => "Dry run all".into(),
|
||||
Text::TbDryRunTip => "Run the real recovery and keep nothing.".into(),
|
||||
Text::TbDryRunTip => "Recover the selected inputs without saving output files.".into(),
|
||||
Text::TbInspect => "Inspect".into(),
|
||||
Text::TbInspectN { n } => format!("Inspect ({n})").into(),
|
||||
Text::TbInspectAll => "Inspect all".into(),
|
||||
Text::TbInspectTip => "Run the real recovery, show everything it found, and keep nothing.".into(),
|
||||
Text::TbInspectTip => "Recover the selected inputs and show research data without saving output files.".into(),
|
||||
Text::TbOutput => "Output:".into(),
|
||||
Text::TbOutputBeside => "Beside each input (unpack\\)".into(),
|
||||
Text::TbOutputTip => "Where unpacked files are written. Inspect and dry run never write outputs.".into(),
|
||||
Text::TbOutputBeside => "Default location (unpack\\)".into(),
|
||||
Text::TbOutputTip => "Destination folder for unpacked files. Inspect and dry run do not save output files.".into(),
|
||||
Text::TbSettings => "Settings".into(),
|
||||
Text::BannerEnv { vars } => format!("Debug environment variable {vars} is set. Decoding may differ from a clean run.").into(),
|
||||
Text::BannerEnvHint => "Unset it and restart to return to normal behavior.".into(),
|
||||
@@ -50,12 +50,12 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PendingNotRun => "Not run yet".into(),
|
||||
Text::PendingNotProtected => "Not protected".into(),
|
||||
Text::PendingIdentified => "Identified".into(),
|
||||
Text::PendingNext => "What to do with it".into(),
|
||||
Text::PendingNext => "Actions".into(),
|
||||
Text::PendingUnpackDesc => "Recover it and write the result to the output folder.".into(),
|
||||
Text::PendingDryRunDesc => "Run the real recovery and keep nothing, to see whether it works.".into(),
|
||||
Text::PendingInspectDesc => "Run the real recovery and show everything found. Keeps nothing.".into(),
|
||||
Text::PendingNotProtectedNote => "Senbei found no supported protection in this file, so there is nothing to recover.".into(),
|
||||
Text::PendingNotAFile => "Not a regular file, so there is nothing to read.".into(),
|
||||
Text::PendingDryRunDesc => "Test recovery without saving output files.".into(),
|
||||
Text::PendingInspectDesc => "Recover this input and show research data without saving output files.".into(),
|
||||
Text::PendingNotProtectedNote => "No supported protection was detected in this file.".into(),
|
||||
Text::PendingNotAFile => "This path is not a regular file.".into(),
|
||||
Text::ScanRunning => "Scanning".into(),
|
||||
Text::ScanFound => "Candidates so far".into(),
|
||||
Text::ScanStatus { n, p } => format!("Scanning {p}… candidates so far: {n}").into(),
|
||||
@@ -93,7 +93,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StepPe32TextSkip => "Skipping .text (already plaintext)".into(),
|
||||
Text::StepPe32Rebuild => "Rebuilding PE file layout".into(),
|
||||
Text::StepAndroidPrimary => "Decoding the primary container".into(),
|
||||
Text::StepAndroidAux => "Decoding the ELF materialization container".into(),
|
||||
Text::StepAndroidAux => "Decoding the auxiliary ELF container".into(),
|
||||
Text::StepAndroidTables => "Rebuilding dynamic-linker tables".into(),
|
||||
Text::DetailPick => "Select an input or a group on the left.".into(),
|
||||
Text::DetailExportJson => "Export JSON".into(),
|
||||
@@ -114,7 +114,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::BatchNonTarget => "Non-targets skipped".into(),
|
||||
Text::BatchWalkErrors => "Unreadable entries".into(),
|
||||
Text::BatchProbeErrors => "Probe errors".into(),
|
||||
Text::BatchScanNote => "Only .exe, .dll, .so and global-metadata.dat names are probed.".into(),
|
||||
Text::BatchScanNote => "Folder scans check .exe, .dll, .so, global-metadata.dat, and Android app packages.".into(),
|
||||
Text::BatchScanIncomplete => "Analysis is incomplete: some folder entries or selected files could not be examined.".into(),
|
||||
Text::PkgTitle => "Package".into(),
|
||||
Text::PkgKind => "Package type".into(),
|
||||
@@ -128,8 +128,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PkgManifests => "Manifests".into(),
|
||||
Text::PkgUnnamed => "not named".into(),
|
||||
Text::PkgTargets => "Protected entries and metadata".into(),
|
||||
Text::PkgNoTargets => "No entry in this package is protected, so there is nothing to recover.".into(),
|
||||
Text::PkgInventory { n } => format!("Entries listed in the package: {n}").into(),
|
||||
Text::PkgNoTargets => "No protected entries were detected in this package.".into(),
|
||||
Text::PkgInventory { n } => format!("Candidate entries: {n}").into(),
|
||||
Text::EntriesTitle => "Entry".into(),
|
||||
Text::EntriesOthers { n } => format!("Other entries (not targets): {n}").into(),
|
||||
Text::EntriesSummary { n } => format!("Targets: {n}").into(),
|
||||
@@ -201,9 +201,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvNoRoutes => "No route was attempted.".into(),
|
||||
Text::OvStages => "Stages".into(),
|
||||
Text::OvValidation => "Static validation".into(),
|
||||
Text::OvValidationMetadata => "The PE and ELF structure checks do not apply to metadata; the transform validates its own tables.".into(),
|
||||
Text::OvValidationWarnings => "The restored image has structural findings and may not run. It is counted as suspect; an unpack still writes it.".into(),
|
||||
Text::OvValidationFailed => "The restored image failed a fatal structure check and is unlikely to run. It is counted as suspect; an unpack still writes it.".into(),
|
||||
Text::OvValidationMetadata => "This validation checks PE and ELF structure. Metadata tables are validated during transformation.".into(),
|
||||
Text::OvValidationWarnings => "The restored image has structural warnings and may not run. It is marked as suspect, and unpack still writes the output file.".into(),
|
||||
Text::OvValidationFailed => "Static validation found a fatal structural error in the restored image, which is unlikely to run. It is marked as suspect, and unpack still writes the output file.".into(),
|
||||
Text::OvIdentity => "Identity".into(),
|
||||
Text::OvSource => "Input".into(),
|
||||
Text::OvCompanion => "Companion".into(),
|
||||
@@ -214,7 +214,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvElfSections => "Sections · segments".into(),
|
||||
Text::OvElfSymbols => "Dynamic symbols".into(),
|
||||
Text::OvElfRelocs => "Relocations · PLT".into(),
|
||||
Text::ResearchNone => "No research data: recovery stopped before the engine published structural evidence.".into(),
|
||||
Text::ResearchNone => "No research data: recovery stopped before structural evidence was recorded.".into(),
|
||||
Text::ResearchNotCollected => "This run did not collect research evidence.".into(),
|
||||
Text::ResearchRunInspect => "Inspect this input".into(),
|
||||
Text::ResearchSplicedNote => "Spliced view: offsets below 0x1000 address the loader stub; offsets from 0x1000 address the companion at (offset − 0x1000).".into(),
|
||||
@@ -222,7 +222,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ResearchRegionsNote => "File ranges outside every section.".into(),
|
||||
Text::ResearchRegionsNone => "Every file byte belongs to the headers or a section.".into(),
|
||||
Text::ResearchAStreamsNote => "Each stream is one decoded container level.".into(),
|
||||
Text::ResearchAArtifactsNote => "Files produced during extraction. They live in a temporary workspace that is discarded afterwards.".into(),
|
||||
Text::ResearchAArtifactsNote => "Intermediate files produced during extraction in a temporary workspace that is removed after the run.".into(),
|
||||
Text::RsGrpInput => "Protected input".into(),
|
||||
Text::RsGrpProtection => "Protection".into(),
|
||||
Text::RsGrpRecovery => "Recovery".into(),
|
||||
@@ -244,12 +244,12 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsAStreams => "Streams".into(),
|
||||
Text::RsAModules => "Module registry".into(),
|
||||
Text::RsAArtifacts => "Artifacts".into(),
|
||||
Text::RsAScalars => "Totals".into(),
|
||||
Text::RsAScalars => "Summary fields".into(),
|
||||
Text::RsARDescriptor => "Descriptor".into(),
|
||||
Text::RsARStaticConfig => "Static configuration".into(),
|
||||
Text::RsARPrimary => "Primary container".into(),
|
||||
Text::RsARAuxiliary => "Auxiliary container".into(),
|
||||
Text::RsARElfMaterialization => "ELF materialization".into(),
|
||||
Text::RsARElfMaterialization => "ELF table reconstruction".into(),
|
||||
Text::RsARCleaning => "Protector removal".into(),
|
||||
Text::RsARValidation => "Validation".into(),
|
||||
Text::RsMReport => "Transform report".into(),
|
||||
@@ -309,9 +309,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::MetaImage => "Image".into(),
|
||||
Text::MetaMethods => "Methods".into(),
|
||||
Text::MetaModulus => "Modulus".into(),
|
||||
Text::MetaClean => "Clean".into(),
|
||||
Text::MetaClean => "Indices valid".into(),
|
||||
Text::MetaSeedResidues => "Seed residues".into(),
|
||||
Text::MetaResidues => "residues".into(),
|
||||
Text::MetaResidues => "Needs restore".into(),
|
||||
Text::HexVOriginal => "Original file".into(),
|
||||
Text::HexVSpliced => "Spliced view".into(),
|
||||
Text::HexVRestored => "Restored (in memory)".into(),
|
||||
@@ -389,13 +389,13 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsOutput => "Default output folder".into(),
|
||||
Text::SettingsOutputRecent => "Last used folder".into(),
|
||||
Text::SettingsOutputChoose => "Choose a folder…".into(),
|
||||
Text::SettingsOutputHelp => "Beside each input means an unpack\\ folder next to the file or folder you added.".into(),
|
||||
Text::SettingsOutputHelp => "Writes to an unpack\\ folder next to each added file or inside each added folder.".into(),
|
||||
Text::SettingsLog => "Write a log file".into(),
|
||||
Text::SettingsLogHelp => "Unpack writes senbei-YYYYMMDD-HHMMSS.log into the output folder.".into(),
|
||||
Text::SettingsThreads => "Worker threads".into(),
|
||||
Text::SettingsThreadsAuto { n } => format!("Automatic ({n})").into(),
|
||||
Text::SettingsScanAll => "Probe small files".into(),
|
||||
Text::SettingsScanAllHelp => "Also probe .exe, .dll, .so and metadata names below the size floor when scanning folders.".into(),
|
||||
Text::SettingsScanAllHelp => "Also probe .exe, .dll, .so, and global-metadata.dat files below the minimum size threshold when scanning folders.".into(),
|
||||
Text::SettingsAndroidNote => "Limits are checked before extraction or allocation. They are not a cap on peak memory use.".into(),
|
||||
Text::SettingsMaxEntry => "Largest single entry".into(),
|
||||
Text::SettingsMaxEntryHelp => "Archive entry, decoded buffer, or output.".into(),
|
||||
@@ -406,9 +406,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsMaxDepth => "Maximum nesting depth".into(),
|
||||
Text::SettingsMaxDepthHelp => "The package itself is depth 0.".into(),
|
||||
Text::SettingsKeepBytes => "Keep restored bytes for Hex and Compare".into(),
|
||||
Text::SettingsKeepBytesHelp => "Inspect and dry run keep the restored image in memory for this session only.".into(),
|
||||
Text::SettingsKeepCap => "Per-input memory cap".into(),
|
||||
Text::SettingsKeepCapHelp => "Larger restored images are summarized structurally without bytes.".into(),
|
||||
Text::SettingsKeepBytesHelp => "Retain restored images in memory during this session after inspect or dry run.".into(),
|
||||
Text::SettingsKeepCap => "Maximum retained image size".into(),
|
||||
Text::SettingsKeepCapHelp => "Structural summaries remain available for larger images, but their bytes are not kept in memory.".into(),
|
||||
Text::SettingsReset => "Reset to defaults".into(),
|
||||
Text::SettingsDone => "Done".into(),
|
||||
Text::AboutVersion { v } => format!("Version {v}").into(),
|
||||
@@ -544,7 +544,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::NoteRawPastEof { end, len } => format!("raw range ends at {end}, input is {len} bytes").into(),
|
||||
Text::NoteCertFileOffset => "certificate directory uses a file offset, not an RVA".into(),
|
||||
Text::NoteNoImportTable => "no import table".into(),
|
||||
Text::MsgCompanionMissing => "Companion missing? This loader expects a matching <input>._ payload. Keep it beside the input file and try again.".into(),
|
||||
Text::MsgCompanionMissing => "Missing companion file: this loader requires a matching <input>._ payload in the same folder as the input file.".into(),
|
||||
Text::MsgLimitEntry { entry, limit, size } => format!("{entry} is {size} bytes, over the {limit}-byte limit. Raise the limit in Settings → Android limits, then run it again.").into(),
|
||||
Text::MsgInternalPanic { loc } => format!("internal error in the recovery engine at {loc}").into(),
|
||||
Text::NoteMagicUnsupportedValue { value } => format!("header table decoded but info[1] is {value}, not the supported magic").into(),
|
||||
|
||||
+33
-33
@@ -16,14 +16,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::TbDryRun => "ドライラン".into(),
|
||||
Text::TbDryRunN { n } => format!("ドライラン ({n})").into(),
|
||||
Text::TbDryRunAll => "すべてドライラン".into(),
|
||||
Text::TbDryRunTip => "実際の復元を実行し、結果は保存しません。".into(),
|
||||
Text::TbDryRunTip => "出力ファイルを保存せずに復元を実行します。".into(),
|
||||
Text::TbInspect => "検査".into(),
|
||||
Text::TbInspectN { n } => format!("検査 ({n})").into(),
|
||||
Text::TbInspectAll => "すべて検査".into(),
|
||||
Text::TbInspectTip => "実際の復元を実行して検出内容をすべて表示し、結果は保存しません。".into(),
|
||||
Text::TbInspectTip => "出力ファイルを保存せずに復元し、解析データを表示します。".into(),
|
||||
Text::TbOutput => "出力:".into(),
|
||||
Text::TbOutputBeside => "各入力の隣 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "アンパック済みファイルの出力先です。検査とドライランでは出力を書き込みません。".into(),
|
||||
Text::TbOutputBeside => "既定の場所 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "アンパック済みファイルの保存先です。検査とドライランでは出力フォルダーにファイルを保存しません。".into(),
|
||||
Text::TbSettings => "設定".into(),
|
||||
Text::BannerEnv { vars } => format!("デバッグ環境変数{vars}が設定されています。通常の実行とデコード結果が異なる場合があります。").into(),
|
||||
Text::BannerEnvHint => "通常の動作に戻すには、環境変数を解除して再起動してください。".into(),
|
||||
@@ -52,8 +52,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PendingIdentified => "識別結果".into(),
|
||||
Text::PendingNext => "実行する操作".into(),
|
||||
Text::PendingUnpackDesc => "復元し、結果を出力フォルダーに書き込みます。".into(),
|
||||
Text::PendingDryRunDesc => "実際の復元を実行し、結果は保存せずに成否を確認します。".into(),
|
||||
Text::PendingInspectDesc => "実際の復元を実行し、検出内容をすべて表示します。結果は保存しません。".into(),
|
||||
Text::PendingDryRunDesc => "出力ファイルを保存せずに復元できるか確認します。".into(),
|
||||
Text::PendingInspectDesc => "出力ファイルを保存せずに復元し、解析データを表示します。".into(),
|
||||
Text::PendingNotProtectedNote => "このファイルには対応する保護が見つからなかったため、復元する対象がありません。".into(),
|
||||
Text::PendingNotAFile => "通常ファイルではないため、読み取る内容がありません。".into(),
|
||||
Text::ScanRunning => "スキャン中".into(),
|
||||
@@ -93,7 +93,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StepPe32TextSkip => ".textをスキップ中 (すでに平文)".into(),
|
||||
Text::StepPe32Rebuild => "PEファイルレイアウトを再構築中".into(),
|
||||
Text::StepAndroidPrimary => "プライマリコンテナーをデコード中".into(),
|
||||
Text::StepAndroidAux => "ELF実体化コンテナーをデコード中".into(),
|
||||
Text::StepAndroidAux => "ELF再構築用コンテナーをデコード中".into(),
|
||||
Text::StepAndroidTables => "動的リンカーテーブルを再構築中".into(),
|
||||
Text::DetailPick => "左側から入力またはグループを選択してください。".into(),
|
||||
Text::DetailExportJson => "JSONをエクスポート".into(),
|
||||
@@ -104,17 +104,17 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::CompanionSplicedPill => "コンパニオン対応付け済み".into(),
|
||||
Text::TabOverview => "概要".into(),
|
||||
Text::TabResearch => "解析詳細".into(),
|
||||
Text::TabHex => "16進".into(),
|
||||
Text::TabHex => "Hex".into(),
|
||||
Text::TabCompare => "比較".into(),
|
||||
Text::TabLog => "ログ".into(),
|
||||
Text::TabEntries => "エントリ".into(),
|
||||
Text::BatchSummary => "集計".into(),
|
||||
Text::BatchInputs => "入力".into(),
|
||||
Text::BatchScan => "フォルダースキャン".into(),
|
||||
Text::BatchNonTarget => "スキップした対象外".into(),
|
||||
Text::BatchNonTarget => "対象外 (スキップ)".into(),
|
||||
Text::BatchWalkErrors => "読み取れないフォルダー項目".into(),
|
||||
Text::BatchProbeErrors => "プローブエラー".into(),
|
||||
Text::BatchScanNote => ".exe、.dll、.so、およびglobal-metadata.datの名前のみをプローブします。".into(),
|
||||
Text::BatchScanNote => "フォルダーのスキャンでは、.exe、.dll、.so、global-metadata.datとAndroidアプリパッケージを検査します。".into(),
|
||||
Text::BatchScanIncomplete => "解析が不完全です。一部のフォルダー項目または選択したファイルを調査できませんでした。".into(),
|
||||
Text::PkgTitle => "パッケージ".into(),
|
||||
Text::PkgKind => "パッケージ種別".into(),
|
||||
@@ -123,13 +123,13 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PkgEntries => "トップレベルエントリ".into(),
|
||||
Text::PkgCandidates => "プローブ対象エントリ".into(),
|
||||
Text::PkgNested => "ネストされたパッケージ".into(),
|
||||
Text::PkgNote => ".soとglobal-metadata.datのエントリのみを展開してプローブします。".into(),
|
||||
Text::PkgNote => ".soとglobal-metadata.datのエントリのみを抽出して検査します。".into(),
|
||||
Text::PkgResult => "結果".into(),
|
||||
Text::PkgManifests => "マニフェスト".into(),
|
||||
Text::PkgUnnamed => "名前なし".into(),
|
||||
Text::PkgTargets => "保護されたエントリとメタデータ".into(),
|
||||
Text::PkgNoTargets => "このパッケージに保護されたエントリはないため、復元する対象がありません。".into(),
|
||||
Text::PkgInventory { n } => format!("パッケージ内の記載エントリ: {n}").into(),
|
||||
Text::PkgInventory { n } => format!("検査対象エントリ一覧 ({n})").into(),
|
||||
Text::EntriesTitle => "エントリ".into(),
|
||||
Text::EntriesOthers { n } => format!("その他のエントリ (対象外): {n}").into(),
|
||||
Text::EntriesSummary { n } => format!("対象: {n}").into(),
|
||||
@@ -201,9 +201,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvNoRoutes => "試行されたルートはありません。".into(),
|
||||
Text::OvStages => "ステージ".into(),
|
||||
Text::OvValidation => "静的検証".into(),
|
||||
Text::OvValidationMetadata => "PEおよびELFの構造検査はメタデータには適用されません。変換処理自体がテーブルを検証します。".into(),
|
||||
Text::OvValidationMetadata => "ここでの静的検証はPEとELFの構造を対象とします。メタデータのテーブルは変換処理中に検証します。".into(),
|
||||
Text::OvValidationWarnings => "復元イメージに構造上の問題が検出されたため、正常に動作しない可能性があります。「要注意」として集計されますが、アンパック時にはそのまま書き込まれます。".into(),
|
||||
Text::OvValidationFailed => "復元イメージが致命的な構造検査に失敗したため、動作しない可能性が高いです。「要注意」として集計されますが、アンパック時にはそのまま書き込まれます。".into(),
|
||||
Text::OvValidationFailed => "静的検証で復元イメージに致命的な構造上の問題が見つかったため、動作しない可能性が高いです。「要注意」として扱われますが、アンパック時にはファイルが保存されます。".into(),
|
||||
Text::OvIdentity => "識別情報".into(),
|
||||
Text::OvSource => "入力".into(),
|
||||
Text::OvCompanion => "コンパニオン".into(),
|
||||
@@ -214,11 +214,11 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvElfSections => "セクション · セグメント".into(),
|
||||
Text::OvElfSymbols => "動的シンボル".into(),
|
||||
Text::OvElfRelocs => "再配置 · PLT".into(),
|
||||
Text::ResearchNone => "解析データなし: エンジンが構造の根拠を出力する前に復元が停止しました。".into(),
|
||||
Text::ResearchNotCollected => "この実行では解析の根拠を収集していません。".into(),
|
||||
Text::ResearchNone => "解析データなし: 構造情報が生成される前に復元が停止しました。".into(),
|
||||
Text::ResearchNotCollected => "この実行では解析データを収集していません。".into(),
|
||||
Text::ResearchRunInspect => "この入力を検査".into(),
|
||||
Text::ResearchSplicedNote => "連結ビュー: 0x1000未満のオフセットはローダースタブを、0x1000以上のオフセットはコンパニオンの(オフセット − 0x1000)を指します。".into(),
|
||||
Text::ResearchJump { space } => format!("16進で表示 ({space})").into(),
|
||||
Text::ResearchJump { space } => format!("Hexで表示 ({space})").into(),
|
||||
Text::ResearchRegionsNote => "どのセクションにも属さないファイル範囲です。".into(),
|
||||
Text::ResearchRegionsNone => "ファイルのすべてのバイトがヘッダーまたはセクションに属しています。".into(),
|
||||
Text::ResearchAStreamsNote => "各ストリームはデコードされた1つのコンテナー階層に対応します。".into(),
|
||||
@@ -227,7 +227,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsGrpProtection => "保護".into(),
|
||||
Text::RsGrpRecovery => "復元".into(),
|
||||
Text::RsGrpExtraction => "抽出".into(),
|
||||
Text::RsGrpRestoration => "復元".into(),
|
||||
Text::RsGrpRestoration => "ELF再構築".into(),
|
||||
Text::RsGrpMetadata => "メタデータ".into(),
|
||||
Text::RsGrpProfile => "プロファイル".into(),
|
||||
Text::RsPeHeader => "PEヘッダー".into(),
|
||||
@@ -244,12 +244,12 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsAStreams => "ストリーム".into(),
|
||||
Text::RsAModules => "モジュールレジストリ".into(),
|
||||
Text::RsAArtifacts => "成果物".into(),
|
||||
Text::RsAScalars => "合計".into(),
|
||||
Text::RsAScalars => "基本情報".into(),
|
||||
Text::RsARDescriptor => "記述子".into(),
|
||||
Text::RsARStaticConfig => "静的構成".into(),
|
||||
Text::RsARPrimary => "プライマリコンテナー".into(),
|
||||
Text::RsARAuxiliary => "補助コンテナー".into(),
|
||||
Text::RsARElfMaterialization => "ELF実体化".into(),
|
||||
Text::RsARElfMaterialization => "ELFテーブルの再構築".into(),
|
||||
Text::RsARCleaning => "プロテクター除去".into(),
|
||||
Text::RsARValidation => "検証".into(),
|
||||
Text::RsMReport => "変換レポート".into(),
|
||||
@@ -290,7 +290,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::DiscNone => "候補はありません。".into(),
|
||||
Text::TraceSummary { n, s } => format!("イベント: {n} · ステージ: {s}").into(),
|
||||
Text::TraceEvents { n } => format!("イベント: {n}").into(),
|
||||
Text::TraceTruncated { l, n } => format!("トレースが切り詰められました。破棄されたイベント: {n} (上限 {l})。").into(),
|
||||
Text::TraceTruncated { l, n } => format!("トレースが上限に達し、{n}件のイベントが省略されました (上限 {l})。").into(),
|
||||
Text::StreamsTitle { id } => format!("ストリーム {id}").into(),
|
||||
Text::StreamsSummary { d, k, n, s } => format!("深さ {d} · {k} · レコード: {n} · {s}").into(),
|
||||
Text::StreamsOrigin => "生成元".into(),
|
||||
@@ -309,9 +309,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::MetaImage => "イメージ".into(),
|
||||
Text::MetaMethods => "メソッド数".into(),
|
||||
Text::MetaModulus => "モジュラス".into(),
|
||||
Text::MetaClean => "問題なし".into(),
|
||||
Text::MetaClean => "復元不要".into(),
|
||||
Text::MetaSeedResidues => "シード剰余".into(),
|
||||
Text::MetaResidues => "剰余あり".into(),
|
||||
Text::MetaResidues => "要復元".into(),
|
||||
Text::HexVOriginal => "元ファイル".into(),
|
||||
Text::HexVSpliced => "連結ビュー".into(),
|
||||
Text::HexVRestored => "復元済み (メモリ内)".into(),
|
||||
@@ -322,7 +322,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::HexFindHint => "4D 5A またはテキスト".into(),
|
||||
Text::HexFindNext => "次へ".into(),
|
||||
Text::HexFindNone => "これ以上一致する箇所はありません。".into(),
|
||||
Text::HexTooLarge { limit, size } => format!("このファイルは{size}です。16進ビューは{limit}までのファイルを読み取ります。").into(),
|
||||
Text::HexTooLarge { limit, size } => format!("このファイルは{size}あります。Hexビューで表示できる上限は{limit}です。").into(),
|
||||
Text::HexRvaUnmapped { o } => format!("このビューにはRVA {o}に対応するファイルバイトがありません。").into(),
|
||||
Text::HexCopySel => "選択範囲をコピー".into(),
|
||||
Text::HexInspector => "カーソル位置".into(),
|
||||
@@ -360,7 +360,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::LogLvWarn => "WARN".into(),
|
||||
Text::LogLvError => "ERROR".into(),
|
||||
Text::LogRunStarted { mode, n } => format!("{mode}を開始 · 入力: {n}").into(),
|
||||
Text::LogScan { n, s } => format!("スキャン完了: 候補 {n}、スキップした対象外 {s}").into(),
|
||||
Text::LogScan { n, s } => format!("スキャン完了: 候補 {n}、対象外スキップ {s}").into(),
|
||||
Text::LogInputStarted { i, n, p } => format!("入力 {i}/{n}: {p}").into(),
|
||||
Text::LogCompanion { p } => format!("コンパニオンを対応付け: {p}").into(),
|
||||
Text::LogStep { i, n, s } => format!("ステップ {i}/{n}: {s}").into(),
|
||||
@@ -389,14 +389,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsOutput => "既定の出力フォルダー".into(),
|
||||
Text::SettingsOutputRecent => "前回使用したフォルダー".into(),
|
||||
Text::SettingsOutputChoose => "フォルダーを選択…".into(),
|
||||
Text::SettingsOutputHelp => "「各入力の隣」を選択すると、追加したファイルまたはフォルダーの隣にunpack\\フォルダーを作成します。".into(),
|
||||
Text::SettingsOutputHelp => "追加したファイルと同じ場所、または追加したフォルダーの中にあるunpack\\フォルダーに保存します。".into(),
|
||||
Text::SettingsLog => "ログファイルを書き込む".into(),
|
||||
Text::SettingsLogHelp => "アンパック時に、出力フォルダーへsenbei-YYYYMMDD-HHMMSS.logを書き込みます。".into(),
|
||||
Text::SettingsThreads => "ワーカースレッド数".into(),
|
||||
Text::SettingsThreadsAuto { n } => format!("自動 ({n})").into(),
|
||||
Text::SettingsScanAll => "小さいファイルもプローブする".into(),
|
||||
Text::SettingsScanAllHelp => "フォルダーのスキャン時、サイズ下限未満の.exe、.dll、.so、およびメタデータの名前もプローブします。".into(),
|
||||
Text::SettingsAndroidNote => "上限は展開またはメモリ割り当ての前に検査されます。ピーク時のメモリ使用量を制限するものではありません。".into(),
|
||||
Text::SettingsScanAllHelp => "フォルダーのスキャン時、最小サイズ未満の.exe、.dll、.so、global-metadata.datもプローブします。".into(),
|
||||
Text::SettingsAndroidNote => "各上限は抽出やメモリ確保の前にチェックされます。ピーク時のメモリ使用量を制限するものではありません。".into(),
|
||||
Text::SettingsMaxEntry => "単一エントリの最大サイズ".into(),
|
||||
Text::SettingsMaxEntryHelp => "アーカイブエントリ、デコード済みバッファー、または出力のサイズです。".into(),
|
||||
Text::SettingsMaxTotal => "総バジェット".into(),
|
||||
@@ -405,9 +405,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsMaxEntriesHelp => "アーカイブエントリおよびステージ2レコードの数です。".into(),
|
||||
Text::SettingsMaxDepth => "最大ネスト深さ".into(),
|
||||
Text::SettingsMaxDepthHelp => "パッケージ自体を深さ0とします。".into(),
|
||||
Text::SettingsKeepBytes => "16進と「比較」用に復元バイトを保持".into(),
|
||||
Text::SettingsKeepBytes => "Hexと比較用に復元データをメモリに保持".into(),
|
||||
Text::SettingsKeepBytesHelp => "検査とドライランでは、このセッション中に限り復元イメージをメモリ内に保持します。".into(),
|
||||
Text::SettingsKeepCap => "入力ごとのメモリ上限".into(),
|
||||
Text::SettingsKeepCap => "保持するイメージの最大サイズ".into(),
|
||||
Text::SettingsKeepCapHelp => "これを超える復元イメージはバイトデータを保持せず、構造のみを要約します。".into(),
|
||||
Text::SettingsReset => "既定値に戻す".into(),
|
||||
Text::SettingsDone => "完了".into(),
|
||||
@@ -516,8 +516,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::BackingFileBacked => "ファイル内".into(),
|
||||
Text::BackingVirtualOnly => "メモリ上のみ".into(),
|
||||
Text::BackingRawTruncated { n } => format!("切り詰め (ファイル内は{n}バイトのみ)").into(),
|
||||
Text::RegionHeadersToFirstSection => "ヘッダーと最初のセクションの間隙".into(),
|
||||
Text::RegionBetweenSections => "セクション間の間隙".into(),
|
||||
Text::RegionHeadersToFirstSection => "ヘッダーと最初のセクションの間の領域".into(),
|
||||
Text::RegionBetweenSections => "セクション間の領域".into(),
|
||||
Text::RegionOverlay => "オーバーレイ".into(),
|
||||
Text::SemanticKey => "鍵".into(),
|
||||
Text::SemanticMagic => "マジック".into(),
|
||||
@@ -544,7 +544,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::NoteRawPastEof { end, len } => format!("ファイル内範囲の終端は{end}ですが、入力は{len}バイトです").into(),
|
||||
Text::NoteCertFileOffset => "証明書ディレクトリはRVAではなくファイルオフセットを使用します".into(),
|
||||
Text::NoteNoImportTable => "インポートテーブルがありません".into(),
|
||||
Text::MsgCompanionMissing => "コンパニオンが見つからない可能性があります。このローダーには対応する<input>._ペイロードが必要です。入力ファイルの隣に配置して再試行してください。".into(),
|
||||
Text::MsgCompanionMissing => "コンパニオンファイルが見つかりません。このローダーには対応する<input>._ペイロードが必要です。入力ファイルと同じフォルダーに配置して再試行してください。".into(),
|
||||
Text::MsgLimitEntry { entry, limit, size } => format!("{entry}は{size}バイトあり、上限の{limit}バイトを超えています。「設定」→「Androidの上限」で上限を引き上げてから再実行してください。").into(),
|
||||
Text::MsgInternalPanic { loc } => format!("{loc}で復元エンジンの内部エラーが発生しました").into(),
|
||||
Text::NoteMagicUnsupportedValue { value } => format!("ヘッダーテーブルをデコードしましたが、info[1]が{value}であり、対応しているマジックではありません").into(),
|
||||
|
||||
+51
-51
@@ -16,14 +16,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::TbDryRun => "시험 실행".into(),
|
||||
Text::TbDryRunN { n } => format!("시험 실행 ({n})").into(),
|
||||
Text::TbDryRunAll => "모두 시험 실행".into(),
|
||||
Text::TbDryRunTip => "실제 복원을 실행하되 아무것도 저장하지 않습니다.".into(),
|
||||
Text::TbDryRunTip => "출력 파일을 저장하지 않고 복원을 실행합니다.".into(),
|
||||
Text::TbInspect => "검사".into(),
|
||||
Text::TbInspectN { n } => format!("검사 ({n})").into(),
|
||||
Text::TbInspectAll => "모두 검사".into(),
|
||||
Text::TbInspectTip => "실제 복원을 실행하고 발견된 모든 내용을 표시하며, 아무것도 저장하지 않습니다.".into(),
|
||||
Text::TbInspectTip => "출력 파일을 저장하지 않고 복원한 뒤 분석 데이터를 표시합니다.".into(),
|
||||
Text::TbOutput => "출력:".into(),
|
||||
Text::TbOutputBeside => "각 입력 옆 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "언패킹된 파일이 기록되는 위치입니다. 검사와 시험 실행은 출력을 기록하지 않습니다.".into(),
|
||||
Text::TbOutputBeside => "기본 위치 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "언패킹된 파일을 저장할 위치입니다. 검사와 시험 실행은 출력 폴더에 파일을 저장하지 않습니다.".into(),
|
||||
Text::TbSettings => "설정".into(),
|
||||
Text::BannerEnv { vars } => format!("디버그 환경 변수 {vars}이(가) 설정되어 있습니다. 디코딩 결과가 정상 실행과 다를 수 있습니다.").into(),
|
||||
Text::BannerEnvHint => "변수를 해제하고 다시 시작하면 정상 동작으로 돌아갑니다.".into(),
|
||||
@@ -37,8 +37,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::InputsNone => "필터와 일치하는 입력이 없습니다.".into(),
|
||||
Text::FilterAll => "전체".into(),
|
||||
Text::FilterOk => "복원됨".into(),
|
||||
Text::FilterSuspect => "의심됨".into(),
|
||||
Text::FilterFailed => "실패함".into(),
|
||||
Text::FilterSuspect => "주의 필요".into(),
|
||||
Text::FilterFailed => "실패".into(),
|
||||
Text::FilterSkipped => "건너뜀".into(),
|
||||
Text::GroupFiles => "추가된 파일".into(),
|
||||
Text::GroupScanning { n } => format!("스캔 중… 현재까지 후보: {n}").into(),
|
||||
@@ -52,8 +52,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PendingIdentified => "식별됨".into(),
|
||||
Text::PendingNext => "수행할 작업".into(),
|
||||
Text::PendingUnpackDesc => "복원하여 결과를 출력 폴더에 기록합니다.".into(),
|
||||
Text::PendingDryRunDesc => "실제 복원을 실행하여 작동 여부를 확인하며, 아무것도 저장하지 않습니다.".into(),
|
||||
Text::PendingInspectDesc => "실제 복원을 실행하고 발견된 모든 내용을 표시합니다. 아무것도 저장하지 않습니다.".into(),
|
||||
Text::PendingDryRunDesc => "출력 파일을 저장하지 않고 복원 가능한지 확인합니다.".into(),
|
||||
Text::PendingInspectDesc => "출력 파일을 저장하지 않고 복원한 뒤 분석 데이터를 표시합니다.".into(),
|
||||
Text::PendingNotProtectedNote => "Senbei가 이 파일에서 지원되는 보호를 찾지 못하여 복원할 내용이 없습니다.".into(),
|
||||
Text::PendingNotAFile => "일반 파일이 아니므로 읽을 내용이 없습니다.".into(),
|
||||
Text::ScanRunning => "스캔 중".into(),
|
||||
@@ -93,9 +93,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StepPe32TextSkip => ".text 건너뛰는 중 (이미 평문)".into(),
|
||||
Text::StepPe32Rebuild => "PE 파일 레이아웃 재구성 중".into(),
|
||||
Text::StepAndroidPrimary => "기본 컨테이너 디코딩 중".into(),
|
||||
Text::StepAndroidAux => "ELF 구체화 컨테이너 디코딩 중".into(),
|
||||
Text::StepAndroidAux => "ELF 재구성 컨테이너 디코딩 중".into(),
|
||||
Text::StepAndroidTables => "동적 링커 테이블 재구성 중".into(),
|
||||
Text::DetailPick => "왼쪽에서 입력 또는 그룹을 선택합니다.".into(),
|
||||
Text::DetailPick => "왼쪽에서 입력 또는 그룹을 선택하세요.".into(),
|
||||
Text::DetailExportJson => "JSON 내보내기".into(),
|
||||
Text::DetailExportText => "텍스트 내보내기".into(),
|
||||
Text::DetailLastRun { mode, t } => format!("{mode} · {t}").into(),
|
||||
@@ -103,18 +103,18 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::DetailTechnical => "기술 세부 정보".into(),
|
||||
Text::CompanionSplicedPill => "컴패니언 파일 연결됨".into(),
|
||||
Text::TabOverview => "개요".into(),
|
||||
Text::TabResearch => "연구 분석".into(),
|
||||
Text::TabHex => "16진수".into(),
|
||||
Text::TabResearch => "상세 분석".into(),
|
||||
Text::TabHex => "Hex".into(),
|
||||
Text::TabCompare => "비교".into(),
|
||||
Text::TabLog => "로그".into(),
|
||||
Text::TabEntries => "항목".into(),
|
||||
Text::BatchSummary => "요약".into(),
|
||||
Text::BatchInputs => "입력".into(),
|
||||
Text::BatchScan => "폴더 스캔".into(),
|
||||
Text::BatchNonTarget => "건너뛴 비대상".into(),
|
||||
Text::BatchNonTarget => "건너뛴 비대상 파일".into(),
|
||||
Text::BatchWalkErrors => "읽을 수 없는 폴더 항목".into(),
|
||||
Text::BatchProbeErrors => "프로브 오류".into(),
|
||||
Text::BatchScanNote => ".exe, .dll, .so 및 global-metadata.dat 이름만 프로브합니다.".into(),
|
||||
Text::BatchScanNote => "폴더를 스캔할 때 .exe, .dll, .so, global-metadata.dat 및 Android 앱 패키지를 검사합니다.".into(),
|
||||
Text::BatchScanIncomplete => "분석이 불완전합니다: 일부 폴더 항목 또는 선택한 파일을 조사할 수 없었습니다.".into(),
|
||||
Text::PkgTitle => "패키지".into(),
|
||||
Text::PkgKind => "패키지 유형".into(),
|
||||
@@ -129,11 +129,11 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PkgUnnamed => "이름 없음".into(),
|
||||
Text::PkgTargets => "보호된 항목 및 메타데이터".into(),
|
||||
Text::PkgNoTargets => "이 패키지에 보호된 항목이 없으므로 복원할 내용이 없습니다.".into(),
|
||||
Text::PkgInventory { n } => format!("패키지에 나열된 항목: {n}").into(),
|
||||
Text::PkgInventory { n } => format!("검사 대상 항목 목록 ({n})").into(),
|
||||
Text::EntriesTitle => "항목".into(),
|
||||
Text::EntriesOthers { n } => format!("기타 항목 (비대상): {n}").into(),
|
||||
Text::EntriesOthers { n } => format!("기타 항목 (대상 아님): {n}").into(),
|
||||
Text::EntriesSummary { n } => format!("대상: {n}").into(),
|
||||
Text::EntriesShowNonTargets { n } => format!("비대상 표시 ({n})").into(),
|
||||
Text::EntriesShowNonTargets { n } => format!("비대상 항목 표시 ({n})").into(),
|
||||
Text::EntriesRemapped { n } => format!("재매핑된 메서드 필드: {n}").into(),
|
||||
Text::EntriesRemappedLabel => "재매핑된 메서드 필드".into(),
|
||||
Text::ColName => "이름".into(),
|
||||
@@ -201,9 +201,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvNoRoutes => "시도된 경로가 없습니다.".into(),
|
||||
Text::OvStages => "단계".into(),
|
||||
Text::OvValidation => "정적 검증".into(),
|
||||
Text::OvValidationMetadata => "PE 및 ELF 구조 검사는 메타데이터에 적용되지 않으며, 변환 과정에서 자체 테이블을 검증합니다.".into(),
|
||||
Text::OvValidationWarnings => "복원된 이미지에 구조적 문제가 발견되어 실행되지 않을 수 있습니다. 의심됨으로 집계되지만 언패킹 시 파일은 기록됩니다.".into(),
|
||||
Text::OvValidationFailed => "복원된 이미지가 치명적인 구조 검사에 실패하여 실행되지 않을 가능성이 높습니다. 의심됨으로 집계되지만 언패킹 시 파일은 기록됩니다.".into(),
|
||||
Text::OvValidationMetadata => "이 정적 검증은 PE와 ELF 구조를 검사합니다. 메타데이터 테이블은 변환 과정에서 검증합니다.".into(),
|
||||
Text::OvValidationWarnings => "복원된 이미지에서 구조적 문제가 발견되어 정상 실행되지 않을 수 있습니다. '주의 필요'로 분류되지만 언패킹 시 파일은 그대로 저장됩니다.".into(),
|
||||
Text::OvValidationFailed => "정적 검증에서 복원 이미지의 치명적인 구조 오류가 발견되어 실행되지 않을 가능성이 높습니다. '주의 필요'로 분류되지만 언패킹 시 파일은 그대로 저장됩니다.".into(),
|
||||
Text::OvIdentity => "식별 정보".into(),
|
||||
Text::OvSource => "입력".into(),
|
||||
Text::OvCompanion => "컴패니언 파일".into(),
|
||||
@@ -214,11 +214,11 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvElfSections => "섹션 · 세그먼트".into(),
|
||||
Text::OvElfSymbols => "동적 심볼".into(),
|
||||
Text::OvElfRelocs => "재배치 · PLT".into(),
|
||||
Text::ResearchNone => "연구 데이터 없음: 엔진이 구조적 근거를 기록하기 전에 복원이 중지되었습니다.".into(),
|
||||
Text::ResearchNotCollected => "이 실행에서는 연구 근거를 수집하지 않았습니다.".into(),
|
||||
Text::ResearchNone => "분석 데이터 없음: 구조 정보가 생성되기 전에 복원이 중지되었습니다.".into(),
|
||||
Text::ResearchNotCollected => "이 실행에서는 상세 분석 데이터를 수집하지 않았습니다.".into(),
|
||||
Text::ResearchRunInspect => "이 입력 검사".into(),
|
||||
Text::ResearchSplicedNote => "결합 보기: 0x1000 미만의 오프셋은 로더 스텁을 가리키며, 0x1000 이상의 오프셋은 (오프셋 − 0x1000) 위치의 컴패니언 파일을 가리킵니다.".into(),
|
||||
Text::ResearchJump { space } => format!("16진수에서 표시 ({space})").into(),
|
||||
Text::ResearchJump { space } => format!("Hex에서 보기 ({space})").into(),
|
||||
Text::ResearchRegionsNote => "모든 섹션 외부의 파일 범위입니다.".into(),
|
||||
Text::ResearchRegionsNone => "모든 파일 바이트가 헤더 또는 섹션에 속합니다.".into(),
|
||||
Text::ResearchAStreamsNote => "각 스트림은 디코딩된 컨테이너 단계 하나를 나타냅니다.".into(),
|
||||
@@ -227,7 +227,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsGrpProtection => "보호".into(),
|
||||
Text::RsGrpRecovery => "복원".into(),
|
||||
Text::RsGrpExtraction => "추출".into(),
|
||||
Text::RsGrpRestoration => "복원".into(),
|
||||
Text::RsGrpRestoration => "ELF 재구성".into(),
|
||||
Text::RsGrpMetadata => "메타데이터".into(),
|
||||
Text::RsGrpProfile => "프로필".into(),
|
||||
Text::RsPeHeader => "PE 헤더".into(),
|
||||
@@ -244,12 +244,12 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsAStreams => "스트림".into(),
|
||||
Text::RsAModules => "모듈 레지스트리".into(),
|
||||
Text::RsAArtifacts => "산출물".into(),
|
||||
Text::RsAScalars => "합계".into(),
|
||||
Text::RsAScalars => "기본 정보".into(),
|
||||
Text::RsARDescriptor => "디스크립터".into(),
|
||||
Text::RsARStaticConfig => "정적 구성".into(),
|
||||
Text::RsARPrimary => "기본 컨테이너".into(),
|
||||
Text::RsARAuxiliary => "보조 컨테이너".into(),
|
||||
Text::RsARElfMaterialization => "ELF 구체화".into(),
|
||||
Text::RsARElfMaterialization => "ELF 테이블 재구성".into(),
|
||||
Text::RsARCleaning => "프로텍터 제거".into(),
|
||||
Text::RsARValidation => "검증".into(),
|
||||
Text::RsMReport => "변환 보고서".into(),
|
||||
@@ -290,7 +290,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::DiscNone => "후보가 없습니다.".into(),
|
||||
Text::TraceSummary { n, s } => format!("이벤트: {n} · 단계: {s}").into(),
|
||||
Text::TraceEvents { n } => format!("이벤트: {n}").into(),
|
||||
Text::TraceTruncated { l, n } => format!("추적이 잘렸습니다. 생략된 이벤트: {n} (제한 {l}).").into(),
|
||||
Text::TraceTruncated { l, n } => format!("추적이 한도에 도달하여 이벤트 {n}개가 생략되었습니다 (제한 {l}).").into(),
|
||||
Text::StreamsTitle { id } => format!("스트림 {id}").into(),
|
||||
Text::StreamsSummary { d, k, n, s } => format!("깊이 {d} · {k} · 레코드: {n} · {s}").into(),
|
||||
Text::StreamsOrigin => "출처".into(),
|
||||
@@ -309,9 +309,9 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::MetaImage => "이미지".into(),
|
||||
Text::MetaMethods => "메서드".into(),
|
||||
Text::MetaModulus => "모듈러스".into(),
|
||||
Text::MetaClean => "정상".into(),
|
||||
Text::MetaClean => "인덱스 정상".into(),
|
||||
Text::MetaSeedResidues => "시드 나머지".into(),
|
||||
Text::MetaResidues => "나머지".into(),
|
||||
Text::MetaResidues => "복원 필요".into(),
|
||||
Text::HexVOriginal => "원본 파일".into(),
|
||||
Text::HexVSpliced => "결합 보기".into(),
|
||||
Text::HexVRestored => "복원됨 (메모리 내)".into(),
|
||||
@@ -322,7 +322,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::HexFindHint => "4D 5A 또는 텍스트".into(),
|
||||
Text::HexFindNext => "다음".into(),
|
||||
Text::HexFindNone => "더 이상 일치하는 항목이 없습니다.".into(),
|
||||
Text::HexTooLarge { limit, size } => format!("이 파일은 {size}이며, 16진수 보기는 최대 {limit}까지의 파일을 읽습니다.").into(),
|
||||
Text::HexTooLarge { limit, size } => format!("이 파일의 크기는 {size}입니다. Hex 보기에서는 최대 {limit}까지만 불러올 수 있습니다.").into(),
|
||||
Text::HexRvaUnmapped { o } => format!("이 보기에는 RVA {o}에 해당하는 파일 바이트가 없습니다.").into(),
|
||||
Text::HexCopySel => "선택 영역 복사".into(),
|
||||
Text::HexInspector => "커서 위치".into(),
|
||||
@@ -366,7 +366,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::LogStep { i, n, s } => format!("단계 {i}/{n}: {s}").into(),
|
||||
Text::LogEntry { o, p } => format!("항목 {p}: {o}").into(),
|
||||
Text::LogInputFinished { o, t } => format!("완료: {o} ({t})").into(),
|
||||
Text::LogSummary { failed, ok, skipped, suspect } => format!("복원됨 {ok} · 의심됨 {suspect} · 실패함 {failed} · 건너뜀 {skipped}").into(),
|
||||
Text::LogSummary { failed, ok, skipped, suspect } => format!("복원됨 {ok} · 주의 필요 {suspect} · 실패 {failed} · 건너뜀 {skipped}").into(),
|
||||
Text::StatusReady => "준비".into(),
|
||||
Text::CloseTitle => "작업이 아직 실행 중입니다".into(),
|
||||
Text::CloseBody => "Senbei는 현재 입력이 완료된 후 중지하고 닫힙니다. 이미 기록된 출력은 유지됩니다.".into(),
|
||||
@@ -389,26 +389,26 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsOutput => "기본 출력 폴더".into(),
|
||||
Text::SettingsOutputRecent => "최근 사용한 폴더".into(),
|
||||
Text::SettingsOutputChoose => "폴더 선택…".into(),
|
||||
Text::SettingsOutputHelp => "각 입력 옆은 추가한 파일이나 폴더 옆의 unpack\\ 폴더를 의미합니다.".into(),
|
||||
Text::SettingsOutputHelp => "추가한 파일과 같은 위치의 unpack\\ 폴더에 저장합니다. 폴더를 추가한 경우에는 그 폴더 안의 unpack\\ 폴더에 저장합니다.".into(),
|
||||
Text::SettingsLog => "로그 파일 기록".into(),
|
||||
Text::SettingsLogHelp => "언패킹 시 출력 폴더에 senbei-YYYYMMDD-HHMMSS.log를 기록합니다.".into(),
|
||||
Text::SettingsThreads => "작업자 스레드".into(),
|
||||
Text::SettingsThreadsAuto { n } => format!("자동 ({n})").into(),
|
||||
Text::SettingsScanAll => "작은 파일 프로브".into(),
|
||||
Text::SettingsScanAllHelp => "폴더를 스캔할 때 최소 크기 기준 미만인 .exe, .dll, .so 및 메타데이터 이름도 프로브합니다.".into(),
|
||||
Text::SettingsScanAllHelp => "폴더를 스캔할 때 최소 크기 기준 미만인 .exe, .dll, .so 및 global-metadata.dat 파일도 프로브합니다.".into(),
|
||||
Text::SettingsAndroidNote => "제한은 추출 또는 할당 전에 확인됩니다. 최대 메모리 사용량에 대한 상한선은 아닙니다.".into(),
|
||||
Text::SettingsMaxEntry => "단일 항목 최대 크기".into(),
|
||||
Text::SettingsMaxEntryHelp => "아카이브 항목, 디코딩된 버퍼 또는 출력입니다.".into(),
|
||||
Text::SettingsMaxTotal => "전체 한도".into(),
|
||||
Text::SettingsMaxTotalHelp => "누적 아카이브 바이트 및 엔진당 작업 한도입니다.".into(),
|
||||
Text::SettingsMaxEntries => "최대 항목 수".into(),
|
||||
Text::SettingsMaxEntriesHelp => "아카이브 항목 및 단계 2 레코드입니다.".into(),
|
||||
Text::SettingsMaxEntriesHelp => "아카이브 항목 및 2단계 레코드 수입니다.".into(),
|
||||
Text::SettingsMaxDepth => "최대 중첩 깊이".into(),
|
||||
Text::SettingsMaxDepthHelp => "패키지 자체는 깊이 0입니다.".into(),
|
||||
Text::SettingsKeepBytes => "16진수 및 비교를 위해 복원된 바이트 유지".into(),
|
||||
Text::SettingsKeepBytes => "Hex 및 비교 보기를 위해 복원된 데이터를 메모리에 유지".into(),
|
||||
Text::SettingsKeepBytesHelp => "검사와 시험 실행은 이 세션 동안만 복원된 이미지를 메모리에 유지합니다.".into(),
|
||||
Text::SettingsKeepCap => "입력당 메모리 한도".into(),
|
||||
Text::SettingsKeepCapHelp => "더 큰 복원된 이미지는 바이트 없이 구조적으로 요약됩니다.".into(),
|
||||
Text::SettingsKeepCap => "메모리에 유지할 최대 이미지 크기".into(),
|
||||
Text::SettingsKeepCapHelp => "이 한도를 초과하는 복원 이미지는 바이트 데이터를 유지하지 않고 구조만 요약합니다.".into(),
|
||||
Text::SettingsReset => "기본값으로 재설정".into(),
|
||||
Text::SettingsDone => "완료".into(),
|
||||
Text::AboutVersion { v } => format!("버전 {v}").into(),
|
||||
@@ -418,16 +418,16 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::AboutLegal => "법적 고지 표시".into(),
|
||||
Text::TagMetadata { v } => format!("il2cpp 메타데이터 v{v}").into(),
|
||||
Text::StatusOk => "복원됨".into(),
|
||||
Text::StatusSuspect => "의심됨".into(),
|
||||
Text::StatusSuspect => "주의 필요".into(),
|
||||
Text::StatusRecognized => "인식됨".into(),
|
||||
Text::StatusSkipped => "건너뜀".into(),
|
||||
Text::StatusError => "오류".into(),
|
||||
Text::StatusIncomplete => "분석 미완료".into(),
|
||||
Text::EntryStatusRestored => "복원됨".into(),
|
||||
Text::EntryStatusDuplicate => "중복".into(),
|
||||
Text::EntryStatusNotTarget => "비대상".into(),
|
||||
Text::EntryStatusNotTarget => "대상 아님".into(),
|
||||
Text::EntryStatusUnchanged => "변경 없음".into(),
|
||||
Text::EntryStatusInventoried => "목록화됨".into(),
|
||||
Text::EntryStatusInventoried => "목록 확인됨".into(),
|
||||
Text::EntryStatusError => "오류".into(),
|
||||
Text::EntryKindSharedLibrary => "공유 라이브러리".into(),
|
||||
Text::EntryKindMetadata => "il2cpp 메타데이터".into(),
|
||||
@@ -437,23 +437,23 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RecognitionBlocked => "차단됨".into(),
|
||||
Text::RecoveryFailed => "복원 실패".into(),
|
||||
Text::RecoveryBlocked => "복원 차단됨".into(),
|
||||
Text::OutcomeSucceeded => "성공함".into(),
|
||||
Text::OutcomeSucceeded => "성공".into(),
|
||||
Text::OutcomeRejected => "거부됨".into(),
|
||||
Text::OutcomeFailed => "실패함".into(),
|
||||
Text::OutcomeFailed => "실패".into(),
|
||||
Text::OutcomeNotAttempted => "시도 안 함".into(),
|
||||
Text::ValidationClean => "정상".into(),
|
||||
Text::ValidationWarnings => "경고".into(),
|
||||
Text::ValidationFailed => "실패함".into(),
|
||||
Text::ValidationFailed => "실패".into(),
|
||||
Text::ValidationNotRun => "미실행".into(),
|
||||
Text::StageDetection => "탐지".into(),
|
||||
Text::StageManifestInventory => "매니페스트 목록화".into(),
|
||||
Text::StageManifestInventory => "매니페스트 목록 확인".into(),
|
||||
Text::StageEntryProbe => "항목 프로브".into(),
|
||||
Text::StageRecovery => "복원".into(),
|
||||
Text::StageStaticValidation => "정적 검증".into(),
|
||||
Text::StageOutputWrite => "출력 기록".into(),
|
||||
Text::StageStatusOk => "정상".into(),
|
||||
Text::StageStatusSkipped => "건너뜀".into(),
|
||||
Text::StageStatusFailed => "실패함".into(),
|
||||
Text::StageStatusFailed => "실패".into(),
|
||||
Text::StageStatusBlocked => "차단됨".into(),
|
||||
Text::TraceStageHeader => "헤더".into(),
|
||||
Text::TraceStagePayload => "페이로드".into(),
|
||||
@@ -530,7 +530,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SeverityUnavailable => "사용 불가".into(),
|
||||
Text::ProbeDecoded => "디코딩됨".into(),
|
||||
Text::ProbeUnavailable => "사용 불가".into(),
|
||||
Text::ProbeFailed => "실패함".into(),
|
||||
Text::ProbeFailed => "실패".into(),
|
||||
Text::ProbeBudgetLimited => "한도 도달".into(),
|
||||
Text::ShellKindPe32ShellTable => "PE32 셸 테이블".into(),
|
||||
Text::ShellKindPe32PlusAnchor => "PE32+ 앵커".into(),
|
||||
@@ -544,20 +544,20 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::NoteRawPastEof { end, len } => format!("원시 범위가 {end}에서 끝나지만 입력은 {len}바이트입니다").into(),
|
||||
Text::NoteCertFileOffset => "인증서 디렉터리는 RVA가 아닌 파일 오프셋을 사용합니다".into(),
|
||||
Text::NoteNoImportTable => "임포트 테이블 없음".into(),
|
||||
Text::MsgCompanionMissing => "컴패니언 파일이 누락되었습니까? 이 로더는 일치하는 <input>._ 페이로드를 필요로 합니다. 입력 파일 옆에 두고 다시 시도하십시오.".into(),
|
||||
Text::MsgCompanionMissing => "컴패니언 파일이 없습니다. 이 로더에는 대응하는 <input>._ 페이로드가 필요합니다. 입력 파일과 같은 폴더에 두고 다시 시도하십시오.".into(),
|
||||
Text::MsgLimitEntry { entry, limit, size } => format!("{entry}이(가) {size}바이트로 {limit}바이트 제한을 초과합니다. 설정 → Android 제한에서 제한을 높인 후 다시 실행하십시오.").into(),
|
||||
Text::MsgInternalPanic { loc } => format!("{loc}의 복원 엔진 내부 오류").into(),
|
||||
Text::NoteMagicUnsupportedValue { value } => format!("헤더 테이블이 디코딩되었으나 info[1]이(가) 지원되는 매직이 아닌 {value}입니다").into(),
|
||||
Text::NotePrefixScratch => "스크래치에서 프리픽스가 디코딩되었으며, 이후 단계는 전체 복원이 필요합니다".into(),
|
||||
Text::NotePrefixScratch => "임시 버퍼에서 프리픽스를 디코딩했으며, 이후 단계는 전체 복원이 필요합니다".into(),
|
||||
Text::NoteAnchorValidates => "앵커 및 stage1 디스크립터가 검증되었으며, 전체 단계 복호화는 복원이 필요합니다".into(),
|
||||
Text::NoteBoundedAnchor => "제한된 앵커 프로브 전용".into(),
|
||||
Text::NoteBoundedPrefix => "제한된 프리픽스 전용 (복원된 이미지 아님)".into(),
|
||||
Text::NoteCandidatesUnvalidated => "단계 검증 없이 보고된 후보".into(),
|
||||
Text::NoteMagicNotSupported => "헤더 매직이 지원되는 보호 헤더가 아닙니다".into(),
|
||||
Text::NoteNoAnchorField => "디코딩된 페이로드 창에 앵커 필드가 없습니다".into(),
|
||||
Text::NoteNoShellTable => "디코딩된 페이로드 창에 셸 테이블 형태가 없습니다".into(),
|
||||
Text::NoteNoAnchorField => "디코딩한 페이로드 영역에 앵커 필드가 없습니다".into(),
|
||||
Text::NoteNoShellTable => "디코딩한 페이로드 영역에서 셸 테이블 구조를 찾지 못했습니다".into(),
|
||||
Text::NoteShellNeedsPrefix => "셸 탐색에는 디코딩된 페이로드 프리픽스가 필요합니다".into(),
|
||||
Text::NoteShellTableMatches => "셸 테이블 형태가 선언된 이미지와 일치하며, 2단계 복호화는 복원이 필요합니다".into(),
|
||||
Text::NoteShellTableMatches => "셸 테이블 구조가 선언된 이미지와 일치하며, 2단계 복호화에는 전체 복원이 필요합니다".into(),
|
||||
Text::NoteRelocUnsupportedType { block, entry, ty } => format!("재배치 블록 {block} 항목 {entry}에 지원되지 않는 유형 {ty}이(가) 있습니다").into(),
|
||||
Text::NoteRelocBadSize { block, size } => format!("재배치 블록 {block}이(가) 디렉터리에 맞지 않는 크기 {size}을(를) 선언합니다").into(),
|
||||
}
|
||||
|
||||
@@ -16,14 +16,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::TbDryRun => "试运行".into(),
|
||||
Text::TbDryRunN { n } => format!("试运行 ({n})").into(),
|
||||
Text::TbDryRunAll => "全部试运行".into(),
|
||||
Text::TbDryRunTip => "执行实际的恢复流程,但不保留任何内容。".into(),
|
||||
Text::TbDryRunTip => "执行完整的恢复流程,但不保存恢复后的文件。".into(),
|
||||
Text::TbInspect => "检查".into(),
|
||||
Text::TbInspectN { n } => format!("检查 ({n})").into(),
|
||||
Text::TbInspectAll => "全部检查".into(),
|
||||
Text::TbInspectTip => "执行实际的恢复流程,显示发现的全部内容,但不保留任何内容。".into(),
|
||||
Text::TbInspectTip => "执行恢复并显示详细分析数据,不保存恢复后的文件。".into(),
|
||||
Text::TbOutput => "输出:".into(),
|
||||
Text::TbOutputBeside => "位于各输入项旁 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "解包后文件的写出位置。检查与试运行绝不写出输出。".into(),
|
||||
Text::TbOutputBeside => "默认位置 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "解包后文件的保存位置。检查与试运行不会保存输出文件。".into(),
|
||||
Text::TbSettings => "设置".into(),
|
||||
Text::BannerEnv { vars } => format!("已设置调试环境变量 {vars}。解码结果可能与正常运行不同。").into(),
|
||||
Text::BannerEnvHint => "取消设置并重启以恢复正常行为。".into(),
|
||||
@@ -52,10 +52,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PendingIdentified => "已识别".into(),
|
||||
Text::PendingNext => "可执行的操作".into(),
|
||||
Text::PendingUnpackDesc => "恢复该项,并将结果写入输出文件夹。".into(),
|
||||
Text::PendingDryRunDesc => "执行实际的恢复流程但不保留任何内容,以检验恢复是否可行。".into(),
|
||||
Text::PendingInspectDesc => "执行实际的恢复流程并显示发现的全部内容。不保留任何内容。".into(),
|
||||
Text::PendingNotProtectedNote => "Senbei 在此文件中未发现受支持的保护,因此没有需要恢复的内容。".into(),
|
||||
Text::PendingNotAFile => "不是普通文件,因此没有可读取的内容。".into(),
|
||||
Text::PendingDryRunDesc => "执行恢复流程,但不保存恢复后的文件。".into(),
|
||||
Text::PendingInspectDesc => "执行恢复并显示详细分析数据,不保存恢复后的文件。".into(),
|
||||
Text::PendingNotProtectedNote => "未在此文件中检测到受支持的保护。".into(),
|
||||
Text::PendingNotAFile => "该路径不是普通文件。".into(),
|
||||
Text::ScanRunning => "正在扫描".into(),
|
||||
Text::ScanFound => "当前候选".into(),
|
||||
Text::ScanStatus { n, p } => format!("正在扫描 {p}… 当前候选:{n}").into(),
|
||||
@@ -67,7 +67,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RunStopping => "将在当前输入项完成后停止…".into(),
|
||||
Text::RunCancel => "取消".into(),
|
||||
Text::RunProgress => "进度".into(),
|
||||
Text::RunCancelledNote => "任务在到达此输入项前已取消。".into(),
|
||||
Text::RunCancelledNote => "任务在处理到此输入项前已取消。".into(),
|
||||
Text::StepDecryptHeader => "正在解密文件头部".into(),
|
||||
Text::StepDecryptPayload => "正在解密载荷".into(),
|
||||
Text::StepLocateConfig => "正在定位配置布局".into(),
|
||||
@@ -93,7 +93,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StepPe32TextSkip => "正在跳过 .text(已是明文)".into(),
|
||||
Text::StepPe32Rebuild => "正在重建 PE 文件布局".into(),
|
||||
Text::StepAndroidPrimary => "正在解码主容器".into(),
|
||||
Text::StepAndroidAux => "正在解码 ELF 物化容器".into(),
|
||||
Text::StepAndroidAux => "正在解码辅助 ELF 容器".into(),
|
||||
Text::StepAndroidTables => "正在重建动态链接器表".into(),
|
||||
Text::DetailPick => "请在左侧选择一个输入项或分组。".into(),
|
||||
Text::DetailExportJson => "导出 JSON".into(),
|
||||
@@ -103,7 +103,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::DetailTechnical => "技术细节".into(),
|
||||
Text::CompanionSplicedPill => "已配对伴生文件".into(),
|
||||
Text::TabOverview => "概览".into(),
|
||||
Text::TabResearch => "研究".into(),
|
||||
Text::TabResearch => "详细分析".into(),
|
||||
Text::TabHex => "十六进制".into(),
|
||||
Text::TabCompare => "对比".into(),
|
||||
Text::TabLog => "日志".into(),
|
||||
@@ -114,8 +114,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::BatchNonTarget => "已跳过非目标".into(),
|
||||
Text::BatchWalkErrors => "无法读取的目录项".into(),
|
||||
Text::BatchProbeErrors => "探测错误".into(),
|
||||
Text::BatchScanNote => "仅探测名称匹配 .exe、.dll、.so 与 global-metadata.dat 的文件。".into(),
|
||||
Text::BatchScanIncomplete => "分析不完整:部分文件夹条目或所选文件无法检查。".into(),
|
||||
Text::BatchScanNote => "文件夹扫描会检查 .exe、.dll、.so、global-metadata.dat 和 Android 应用包。".into(),
|
||||
Text::BatchScanIncomplete => "分析不完整:部分目录项或所选文件无法读取或检查。".into(),
|
||||
Text::PkgTitle => "应用包".into(),
|
||||
Text::PkgKind => "应用包类型".into(),
|
||||
Text::PkgPackage => "包名".into(),
|
||||
@@ -128,8 +128,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PkgManifests => "清单".into(),
|
||||
Text::PkgUnnamed => "未命名".into(),
|
||||
Text::PkgTargets => "受保护条目与元数据".into(),
|
||||
Text::PkgNoTargets => "此应用包中没有受保护的条目,因此没有需要恢复的内容。".into(),
|
||||
Text::PkgInventory { n } => format!("应用包中列出的条目:{n}").into(),
|
||||
Text::PkgNoTargets => "此应用包中没有受保护的条目,无需恢复。".into(),
|
||||
Text::PkgInventory { n } => format!("候选条目:{n}").into(),
|
||||
Text::EntriesTitle => "条目".into(),
|
||||
Text::EntriesOthers { n } => format!("其他条目(非目标):{n}").into(),
|
||||
Text::EntriesSummary { n } => format!("目标:{n}").into(),
|
||||
@@ -139,7 +139,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ColName => "名称".into(),
|
||||
Text::ColType => "类型".into(),
|
||||
Text::ColOutcome => "结果".into(),
|
||||
Text::ColRoute => "路线".into(),
|
||||
Text::ColRoute => "方案".into(),
|
||||
Text::ColTime => "用时".into(),
|
||||
Text::ColAddress => "地址".into(),
|
||||
Text::ColSize => "大小".into(),
|
||||
@@ -171,7 +171,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ColFlags => "标志".into(),
|
||||
Text::ColImage => "映像".into(),
|
||||
Text::ColMetadata => "元数据".into(),
|
||||
Text::ColOffsetSize => "偏移 +大小".into(),
|
||||
Text::ColOffsetSize => "偏移 + 大小".into(),
|
||||
Text::ColEntry => "入口点".into(),
|
||||
Text::ColInit => "初始化".into(),
|
||||
Text::ColDirect => "直接".into(),
|
||||
@@ -196,14 +196,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvProvenance => "模块上下文来源".into(),
|
||||
Text::OvEvidence => "依据".into(),
|
||||
Text::OvNoEvidence => "无保护依据".into(),
|
||||
Text::OvRoutes => "恢复路线".into(),
|
||||
Text::OvRoutes => "恢复方案".into(),
|
||||
Text::OvSelected => "已选用".into(),
|
||||
Text::OvNoRoutes => "未尝试任何路线。".into(),
|
||||
Text::OvNoRoutes => "未尝试任何恢复方案。".into(),
|
||||
Text::OvStages => "阶段".into(),
|
||||
Text::OvValidation => "静态验证".into(),
|
||||
Text::OvValidationMetadata => "PE 与 ELF 结构检查不适用于元数据;该变换会自行验证其表结构。".into(),
|
||||
Text::OvValidationWarnings => "恢复映像存在结构问题,可能无法运行。该项计为可疑;解包时仍会写出。".into(),
|
||||
Text::OvValidationFailed => "恢复映像未通过致命结构检查,极可能无法运行。该项计为可疑;解包时仍会写出。".into(),
|
||||
Text::OvValidationMetadata => "此处的静态验证针对 PE 和 ELF。元数据表结构会在转换流程中校验。".into(),
|
||||
Text::OvValidationWarnings => "恢复后的映像存在结构问题,可能无法运行。结果标记为“可疑”,解包时仍会保存文件。".into(),
|
||||
Text::OvValidationFailed => "静态验证发现恢复后的映像存在致命结构错误,很可能无法运行。结果标记为“可疑”,解包时仍会保存文件。".into(),
|
||||
Text::OvIdentity => "标识信息".into(),
|
||||
Text::OvSource => "输入项".into(),
|
||||
Text::OvCompanion => "伴生文件".into(),
|
||||
@@ -214,10 +214,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvElfSections => "节 · 段".into(),
|
||||
Text::OvElfSymbols => "动态符号".into(),
|
||||
Text::OvElfRelocs => "重定位 · PLT".into(),
|
||||
Text::ResearchNone => "无研究数据:恢复在引擎发布结构化依据前已停止。".into(),
|
||||
Text::ResearchNotCollected => "本次运行未收集研究依据。".into(),
|
||||
Text::ResearchNone => "恢复流程已停止,未生成详细分析数据。".into(),
|
||||
Text::ResearchNotCollected => "本次运行未收集详细分析数据。".into(),
|
||||
Text::ResearchRunInspect => "检查此输入项".into(),
|
||||
Text::ResearchSplicedNote => "拼接视图:低于 0x1000 的偏移针对加载器存根寻址;自 0x1000 起的偏移按 (偏移 − 0x1000) 针对伴生文件寻址。".into(),
|
||||
Text::ResearchSplicedNote => "拼接视图中,小于 0x1000 的偏移对应加载器存根;0x1000 及以上的偏移对应伴生文件中的 (偏移 − 0x1000)。".into(),
|
||||
Text::ResearchJump { space } => format!("在十六进制中显示 ({space})").into(),
|
||||
Text::ResearchRegionsNote => "位于所有节之外的文件范围。".into(),
|
||||
Text::ResearchRegionsNone => "每个文件字节均属于头部或某个节。".into(),
|
||||
@@ -227,7 +227,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsGrpProtection => "保护".into(),
|
||||
Text::RsGrpRecovery => "恢复".into(),
|
||||
Text::RsGrpExtraction => "提取".into(),
|
||||
Text::RsGrpRestoration => "恢复".into(),
|
||||
Text::RsGrpRestoration => "ELF 重建".into(),
|
||||
Text::RsGrpMetadata => "元数据".into(),
|
||||
Text::RsGrpProfile => "概况".into(),
|
||||
Text::RsPeHeader => "PE 头部".into(),
|
||||
@@ -238,19 +238,19 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsPayload => "声明的载荷".into(),
|
||||
Text::RsDiscovery => "阶段发现".into(),
|
||||
Text::RsTrace => "恢复跟踪".into(),
|
||||
Text::RsIssues => "问题与工作预算".into(),
|
||||
Text::RsIssues => "问题与资源使用".into(),
|
||||
Text::RsRestored => "恢复映像".into(),
|
||||
Text::RsAStage1 => "阶段 1".into(),
|
||||
Text::RsAStreams => "流".into(),
|
||||
Text::RsAModules => "模块注册表".into(),
|
||||
Text::RsAArtifacts => "产物".into(),
|
||||
Text::RsAScalars => "总计".into(),
|
||||
Text::RsAScalars => "基本信息".into(),
|
||||
Text::RsARDescriptor => "描述符".into(),
|
||||
Text::RsARStaticConfig => "静态配置".into(),
|
||||
Text::RsARPrimary => "主容器".into(),
|
||||
Text::RsARAuxiliary => "辅助容器".into(),
|
||||
Text::RsARElfMaterialization => "ELF 物化".into(),
|
||||
Text::RsARCleaning => "保护器移除".into(),
|
||||
Text::RsARElfMaterialization => "ELF 表重建".into(),
|
||||
Text::RsARCleaning => "保护壳清理".into(),
|
||||
Text::RsARValidation => "验证".into(),
|
||||
Text::RsMReport => "变换报告".into(),
|
||||
Text::RsMImages => "映像".into(),
|
||||
@@ -270,7 +270,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ProtMagic => "魔数".into(),
|
||||
Text::ProtMagicOk => "受支持".into(),
|
||||
Text::ProtMagicBad => "不受支持".into(),
|
||||
Text::ProtWords => "头部字".into(),
|
||||
Text::ProtWords => "头部字段 (DWORD)".into(),
|
||||
Text::PayloadSource => "源地址".into(),
|
||||
Text::PayloadDest => "目标地址".into(),
|
||||
Text::PayloadPrefix => "前缀长度".into(),
|
||||
@@ -281,8 +281,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PayloadProbe => "前缀探测".into(),
|
||||
Text::PayloadDecoded => "已解码".into(),
|
||||
Text::PayloadLimit { l } => format!("限制 {l}").into(),
|
||||
Text::PayloadFirstWords => "起始字".into(),
|
||||
Text::PayloadUnrecognized => "未识别出魔数,因此这只是头部字的一种可能解读。".into(),
|
||||
Text::PayloadFirstWords => "前几个 DWORD".into(),
|
||||
Text::PayloadUnrecognized => "魔数未识别,以下仅为按保护头部格式解析的参考值。".into(),
|
||||
Text::DiscPayloadOffset => "载荷偏移".into(),
|
||||
Text::DiscImageRva => "映像 RVA".into(),
|
||||
Text::DiscSource => "来源".into(),
|
||||
@@ -298,20 +298,20 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StreamsParent { c, r, s } => format!("流 {s},记录 {r},命令 {c}").into(),
|
||||
Text::StreamsRecords => "记录".into(),
|
||||
Text::IssuesNone => "未记录任何问题。".into(),
|
||||
Text::IssuesWork => "工作预算".into(),
|
||||
Text::IssuesWork => "探测资源使用".into(),
|
||||
Text::IssuesScratch => "已用前缀暂存空间".into(),
|
||||
Text::IssuesCandidates => "已评估候选".into(),
|
||||
Text::IssuesBudget => "受预算限制".into(),
|
||||
Text::IssuesBudget => "受资源限制".into(),
|
||||
Text::RestoredOpenCompare => "与原始文件对比…".into(),
|
||||
Text::RestoredObservations => "恢复映像观察结果".into(),
|
||||
Text::MetaRoute { r } => format!("路线:{r}").into(),
|
||||
Text::MetaDiscoveryError => "种子发现不适用,已改用结构化路线:".into(),
|
||||
Text::MetaRoute { r } => format!("方案:{r}").into(),
|
||||
Text::MetaDiscoveryError => "未能推导出种子,改用结构化恢复方案:".into(),
|
||||
Text::MetaImage => "映像".into(),
|
||||
Text::MetaMethods => "方法数".into(),
|
||||
Text::MetaModulus => "模数".into(),
|
||||
Text::MetaClean => "干净".into(),
|
||||
Text::MetaClean => "索引正常".into(),
|
||||
Text::MetaSeedResidues => "种子余数".into(),
|
||||
Text::MetaResidues => "余数".into(),
|
||||
Text::MetaResidues => "需恢复".into(),
|
||||
Text::HexVOriginal => "原始文件".into(),
|
||||
Text::HexVSpliced => "拼接视图".into(),
|
||||
Text::HexVRestored => "已恢复(内存中)".into(),
|
||||
@@ -326,7 +326,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::HexRvaUnmapped { o } => format!("在此视图中 RVA {o} 没有对应的文件字节。").into(),
|
||||
Text::HexCopySel => "复制选区".into(),
|
||||
Text::HexInspector => "光标位置".into(),
|
||||
Text::HexInspectorHint => "点击任一字节以在此处查看其数值。".into(),
|
||||
Text::HexInspectorHint => "点击字节可在此查看数值。".into(),
|
||||
Text::HexRegions => "区域".into(),
|
||||
Text::HexNoRegions => "此文件没有已知区域。".into(),
|
||||
Text::HexRHeaders => "头部".into(),
|
||||
@@ -349,7 +349,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::CmpFileSize => "文件大小".into(),
|
||||
Text::CmpSections => "节数量".into(),
|
||||
Text::CmpBytes => "节字节".into(),
|
||||
Text::CmpBytesNote { len, n, s } => format!("{s} 前 {len} 字节中不同的字节数:{n}。").into(),
|
||||
Text::CmpBytesNote { len, n, s } => format!("{s} 的前 {len} 字节中有 {n} 个字节不同。").into(),
|
||||
Text::CmpNextDiff => "下一处差异".into(),
|
||||
Text::LogFAll => "全部".into(),
|
||||
Text::LogFNosteps => "隐藏步骤".into(),
|
||||
@@ -389,14 +389,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsOutput => "默认输出文件夹".into(),
|
||||
Text::SettingsOutputRecent => "上次使用的文件夹".into(),
|
||||
Text::SettingsOutputChoose => "选择文件夹…".into(),
|
||||
Text::SettingsOutputHelp => "“位于各输入项旁”表示在你添加的文件或文件夹旁创建 unpack\\ 文件夹。".into(),
|
||||
Text::SettingsOutputHelp => "在添加的文件旁,或添加的文件夹内创建 unpack\\ 文件夹并保存结果。".into(),
|
||||
Text::SettingsLog => "写入日志文件".into(),
|
||||
Text::SettingsLogHelp => "解包会将 senbei-YYYYMMDD-HHMMSS.log 写入输出文件夹。".into(),
|
||||
Text::SettingsThreads => "工作线程".into(),
|
||||
Text::SettingsThreadsAuto { n } => format!("自动 ({n})").into(),
|
||||
Text::SettingsScanAll => "探测小文件".into(),
|
||||
Text::SettingsScanAllHelp => "扫描文件夹时,同时探测低于大小下限的 .exe、.dll、.so 与元数据文件名。".into(),
|
||||
Text::SettingsAndroidNote => "提取或分配前会检查限制。这些限制不是内存使用峰值的上限。".into(),
|
||||
Text::SettingsScanAllHelp => "扫描文件夹时,同时探测低于大小下限的 .exe、.dll、.so 与 global-metadata.dat 文件。".into(),
|
||||
Text::SettingsAndroidNote => "提取文件或分配内存前会检查限制。这些限制不是内存使用峰值的上限。".into(),
|
||||
Text::SettingsMaxEntry => "单个条目上限".into(),
|
||||
Text::SettingsMaxEntryHelp => "归档条目、解码缓冲区或输出。".into(),
|
||||
Text::SettingsMaxTotal => "总预算".into(),
|
||||
@@ -405,10 +405,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsMaxEntriesHelp => "归档条目与阶段 2 记录。".into(),
|
||||
Text::SettingsMaxDepth => "最大嵌套深度".into(),
|
||||
Text::SettingsMaxDepthHelp => "应用包本身的深度为 0。".into(),
|
||||
Text::SettingsKeepBytes => "为十六进制与对比视图保留恢复字节".into(),
|
||||
Text::SettingsKeepBytesHelp => "检查与试运行仅在本次会话期间将恢复映像保留在内存中。".into(),
|
||||
Text::SettingsKeepCap => "单输入项内存上限".into(),
|
||||
Text::SettingsKeepCapHelp => "超出此大小的恢复映像仅保留结构汇总,不保留字节数据。".into(),
|
||||
Text::SettingsKeepBytes => "为十六进制与对比视图保留恢复后的数据".into(),
|
||||
Text::SettingsKeepBytesHelp => "检查或试运行后,在内存中保留恢复后的映像,供本次会话使用。".into(),
|
||||
Text::SettingsKeepCap => "保留映像大小上限".into(),
|
||||
Text::SettingsKeepCapHelp => "超过此大小时,只保留结构分析信息,不在内存中保留恢复后的数据。".into(),
|
||||
Text::SettingsReset => "恢复默认设置".into(),
|
||||
Text::SettingsDone => "完成".into(),
|
||||
Text::AboutVersion { v } => format!("版本 {v}").into(),
|
||||
@@ -441,7 +441,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OutcomeRejected => "已拒绝".into(),
|
||||
Text::OutcomeFailed => "失败".into(),
|
||||
Text::OutcomeNotAttempted => "未尝试".into(),
|
||||
Text::ValidationClean => "干净".into(),
|
||||
Text::ValidationClean => "通过".into(),
|
||||
Text::ValidationWarnings => "警告".into(),
|
||||
Text::ValidationFailed => "失败".into(),
|
||||
Text::ValidationNotRun => "未运行".into(),
|
||||
@@ -531,7 +531,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ProbeDecoded => "已解码".into(),
|
||||
Text::ProbeUnavailable => "不可用".into(),
|
||||
Text::ProbeFailed => "失败".into(),
|
||||
Text::ProbeBudgetLimited => "受预算限制".into(),
|
||||
Text::ProbeBudgetLimited => "探测受限".into(),
|
||||
Text::ShellKindPe32ShellTable => "PE32 外壳表".into(),
|
||||
Text::ShellKindPe32PlusAnchor => "PE32+ 锚点".into(),
|
||||
Text::CandidateObserved => "已观察到".into(),
|
||||
@@ -544,14 +544,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::NoteRawPastEof { end, len } => format!("原始范围在 {end} 处结束,输入长度为 {len} 字节").into(),
|
||||
Text::NoteCertFileOffset => "证书目录使用文件偏移,而非 RVA".into(),
|
||||
Text::NoteNoImportTable => "无导入表".into(),
|
||||
Text::MsgCompanionMissing => "缺少伴生文件?此加载器需要匹配的 <input>._ 载荷。请将其放在输入文件旁并重试。".into(),
|
||||
Text::MsgCompanionMissing => "缺少伴生文件:此加载器需要匹配的 <input>._ 载荷。请将它放在输入文件所在的文件夹中,然后重试。".into(),
|
||||
Text::MsgLimitEntry { entry, limit, size } => format!("{entry} 为 {size} 字节,超出 {limit} 字节的限制。请在“设置 → Android 限制”中调高限制后重新运行。").into(),
|
||||
Text::MsgInternalPanic { loc } => format!("恢复引擎在 {loc} 处发生内部错误").into(),
|
||||
Text::NoteMagicUnsupportedValue { value } => format!("头部表已解码,但 info[1] 为 {value},不是受支持的魔数").into(),
|
||||
Text::NotePrefixScratch => "已在暂存区解码前缀;后续阶段仍需完整恢复".into(),
|
||||
Text::NotePrefixScratch => "已在暂存区解码载荷前缀;后续阶段需执行完整恢复".into(),
|
||||
Text::NoteAnchorValidates => "锚点与 stage1 描述符已通过验证;完整阶段解密仍需执行恢复".into(),
|
||||
Text::NoteBoundedAnchor => "仅有界锚点探测".into(),
|
||||
Text::NoteBoundedPrefix => "仅有界前缀;非已恢复映像".into(),
|
||||
Text::NoteBoundedAnchor => "仅执行有限范围的锚点探测".into(),
|
||||
Text::NoteBoundedPrefix => "仅解码有限长度前缀,并非恢复后的映像".into(),
|
||||
Text::NoteCandidatesUnvalidated => "报告的候选未经阶段验证".into(),
|
||||
Text::NoteMagicNotSupported => "头部魔数不是受支持的保护头部".into(),
|
||||
Text::NoteNoAnchorField => "已解码载荷窗口中无锚点字段".into(),
|
||||
|
||||
@@ -16,20 +16,20 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::TbDryRun => "試執行".into(),
|
||||
Text::TbDryRunN { n } => format!("試執行 ({n})").into(),
|
||||
Text::TbDryRunAll => "全部試執行".into(),
|
||||
Text::TbDryRunTip => "執行真實恢復流程,但不保留任何結果。".into(),
|
||||
Text::TbDryRunTip => "執行完整的復原流程,但不儲存復原後的檔案。".into(),
|
||||
Text::TbInspect => "檢查".into(),
|
||||
Text::TbInspectN { n } => format!("檢查 ({n})").into(),
|
||||
Text::TbInspectAll => "全部檢查".into(),
|
||||
Text::TbInspectTip => "執行真實恢復流程,顯示所發現的一切,但不保留任何結果。".into(),
|
||||
Text::TbInspectTip => "執行復原並顯示詳細分析資料,不儲存復原後的檔案。".into(),
|
||||
Text::TbOutput => "輸出:".into(),
|
||||
Text::TbOutputBeside => "各輸入項旁 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "解包後檔案的寫入位置。檢查與試執行絕不會寫入輸出。".into(),
|
||||
Text::TbOutputBeside => "預設位置 (unpack\\)".into(),
|
||||
Text::TbOutputTip => "解包後檔案的儲存位置。檢查與試執行不會儲存輸出檔案。".into(),
|
||||
Text::TbSettings => "設定".into(),
|
||||
Text::BannerEnv { vars } => format!("已設定除錯環境變數 {vars}。解碼結果可能與正常執行不同。").into(),
|
||||
Text::BannerEnvHint => "取消設定並重新啟動以恢復正常行為。".into(),
|
||||
Text::EmptyTitle => "將受保護檔案拖放至此".into(),
|
||||
Text::EmptyFolders => "資料夾".into(),
|
||||
Text::EmptyLocal => "所有處理皆在此電腦上本機執行。輸入項絕不會被執行或上傳。".into(),
|
||||
Text::EmptyLocal => "所有處理均在本機執行。輸入檔案絕不會被執行或上傳。".into(),
|
||||
Text::DragTitle => "放開以加入".into(),
|
||||
Text::InputsTitle => "輸入項".into(),
|
||||
Text::InputsClear => "清除".into(),
|
||||
@@ -52,10 +52,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PendingIdentified => "已識別".into(),
|
||||
Text::PendingNext => "後續操作".into(),
|
||||
Text::PendingUnpackDesc => "進行恢復並將結果寫入輸出資料夾。".into(),
|
||||
Text::PendingDryRunDesc => "執行真實恢復流程但不保留任何結果,以確認是否可行。".into(),
|
||||
Text::PendingInspectDesc => "執行真實恢復流程並顯示發現的所有內容。不保留任何結果。".into(),
|
||||
Text::PendingNotProtectedNote => "Senbei 在此檔案中未發現受支援的保護,因此沒有可恢復的內容。".into(),
|
||||
Text::PendingNotAFile => "不是一般檔案,因此沒有可讀取的內容。".into(),
|
||||
Text::PendingDryRunDesc => "執行復原流程,但不儲存復原後的檔案。".into(),
|
||||
Text::PendingInspectDesc => "執行復原並顯示詳細分析資料,不儲存復原後的檔案。".into(),
|
||||
Text::PendingNotProtectedNote => "未在此檔案中偵測到受支援的保護。".into(),
|
||||
Text::PendingNotAFile => "此路徑不是一般檔案。".into(),
|
||||
Text::ScanRunning => "掃描中".into(),
|
||||
Text::ScanFound => "目前候選".into(),
|
||||
Text::ScanStatus { n, p } => format!("正在掃描 {p}… 目前候選:{n}").into(),
|
||||
@@ -70,7 +70,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RunCancelledNote => "工作在處理到此輸入項之前已取消。".into(),
|
||||
Text::StepDecryptHeader => "解密檔案標頭".into(),
|
||||
Text::StepDecryptPayload => "解密載荷".into(),
|
||||
Text::StepLocateConfig => "定位組態配置".into(),
|
||||
Text::StepLocateConfig => "尋找設定結構".into(),
|
||||
Text::StepDecryptStage2 => "解密階段 2".into(),
|
||||
Text::StepDecryptStages35 => "解密階段 3–5".into(),
|
||||
Text::StepDecryptSections => "解密節區資料".into(),
|
||||
@@ -93,7 +93,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::StepPe32TextSkip => "略過 .text(已為明文)".into(),
|
||||
Text::StepPe32Rebuild => "重建 PE 檔案配置".into(),
|
||||
Text::StepAndroidPrimary => "解碼主要容器".into(),
|
||||
Text::StepAndroidAux => "解碼 ELF 實體化容器".into(),
|
||||
Text::StepAndroidAux => "解碼輔助 ELF 容器".into(),
|
||||
Text::StepAndroidTables => "重建動態連結器表".into(),
|
||||
Text::DetailPick => "請在左側選取輸入項或群組。".into(),
|
||||
Text::DetailExportJson => "匯出 JSON".into(),
|
||||
@@ -103,7 +103,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::DetailTechnical => "技術細節".into(),
|
||||
Text::CompanionSplicedPill => "已配對伴生檔案".into(),
|
||||
Text::TabOverview => "概覽".into(),
|
||||
Text::TabResearch => "研究".into(),
|
||||
Text::TabResearch => "詳細分析".into(),
|
||||
Text::TabHex => "十六進位".into(),
|
||||
Text::TabCompare => "比較".into(),
|
||||
Text::TabLog => "記錄".into(),
|
||||
@@ -114,11 +114,11 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::BatchNonTarget => "已略過的非目標".into(),
|
||||
Text::BatchWalkErrors => "無法讀取的資料夾項目".into(),
|
||||
Text::BatchProbeErrors => "探測錯誤".into(),
|
||||
Text::BatchScanNote => "僅會探測名稱為 .exe、.dll、.so 與 global-metadata.dat 的檔案。".into(),
|
||||
Text::BatchScanNote => "資料夾掃描會檢查 .exe、.dll、.so、global-metadata.dat 和 Android 應用程式套件。".into(),
|
||||
Text::BatchScanIncomplete => "分析不完整:部分資料夾項目或所選檔案無法檢驗。".into(),
|
||||
Text::PkgTitle => "應用程式套件".into(),
|
||||
Text::PkgKind => "應用程式套件類型".into(),
|
||||
Text::PkgPackage => "應用程式套件名稱".into(),
|
||||
Text::PkgPackage => "套件名稱".into(),
|
||||
Text::PkgVersion => "版本".into(),
|
||||
Text::PkgEntries => "頂層條目".into(),
|
||||
Text::PkgCandidates => "待探測條目".into(),
|
||||
@@ -128,8 +128,8 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PkgManifests => "資訊清單".into(),
|
||||
Text::PkgUnnamed => "未命名".into(),
|
||||
Text::PkgTargets => "受保護條目與中繼資料".into(),
|
||||
Text::PkgNoTargets => "此應用程式套件中沒有任何受保護的條目,因此沒有可恢復的內容。".into(),
|
||||
Text::PkgInventory { n } => format!("應用程式套件中列出的條目:{n}").into(),
|
||||
Text::PkgNoTargets => "此應用程式套件中沒有受保護的條目,無須處理。".into(),
|
||||
Text::PkgInventory { n } => format!("候選條目:{n}").into(),
|
||||
Text::EntriesTitle => "條目".into(),
|
||||
Text::EntriesOthers { n } => format!("其他條目(非目標):{n}").into(),
|
||||
Text::EntriesSummary { n } => format!("目標:{n}").into(),
|
||||
@@ -139,7 +139,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ColName => "名稱".into(),
|
||||
Text::ColType => "類型".into(),
|
||||
Text::ColOutcome => "結果".into(),
|
||||
Text::ColRoute => "路線".into(),
|
||||
Text::ColRoute => "方案".into(),
|
||||
Text::ColTime => "時間".into(),
|
||||
Text::ColAddress => "位址".into(),
|
||||
Text::ColSize => "大小".into(),
|
||||
@@ -171,7 +171,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::ColFlags => "旗標".into(),
|
||||
Text::ColImage => "映像".into(),
|
||||
Text::ColMetadata => "中繼資料".into(),
|
||||
Text::ColOffsetSize => "偏移 +大小".into(),
|
||||
Text::ColOffsetSize => "偏移 + 大小".into(),
|
||||
Text::ColEntry => "進入點".into(),
|
||||
Text::ColInit => "初始化".into(),
|
||||
Text::ColDirect => "直接".into(),
|
||||
@@ -196,14 +196,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvProvenance => "模組上下文來源".into(),
|
||||
Text::OvEvidence => "依據".into(),
|
||||
Text::OvNoEvidence => "無保護依據".into(),
|
||||
Text::OvRoutes => "恢復路線".into(),
|
||||
Text::OvRoutes => "復原方案".into(),
|
||||
Text::OvSelected => "已選用".into(),
|
||||
Text::OvNoRoutes => "未嘗試任何路線。".into(),
|
||||
Text::OvNoRoutes => "未嘗試任何復原方案。".into(),
|
||||
Text::OvStages => "階段".into(),
|
||||
Text::OvValidation => "靜態驗證".into(),
|
||||
Text::OvValidationMetadata => "PE 與 ELF 結構檢查不適用於中繼資料;轉換流程會自行驗證其資料表。".into(),
|
||||
Text::OvValidationWarnings => "恢復映像存在結構問題,可能無法正常執行。此項目計為可疑;解包時仍會寫出檔案。".into(),
|
||||
Text::OvValidationFailed => "恢復映像未通過致命結構檢查,極可能無法執行。此項目計為可疑;解包時仍會寫出檔案。".into(),
|
||||
Text::OvValidationMetadata => "這裡的靜態驗證針對 PE 和 ELF;中繼資料的資料表結構會在轉換過程中驗證。".into(),
|
||||
Text::OvValidationWarnings => "復原後的映像有結構問題,可能無法執行。結果會標記為「可疑」,解包時仍會儲存檔案。".into(),
|
||||
Text::OvValidationFailed => "靜態驗證發現復原後的映像有致命的結構錯誤,很可能無法執行。結果會標記為「可疑」,解包時仍會儲存檔案。".into(),
|
||||
Text::OvIdentity => "檔案識別資訊".into(),
|
||||
Text::OvSource => "輸入項".into(),
|
||||
Text::OvCompanion => "伴生檔案".into(),
|
||||
@@ -214,10 +214,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OvElfSections => "節區 · 區段".into(),
|
||||
Text::OvElfSymbols => "動態符號".into(),
|
||||
Text::OvElfRelocs => "重定位 · PLT".into(),
|
||||
Text::ResearchNone => "無研究資料:在引擎發佈結構依據前,恢復便已停止。".into(),
|
||||
Text::ResearchNotCollected => "此次執行未收集研究依據。".into(),
|
||||
Text::ResearchNone => "復原流程已停止,未產生詳細分析資料。".into(),
|
||||
Text::ResearchNotCollected => "此次執行未收集詳細分析資料。".into(),
|
||||
Text::ResearchRunInspect => "檢查此輸入項".into(),
|
||||
Text::ResearchSplicedNote => "拼接檢視:低於 0x1000 的偏移定址載入器存根;自 0x1000 起的偏移定址伴生檔案的 (偏移 − 0x1000) 處。".into(),
|
||||
Text::ResearchSplicedNote => "拼接檢視中,小於 0x1000 的偏移對應載入器存根;從 0x1000 起的偏移對應伴生檔案中的 (偏移 − 0x1000)。".into(),
|
||||
Text::ResearchJump { space } => format!("在十六進位中顯示 ({space})").into(),
|
||||
Text::ResearchRegionsNote => "不屬於任何節區的檔案範圍。".into(),
|
||||
Text::ResearchRegionsNone => "每個檔案位元組皆屬於標頭或某個節區。".into(),
|
||||
@@ -227,7 +227,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsGrpProtection => "保護".into(),
|
||||
Text::RsGrpRecovery => "恢復".into(),
|
||||
Text::RsGrpExtraction => "提取".into(),
|
||||
Text::RsGrpRestoration => "恢復".into(),
|
||||
Text::RsGrpRestoration => "ELF 重建".into(),
|
||||
Text::RsGrpMetadata => "中繼資料".into(),
|
||||
Text::RsGrpProfile => "概況".into(),
|
||||
Text::RsPeHeader => "PE 標頭".into(),
|
||||
@@ -244,13 +244,13 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::RsAStreams => "串流".into(),
|
||||
Text::RsAModules => "模組登錄表".into(),
|
||||
Text::RsAArtifacts => "產物".into(),
|
||||
Text::RsAScalars => "統計總計".into(),
|
||||
Text::RsAScalars => "基本資訊".into(),
|
||||
Text::RsARDescriptor => "描述元".into(),
|
||||
Text::RsARStaticConfig => "靜態組態".into(),
|
||||
Text::RsARPrimary => "主要容器".into(),
|
||||
Text::RsARAuxiliary => "輔助容器".into(),
|
||||
Text::RsARElfMaterialization => "ELF 實體化".into(),
|
||||
Text::RsARCleaning => "保護器移除".into(),
|
||||
Text::RsARElfMaterialization => "ELF 資料表重建".into(),
|
||||
Text::RsARCleaning => "保護殼清理".into(),
|
||||
Text::RsARValidation => "驗證".into(),
|
||||
Text::RsMReport => "轉換報告".into(),
|
||||
Text::RsMImages => "映像".into(),
|
||||
@@ -282,7 +282,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::PayloadDecoded => "已解碼".into(),
|
||||
Text::PayloadLimit { l } => format!("限制 {l}").into(),
|
||||
Text::PayloadFirstWords => "起始雙字組".into(),
|
||||
Text::PayloadUnrecognized => "無法識別該魔術數字,因此這只是對標頭雙字組的一種可能解讀。".into(),
|
||||
Text::PayloadUnrecognized => "魔術數字未識別,以下僅為依保護標頭格式解析的參考值。".into(),
|
||||
Text::DiscPayloadOffset => "載荷偏移".into(),
|
||||
Text::DiscImageRva => "映像 RVA".into(),
|
||||
Text::DiscSource => "來源".into(),
|
||||
@@ -301,17 +301,17 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::IssuesWork => "工作配額".into(),
|
||||
Text::IssuesScratch => "已使用前綴暫存空間".into(),
|
||||
Text::IssuesCandidates => "已評估候選數".into(),
|
||||
Text::IssuesBudget => "受配額限制".into(),
|
||||
Text::IssuesBudget => "受資源限制".into(),
|
||||
Text::RestoredOpenCompare => "與原始檔案比較…".into(),
|
||||
Text::RestoredObservations => "恢復映像的觀察結果".into(),
|
||||
Text::MetaRoute { r } => format!("路線:{r}").into(),
|
||||
Text::MetaDiscoveryError => "種子探索不適用,因此改用結構化路線:".into(),
|
||||
Text::MetaRoute { r } => format!("方案:{r}").into(),
|
||||
Text::MetaDiscoveryError => "無法推導種子,改用結構化復原方案:".into(),
|
||||
Text::MetaImage => "映像".into(),
|
||||
Text::MetaMethods => "方法數".into(),
|
||||
Text::MetaModulus => "模數".into(),
|
||||
Text::MetaClean => "乾淨".into(),
|
||||
Text::MetaClean => "索引正常".into(),
|
||||
Text::MetaSeedResidues => "種子餘數".into(),
|
||||
Text::MetaResidues => "有餘數".into(),
|
||||
Text::MetaResidues => "需復原".into(),
|
||||
Text::HexVOriginal => "原始檔案".into(),
|
||||
Text::HexVSpliced => "拼接檢視".into(),
|
||||
Text::HexVRestored => "已恢復(記憶體中)".into(),
|
||||
@@ -349,7 +349,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::CmpFileSize => "檔案大小".into(),
|
||||
Text::CmpSections => "節區數量".into(),
|
||||
Text::CmpBytes => "節區位元組".into(),
|
||||
Text::CmpBytesNote { len, n, s } => format!("{s} 前 {len} 位元組中相異的位元組數:{n}。").into(),
|
||||
Text::CmpBytesNote { len, n, s } => format!("{s} 的前 {len} 位元組中有 {n} 個位元組不同。").into(),
|
||||
Text::CmpNextDiff => "下一個差異".into(),
|
||||
Text::LogFAll => "全部".into(),
|
||||
Text::LogFNosteps => "隱藏步驟".into(),
|
||||
@@ -389,13 +389,13 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsOutput => "預設輸出資料夾".into(),
|
||||
Text::SettingsOutputRecent => "上次使用的資料夾".into(),
|
||||
Text::SettingsOutputChoose => "選擇資料夾…".into(),
|
||||
Text::SettingsOutputHelp => "「各輸入項旁」代表在您加入的檔案或資料夾旁建立 unpack\\ 資料夾。".into(),
|
||||
Text::SettingsOutputHelp => "在加入的檔案旁,或加入的資料夾內建立 unpack\\ 資料夾並儲存結果。".into(),
|
||||
Text::SettingsLog => "寫入記錄檔".into(),
|
||||
Text::SettingsLogHelp => "解包時會將 senbei-YYYYMMDD-HHMMSS.log 寫入輸出資料夾。".into(),
|
||||
Text::SettingsThreads => "工作執行緒".into(),
|
||||
Text::SettingsThreadsAuto { n } => format!("自動 ({n})").into(),
|
||||
Text::SettingsScanAll => "探測小型檔案".into(),
|
||||
Text::SettingsScanAllHelp => "掃描資料夾時,一併探測低於檔案大小下限的 .exe、.dll、.so 與中繼資料名稱。".into(),
|
||||
Text::SettingsScanAllHelp => "掃描資料夾時,一併探測低於檔案大小下限的 .exe、.dll、.so 與 global-metadata.dat 檔案。".into(),
|
||||
Text::SettingsAndroidNote => "系統會在解壓縮或配置記憶體前檢查限制。這些限制並非尖峰記憶體使用量的硬性上限。".into(),
|
||||
Text::SettingsMaxEntry => "單一條目上限".into(),
|
||||
Text::SettingsMaxEntryHelp => "封存條目、已解碼緩衝區或單一輸出。".into(),
|
||||
@@ -405,10 +405,10 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::SettingsMaxEntriesHelp => "封存條目與階段 2 記錄數。".into(),
|
||||
Text::SettingsMaxDepth => "最大巢狀深度".into(),
|
||||
Text::SettingsMaxDepthHelp => "應用程式套件本身的深度為 0。".into(),
|
||||
Text::SettingsKeepBytes => "為十六進位與比較保留已恢復位元組".into(),
|
||||
Text::SettingsKeepBytesHelp => "檢查與試執行僅會在此次工作階段將恢復映像保留於記憶體中。".into(),
|
||||
Text::SettingsKeepCap => "單一輸入項記憶體上限".into(),
|
||||
Text::SettingsKeepCapHelp => "超過此大小的恢復映像僅保留結構摘要,不保留位元組內容。".into(),
|
||||
Text::SettingsKeepBytes => "為十六進位與比較檢視保留復原後的資料".into(),
|
||||
Text::SettingsKeepBytesHelp => "檢查或試執行後,將復原後的映像保留在記憶體中,供此工作階段使用。".into(),
|
||||
Text::SettingsKeepCap => "保留映像大小上限".into(),
|
||||
Text::SettingsKeepCapHelp => "超過此大小時,只保留結構分析資訊,不在記憶體中保留復原後的資料。".into(),
|
||||
Text::SettingsReset => "重設為預設值".into(),
|
||||
Text::SettingsDone => "完成".into(),
|
||||
Text::AboutVersion { v } => format!("版本 {v}").into(),
|
||||
@@ -441,7 +441,7 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::OutcomeRejected => "已拒絕".into(),
|
||||
Text::OutcomeFailed => "失敗".into(),
|
||||
Text::OutcomeNotAttempted => "未嘗試".into(),
|
||||
Text::ValidationClean => "乾淨".into(),
|
||||
Text::ValidationClean => "通過".into(),
|
||||
Text::ValidationWarnings => "警告".into(),
|
||||
Text::ValidationFailed => "失敗".into(),
|
||||
Text::ValidationNotRun => "未執行".into(),
|
||||
@@ -544,14 +544,14 @@ pub(crate) fn text(text: &Text) -> Cow<'static, str> {
|
||||
Text::NoteRawPastEof { end, len } => format!("原始資料範圍結束於 {end},但輸入僅有 {len} 位元組").into(),
|
||||
Text::NoteCertFileOffset => "憑證目錄使用的是檔案偏移,而非 RVA".into(),
|
||||
Text::NoteNoImportTable => "無匯入表".into(),
|
||||
Text::MsgCompanionMissing => "缺少伴生檔案?此載入器需要相符的 <input>._ 載荷。請將它放在輸入檔案旁並再試一次。".into(),
|
||||
Text::MsgCompanionMissing => "缺少伴生檔案:此載入器需要相符的 <input>._ 載荷。請將它放在輸入檔案所在的資料夾中,再試一次。".into(),
|
||||
Text::MsgLimitEntry { entry, limit, size } => format!("{entry} 為 {size} 位元組,超過 {limit} 位元組的限制。請在「設定 → Android 限制」中調高限制,然後重新執行。").into(),
|
||||
Text::MsgInternalPanic { loc } => format!("恢復引擎於 {loc} 發生內部錯誤").into(),
|
||||
Text::NoteMagicUnsupportedValue { value } => format!("標頭表已解碼,但 info[1] 為 {value},而非受支援的魔術數字").into(),
|
||||
Text::NotePrefixScratch => "前綴已於暫存區解碼;後續階段仍需執行完整恢復".into(),
|
||||
Text::NoteAnchorValidates => "錨點與 stage1 描述元驗證通過;完整階段解密需執行恢復".into(),
|
||||
Text::NoteBoundedAnchor => "僅進行有界錨點探測".into(),
|
||||
Text::NoteBoundedPrefix => "僅有界前綴;並非恢復映像".into(),
|
||||
Text::NoteBoundedAnchor => "僅執行有限範圍的錨點探測".into(),
|
||||
Text::NoteBoundedPrefix => "僅解碼有限長度前綴,並非復原後的映像".into(),
|
||||
Text::NoteCandidatesUnvalidated => "已回報候選項目(未執行階段驗證)".into(),
|
||||
Text::NoteMagicNotSupported => "標頭魔術數字不是受支援的保護標頭".into(),
|
||||
Text::NoteNoAnchorField => "已解碼的載荷視窗中無錨點欄位".into(),
|
||||
|
||||
@@ -764,6 +764,13 @@ fn next_actions(
|
||||
false,
|
||||
),
|
||||
];
|
||||
// The buttons share one column, at least 110 points and as wide as the
|
||||
// widest label needs, so all three line up in every language. Measuring in
|
||||
// the primary button's semibold font also covers the regular ones.
|
||||
let column = choices
|
||||
.iter()
|
||||
.map(|(_, label, ..)| widgets::primary_button_width(ui, &t(label.clone())))
|
||||
.fold(110.0, f32::max);
|
||||
for (index, (mode, label, desc, primary)) in choices.into_iter().enumerate() {
|
||||
if index > 0 {
|
||||
widgets::rule(ui);
|
||||
@@ -774,15 +781,15 @@ fn next_actions(
|
||||
let enabled = !not_protected && (mode != Mode::Unpack || can_unpack);
|
||||
let clicked = ui
|
||||
.allocate_ui_with_layout(
|
||||
vec2(110.0, 24.0),
|
||||
Layout::top_down_justified(Align::Min),
|
||||
vec2(column, 24.0),
|
||||
Layout::top_down_justified(Align::Center),
|
||||
|ui| {
|
||||
if primary {
|
||||
widgets::primary_button(ui, t(label), enabled).clicked()
|
||||
} else {
|
||||
ui.add_enabled(
|
||||
enabled,
|
||||
egui::Button::new(t(label)).min_size(vec2(110.0, 24.0)),
|
||||
egui::Button::new(t(label)).min_size(vec2(column, 24.0)),
|
||||
)
|
||||
.clicked()
|
||||
}
|
||||
|
||||
@@ -670,7 +670,10 @@ impl Workbench {
|
||||
self.view.select(Sel::Item(*first));
|
||||
}
|
||||
if !identify.is_empty() {
|
||||
self.backend.send(Request::Identify(identify));
|
||||
self.backend.send(Request::Identify {
|
||||
items: identify,
|
||||
limits: self.settings.limits(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1725,3 +1728,74 @@ fn finish_log(log: &mut Vec<LogLine>, report: &InputReport, at: &str) {
|
||||
},
|
||||
));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
|
||||
use super::*;
|
||||
|
||||
struct RecordingBackend(Rc<RefCell<Vec<Request>>>);
|
||||
|
||||
impl Backend for RecordingBackend {
|
||||
fn capabilities(&self) -> Capabilities {
|
||||
Capabilities {
|
||||
folders: true,
|
||||
unpack: true,
|
||||
reveal: true,
|
||||
}
|
||||
}
|
||||
|
||||
fn send(&self, request: Request) {
|
||||
self.0.borrow_mut().push(request);
|
||||
}
|
||||
|
||||
fn poll(&self) -> Option<Event> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn file_identification_uses_current_resource_limits() {
|
||||
let requests = Rc::new(RefCell::new(Vec::new()));
|
||||
let settings = Settings {
|
||||
max_entry_mib: 1,
|
||||
max_total_mib: 3,
|
||||
max_entries: 7,
|
||||
max_depth: 2,
|
||||
..Settings::default()
|
||||
};
|
||||
let mut workbench = Workbench::new(
|
||||
Box::new(RecordingBackend(requests.clone())),
|
||||
settings,
|
||||
Lang::En,
|
||||
None,
|
||||
Vec::new(),
|
||||
None,
|
||||
);
|
||||
let first = PathBuf::from("identification-limit-first.apk");
|
||||
let first_limits = workbench.settings.limits();
|
||||
workbench.add_paths(vec![first.clone()]);
|
||||
|
||||
workbench.settings.max_entry_mib = 5;
|
||||
workbench.settings.max_entries = 11;
|
||||
let second = PathBuf::from("identification-limit-second.apk");
|
||||
let second_limits = workbench.settings.limits();
|
||||
workbench.add_paths(vec![second.clone()]);
|
||||
|
||||
let requests = requests.borrow();
|
||||
assert_eq!(requests.len(), 2);
|
||||
for (request, path, expected_limits) in [
|
||||
(&requests[0], first, first_limits),
|
||||
(&requests[1], second, second_limits),
|
||||
] {
|
||||
let Request::Identify { items, limits } = request else {
|
||||
panic!("expected an identification request");
|
||||
};
|
||||
assert_eq!(items.len(), 1);
|
||||
assert_eq!(items[0].1, path);
|
||||
assert_eq!(*limits, expected_limits);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -194,18 +194,15 @@ pub fn chip(ui: &mut Ui, label: &str, count: usize, on: bool) -> Response {
|
||||
response.on_hover_cursor(egui::CursorIcon::PointingHand)
|
||||
}
|
||||
|
||||
/// A filled amber button for the main action.
|
||||
/// A filled amber button for the main action. Like egui's own buttons, it
|
||||
/// fills the width of a justified layout.
|
||||
pub fn primary_button(ui: &mut Ui, text: impl Into<String>, enabled: bool) -> Response {
|
||||
let text = text.into();
|
||||
let font = theme::strong(13.5);
|
||||
let galley = ui
|
||||
.painter()
|
||||
.layout_no_wrap(text.clone(), font, theme::ACCENT_INK);
|
||||
let padding = ui.spacing().button_padding;
|
||||
let size = vec2(
|
||||
galley.size().x + 2.0 * padding.x,
|
||||
(galley.size().y + 2.0 * padding.y).max(ui.spacing().interact_size.y),
|
||||
);
|
||||
let galley = primary_galley(ui, &text);
|
||||
let mut size = primary_size(ui, &galley);
|
||||
if ui.layout().horizontal_justify() {
|
||||
size.x = size.x.max(ui.available_width());
|
||||
}
|
||||
let sense = if enabled {
|
||||
Sense::click()
|
||||
} else {
|
||||
@@ -240,6 +237,24 @@ pub fn primary_button(ui: &mut Ui, text: impl Into<String>, enabled: bool) -> Re
|
||||
}
|
||||
}
|
||||
|
||||
/// The width `primary_button` needs for `text` outside a justified layout.
|
||||
pub fn primary_button_width(ui: &Ui, text: &str) -> f32 {
|
||||
primary_size(ui, &primary_galley(ui, text)).x
|
||||
}
|
||||
|
||||
fn primary_galley(ui: &Ui, text: &str) -> std::sync::Arc<egui::Galley> {
|
||||
ui.painter()
|
||||
.layout_no_wrap(text.to_owned(), theme::strong(13.5), theme::ACCENT_INK)
|
||||
}
|
||||
|
||||
fn primary_size(ui: &Ui, galley: &egui::Galley) -> Vec2 {
|
||||
let padding = ui.spacing().button_padding;
|
||||
vec2(
|
||||
galley.size().x + 2.0 * padding.x,
|
||||
(galley.size().y + 2.0 * padding.y).max(ui.spacing().interact_size.y),
|
||||
)
|
||||
}
|
||||
|
||||
/// A frameless button that shows its frame on hover.
|
||||
pub fn ghost_button(ui: &mut Ui, text: impl Into<String>) -> Response {
|
||||
ui.add(
|
||||
|
||||
+19
-20
@@ -82,7 +82,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::RebuildHeaders => "Reconstructing PE headers...".into(),
|
||||
Step::Pe32LocateConfig => "Locating config layout (PE32)...".into(),
|
||||
Step::Pe32Stages => "Decrypting stages (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "Decrypting eighthStage (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "Decrypting stage 8 (PE32)...".into(),
|
||||
Step::Pe32Load => "Loading and decompressing file data (PE32)...".into(),
|
||||
Step::Pe32Text { formula } => {
|
||||
format!("Decrypting .text (PE32 dd8, formula={formula})...").into()
|
||||
@@ -189,9 +189,9 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::UnknownOption { option } => format!("unknown option '{option}'").into(),
|
||||
Cli::MultipleInputs { first, second } => format!("multiple input paths given ('{first}' and '{second}')").into(),
|
||||
Cli::SubcommandNeedsPath { subcommand } => format!("'{subcommand}' requires an input path").into(),
|
||||
Cli::InspectNoDryRun => "'inspect' writes nothing; drop --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' writes nothing; --out is not allowed".into(),
|
||||
Cli::DryRunNoOut => "--dry-run writes no output; --out is not allowed".into(),
|
||||
Cli::InspectNoDryRun => "'inspect' does not save output files; omit --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' does not save output files; --out is not allowed".into(),
|
||||
Cli::DryRunNoOut => "--dry-run does not save output files; --out is not allowed".into(),
|
||||
Cli::ColorRequiresMode => "--color requires auto, always, or never".into(),
|
||||
Cli::ThreadsRequiresInteger => "--threads requires a positive integer argument".into(),
|
||||
Cli::LimitRequiresInteger { flag } => format!("{flag} requires an unsigned integer argument").into(),
|
||||
@@ -205,21 +205,20 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 these. The bare form is the same as 'unpack'."
|
||||
.into(),
|
||||
Cli::HelpInspect => " inspect PATH\n\
|
||||
\x20 run the real static recovery for research, and report\n\
|
||||
\x20 everything observed: recognition evidence, each route\n\
|
||||
\x20 tried and why it was rejected, the route selected, the\n\
|
||||
\x20 static check's verdict, and the engines' own structural\n\
|
||||
\x20 evidence (protected-header fields, seeds, module records,\n\
|
||||
\x20 restored-image facts). Nothing is kept: no output file,\n\
|
||||
\x20 no log, no temporary tree, and the input is never run."
|
||||
\x20 run static recovery for research and report all collected\n\
|
||||
\x20 evidence: recognition evidence, candidate routes tried and\n\
|
||||
\x20 rejection reasons, the selected route, static validation\n\
|
||||
\x20 verdict, and structural evidence (protected-header fields,\n\
|
||||
\x20 seeds, module records, and restored-image details). Saves\n\
|
||||
\x20 no output files or logs, removes temporary workspaces,\n\
|
||||
\x20 and never executes the input."
|
||||
.into(),
|
||||
Cli::HelpUnpack => " unpack PATH detection and recovery; writes outputs (the default).".into(),
|
||||
Cli::HelpJson => " --json write one versioned machine-readable report to stdout and\n\
|
||||
\x20 nothing else. Implies quiet and --no-log."
|
||||
.into(),
|
||||
Cli::HelpDryRun => " --dry-run run the real recovery but keep nothing: no output tree and\n\
|
||||
\x20 no log. Android extraction still uses its own temporary\n\
|
||||
\x20 workspace, which is discarded."
|
||||
Cli::HelpDryRun => " --dry-run run recovery without saving output files or logs.\n\
|
||||
\x20 Temporary extraction workspaces are removed after the run."
|
||||
.into(),
|
||||
Cli::HelpThreads => " --threads N positive worker cap for this run. Overrides SENBEI_THREADS;\n\
|
||||
\x20 1 selects the sequential path. The environment is unchanged."
|
||||
@@ -233,12 +232,12 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 size floor; other filenames remain excluded."
|
||||
.into(),
|
||||
Cli::HelpStrictIntegrity => " --strict-integrity\n\
|
||||
\x20 exit non-zero when any output fails the static integrity\n\
|
||||
\x20 check (a suspect) or a file errors. Off by default: a\n\
|
||||
\x20 suspect is still written and the process exits 0 unless\n\
|
||||
\x20 a file errors. Quiet levels are unchanged.\n\
|
||||
\x20 With 'inspect', the check applies to the image actually\n\
|
||||
\x20 recovered for research; no output file is retained."
|
||||
\x20 exit non-zero when any output fails static validation\n\
|
||||
\x20 (suspect) or a file errors. Off by default: suspect files\n\
|
||||
\x20 are still written and the process exits 0 unless a file\n\
|
||||
\x20 errors. Quiet levels are unchanged.\n\
|
||||
\x20 With 'inspect', the check applies to the recovered image;\n\
|
||||
\x20 no output file is saved."
|
||||
.into(),
|
||||
Cli::HelpLimits { entry_mib, total_mib, entries, depth } => format!(
|
||||
" Android resource limits (MiB = 1048576 bytes):\n\
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::{Cli, Msg, Step, Term};
|
||||
|
||||
pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
match msg {
|
||||
Msg::CompanionMissing => "コンパニオンが見つからない可能性があります。このローダーには対応する<input>._ペイロードが必要です。入力ファイルの隣に配置して再試行してください。".into(),
|
||||
Msg::CompanionMissing => "コンパニオンファイルが見つかりません。このローダーには対応する<input>._ペイロードが必要です。入力ファイルと同じフォルダーに配置(ブラウザ版では両方のファイルを追加)して再試行してください。".into(),
|
||||
Msg::CompanionMismatch => "コンパニオンが一致しません。指定された._ペイロードが短すぎるか、ヘッダーがローダーと異なります。同じビルドのコンパニオンを使用してください (いずれかのファイルが破損している可能性があります)。".into(),
|
||||
Msg::InputTooShort { actual, required } => format!("入力が短すぎます (最低{required}バイト必要ですが、{actual}バイトです)").into(),
|
||||
Msg::NotProtected => "CrackProofで保護されたファイルではありません".into(),
|
||||
@@ -99,7 +99,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::DllSections => "セクションを復号・展開中...".into(),
|
||||
Step::FixHeaders => "PEヘッダーとセクションテーブルを修正中...".into(),
|
||||
Step::AndroidPrimary => "プライマリ0x9D対象イメージコンテナーをデコード中...".into(),
|
||||
Step::AndroidAuxiliary => "補助0x9D ELF実体化コンテナーをデコード中...".into(),
|
||||
Step::AndroidAuxiliary => "補助0x9D ELF再構築用コンテナーをデコード中...".into(),
|
||||
Step::AndroidTables => "静的ELF動的リンカーテーブルを再構築中...".into(),
|
||||
Step::WriteTo { dest } => format!("{dest}に書き込み").into(),
|
||||
}
|
||||
@@ -188,9 +188,9 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::UnknownOption { option } => format!("不明なオプション '{option}'").into(),
|
||||
Cli::MultipleInputs { first, second } => format!("複数の入力パスが指定されています ('{first}' と '{second}')").into(),
|
||||
Cli::SubcommandNeedsPath { subcommand } => format!("'{subcommand}' には入力パスが必要です").into(),
|
||||
Cli::InspectNoDryRun => "'inspect' は何も書き込まないため、--dry-runは不要です".into(),
|
||||
Cli::InspectNoOut => "'inspect' は何も書き込まないため、--outは指定できません".into(),
|
||||
Cli::DryRunNoOut => "--dry-runは何も出力しないため、--outは指定できません".into(),
|
||||
Cli::InspectNoDryRun => "'inspect' は出力ファイルを保存しないため、--dry-runは不要です".into(),
|
||||
Cli::InspectNoOut => "'inspect' は出力ファイルを保存しないため、--outは指定できません".into(),
|
||||
Cli::DryRunNoOut => "--dry-runは出力ファイルを保存しないため、--outは指定できません".into(),
|
||||
Cli::ColorRequiresMode => "--colorにはauto、always、またはneverが必要です".into(),
|
||||
Cli::ThreadsRequiresInteger => "--threadsには正の整数引数が必要です".into(),
|
||||
Cli::LimitRequiresInteger { flag } => format!("{flag}には符号なし整数引数が必要です").into(),
|
||||
@@ -228,7 +228,7 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 always/neverはこれらの変数を上書きします。JSONと保存される\n\
|
||||
\x20 ログは常にプレーンテキストのままです。"
|
||||
.into(),
|
||||
Cli::HelpScanAll => " --scan-all サイズ下限未満の対象名 (.exe/.dll/.so/メタデータ) も\n\
|
||||
Cli::HelpScanAll => " --scan-all 最小サイズ未満の対象ファイル (.exe/.dll/.so/メタデータ) も\n\
|
||||
\x20 プローブします。それ以外のファイル名は引き続き除外されます。"
|
||||
.into(),
|
||||
Cli::HelpStrictIntegrity => " --strict-integrity\n\
|
||||
@@ -255,7 +255,7 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 2 コマンドライン引数の却下。"
|
||||
.into(),
|
||||
Cli::ReportScanHeading => "スキャン".into(),
|
||||
Cli::ReportScan { skipped, walk_errors, probe_errors } => format!("プローブした対象外 {skipped} · 走査エラー {walk_errors} · プローブエラー {probe_errors}").into(),
|
||||
Cli::ReportScan { skipped, walk_errors, probe_errors } => format!("対象外 (プローブ済み) {skipped} · 走査エラー {walk_errors} · プローブエラー {probe_errors}").into(),
|
||||
Cli::ReportScanIncomplete => "解析が不完全です。一部のディレクトリ項目または選択したファイルを調査できませんでした".into(),
|
||||
Cli::AnalysisIncomplete => "解析不完全".into(),
|
||||
Cli::AnalysisIncompleteInput => "I/O、リソース上限、または基盤の問題により要求された処理を完了できませんでした".into(),
|
||||
|
||||
+23
-23
@@ -6,7 +6,7 @@ use crate::{Cli, Msg, Step, Term};
|
||||
|
||||
pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
match msg {
|
||||
Msg::CompanionMissing => "컴패니언 파일이 누락되었습니까? 이 로더는 일치하는 <input>._ 페이로드를 필요로 합니다. 입력 파일 옆에 두고 다시 시도하십시오.".into(),
|
||||
Msg::CompanionMissing => "컴패니언 파일이 없습니다. 이 로더에는 대응하는 <input>._ 페이로드가 필요합니다. 입력 파일과 같은 폴더에 두고(브라우저에서는 두 파일을 모두 추가하고) 다시 시도하십시오.".into(),
|
||||
Msg::CompanionMismatch => "컴패니언 파일이 일치하지 않습니다: 제공된 ._ 페이로드가 너무 짧거나 헤더가 로더의 헤더와 다릅니다. 동일한 빌드의 컴패니언 파일을 사용하십시오. 두 파일 중 하나가 손상되었을 수 있습니다.".into(),
|
||||
Msg::InputTooShort { actual, required } => format!(
|
||||
"입력이 너무 짧습니다 (최소 {required}바이트 필요, 실제 {actual}바이트)"
|
||||
@@ -110,7 +110,7 @@ pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
"섹션 #{index} 원시 데이터 [0x{start:X}..0x{end:X}]이(가) 파일 크기 0x{file_len:X}을(를) 초과합니다"
|
||||
)
|
||||
.into(),
|
||||
Msg::NoBaseRelocations => "네이티브 DLL에 기준 재배치 테이블이 없습니다 (DD[5]가 0임) — 기본 주소가 아닌 위치에 로드될 때 충돌합니다".into(),
|
||||
Msg::NoBaseRelocations => "네이티브 DLL에 베이스 재배치 테이블이 없습니다 (DD[5]가 0임) — 기본 ImageBase가 아닌 주소에 로드되면 크래시합니다".into(),
|
||||
Msg::ZeroEntryPoint => "엔트리 포인트 RVA가 0입니다".into(),
|
||||
Msg::EntryUnmapped { rva } => {
|
||||
format!("엔트리 포인트 RVA 0x{rva:X}이(가) 어느 섹션에도 매핑되지 않습니다").into()
|
||||
@@ -132,7 +132,7 @@ pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
)
|
||||
.into(),
|
||||
Msg::ImportNameUnreadable { index, rva } => format!(
|
||||
"RVA 0x{rva:X}에 있는 임포트 디스크립터 {index}의 DLL 이름이 읽을 수 있는 ASCII가 아닙니다 (임포트가 암호화된 채로 남았습니까?)"
|
||||
"임포트 디스크립터 {index}의 DLL 이름(RVA 0x{rva:X})이 읽을 수 있는 ASCII가 아닙니다 (임포트가 복호화되지 않았을 수 있음)"
|
||||
)
|
||||
.into(),
|
||||
Msg::ClrDirectoryUnmapped { rva } => {
|
||||
@@ -146,7 +146,7 @@ pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
format!("CLR MetaData RVA 0x{rva:X}이(가) 어느 섹션에도 매핑되지 않습니다").into()
|
||||
}
|
||||
Msg::ClrMetadataNoBsjb { rva } => format!(
|
||||
"RVA 0x{rva:X}의 CLR MetaData에 'BSJB' 서명이 없습니다 (메타데이터 손상 — 관리되는 이미지가 로드되지 않습니다)"
|
||||
"RVA 0x{rva:X}의 CLR MetaData에 'BSJB' 서명이 없습니다 (메타데이터 손상 — 관리형 이미지가 로드되지 않습니다)"
|
||||
)
|
||||
.into(),
|
||||
}
|
||||
@@ -184,7 +184,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::DllSections => "섹션 복호화 및 압축 해제 중...".into(),
|
||||
Step::FixHeaders => "PE 헤더 및 섹션 테이블 보정 중...".into(),
|
||||
Step::AndroidPrimary => "기본 0x9D 대상 이미지 컨테이너 디코딩 중...".into(),
|
||||
Step::AndroidAuxiliary => "보조 0x9D ELF 구체화 컨테이너 디코딩 중...".into(),
|
||||
Step::AndroidAuxiliary => "보조 0x9D ELF 재구성 컨테이너 디코딩 중...".into(),
|
||||
Step::AndroidTables => "정적 ELF 동적 링커 테이블 재구성 중...".into(),
|
||||
Step::WriteTo { dest } => format!("{dest}(으)로 기록").into(),
|
||||
}
|
||||
@@ -193,20 +193,20 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
pub(crate) fn term(term: &Term) -> Cow<'static, str> {
|
||||
match term {
|
||||
Term::Ok => "정상",
|
||||
Term::Suspect => "의심됨",
|
||||
Term::Suspect => "주의 필요",
|
||||
Term::Recognized => "인식됨",
|
||||
Term::NotRecognized => "인식되지 않음",
|
||||
Term::Skipped => "건너뜀",
|
||||
Term::Error => "오류",
|
||||
Term::Restored => "복원됨",
|
||||
Term::Duplicate => "중복",
|
||||
Term::NotTarget => "비대상",
|
||||
Term::NotTarget => "대상 아님",
|
||||
Term::Unchanged => "변경 없음",
|
||||
Term::Inventoried => "목록화됨",
|
||||
Term::Failed => "실패함",
|
||||
Term::Inventoried => "목록 확인됨",
|
||||
Term::Failed => "실패",
|
||||
Term::Blocked => "차단됨",
|
||||
Term::NotAttempted => "시도 안 함",
|
||||
Term::Succeeded => "성공함",
|
||||
Term::Succeeded => "성공",
|
||||
Term::Rejected => "거부됨",
|
||||
Term::Clean => "정상",
|
||||
Term::Warnings => "경고",
|
||||
@@ -216,7 +216,7 @@ pub(crate) fn term(term: &Term) -> Cow<'static, str> {
|
||||
Term::Unmatched => "일치하지 않음",
|
||||
Term::Unreadable => "읽을 수 없음",
|
||||
Term::Detection => "탐지",
|
||||
Term::ManifestInventory => "매니페스트 목록화",
|
||||
Term::ManifestInventory => "매니페스트 목록 확인",
|
||||
Term::EntryProbe => "항목 프로브",
|
||||
Term::Recovery => "복원",
|
||||
Term::StaticValidation => "정적 검증",
|
||||
@@ -267,7 +267,7 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
suspect,
|
||||
metadata,
|
||||
} => format!(
|
||||
"언패킹 {unpacked} · 건너뜀 {skipped} · 오류 {errors} · 의심됨 {suspect} · 메타데이터 {metadata}"
|
||||
"언패킹 {unpacked} · 건너뜀 {skipped} · 오류 {errors} · 주의 필요 {suspect} · 메타데이터 {metadata}"
|
||||
)
|
||||
.into(),
|
||||
Cli::SummaryPackages { packages } => format!(" · 패키지 {packages}").into(),
|
||||
@@ -301,12 +301,12 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
format!("'{subcommand}'에는 입력 경로가 필요합니다").into()
|
||||
}
|
||||
Cli::InspectNoDryRun => {
|
||||
"'inspect'는 아무것도 기록하지 않습니다. --dry-run을 제거하십시오".into()
|
||||
"'inspect'는 출력 파일을 저장하지 않으므로 --dry-run은 불필요합니다".into()
|
||||
}
|
||||
Cli::InspectNoOut => {
|
||||
"'inspect'는 아무것도 기록하지 않습니다. --out은 허용되지 않습니다".into()
|
||||
"'inspect'는 출력 파일을 저장하지 않으므로 --out을 사용할 수 없습니다".into()
|
||||
}
|
||||
Cli::DryRunNoOut => "--dry-run은 출력을 기록하지 않습니다. --out은 허용되지 않습니다".into(),
|
||||
Cli::DryRunNoOut => "--dry-run은 출력 파일을 저장하지 않으므로 --out을 사용할 수 없습니다".into(),
|
||||
Cli::ColorRequiresMode => "--color에는 auto, always 또는 never가 필요합니다".into(),
|
||||
Cli::ThreadsRequiresInteger => "--threads에는 양의 정수 인수가 필요합니다".into(),
|
||||
Cli::LimitRequiresInteger { flag } => {
|
||||
@@ -349,16 +349,16 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 always/never는 이 변수들보다 우선합니다. JSON 및 저장된 로그는\n\
|
||||
\x20 일반 텍스트로 유지됩니다."
|
||||
.into(),
|
||||
Cli::HelpScanAll => " --scan-all 최소 크기 기준 미만인 지정된 .exe/.dll/.so/메타데이터 이름을\n\
|
||||
Cli::HelpScanAll => " --scan-all 최소 크기 기준 미만인 대상 파일(.exe/.dll/.so/메타데이터)도\n\
|
||||
\x20 프로브합니다. 다른 파일 이름은 계속 제외됩니다."
|
||||
.into(),
|
||||
Cli::HelpStrictIntegrity => " --strict-integrity\n\
|
||||
\x20 출력이 정적 무결성 검사에 실패하거나 (의심됨) 파일에 오류가\n\
|
||||
\x20 출력이 정적 무결성 검사에 실패하거나 (주의 필요) 파일에 오류가\n\
|
||||
\x20 발생하면 0이 아닌 코드로 종료합니다. 기본값은 해제 상태이며,\n\
|
||||
\x20 의심됨 항목도 파일로 기록되고 파일 오류가 없는 한 프로세스는\n\
|
||||
\x20 주의 필요 항목도 파일로 저장되고 파일 오류가 없는 한 프로세스는\n\
|
||||
\x20 0으로 종료합니다. quiet 수준은 변경되지 않습니다.\n\
|
||||
\x20 'inspect'와 함께 사용하면 연구를 위해 실제로 복원된 이미지에\n\
|
||||
\x20 검사가 적용되며 출력 파일은 유지되지 않습니다."
|
||||
\x20 'inspect'와 함께 사용하면 분석을 위해 실제로 복원된 이미지에\n\
|
||||
\x20 검사가 적용되며 출력 파일은 저장되지 않습니다."
|
||||
.into(),
|
||||
Cli::HelpLimits {
|
||||
entry_mib,
|
||||
@@ -378,15 +378,15 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 시스템 언어를 사용합니다. JSON 및 저장된 로그는 영어로\n\
|
||||
\x20 유지됩니다."
|
||||
.into(),
|
||||
Cli::HelpExitCodes => " 종료 코드: 0 성공, 1 대상 실패 (--strict-integrity 사용 시 의심됨 포함),\n\
|
||||
\x20 2 명령줄이 거부됨."
|
||||
Cli::HelpExitCodes => " 종료 코드: 0 성공, 1 대상 실패 (--strict-integrity 사용 시 주의 필요 포함),\n\
|
||||
\x20 2 명령줄 인수가 거부됨."
|
||||
.into(),
|
||||
Cli::ReportScanHeading => "스캔".into(),
|
||||
Cli::ReportScan {
|
||||
skipped,
|
||||
walk_errors,
|
||||
probe_errors,
|
||||
} => format!("프로브한 비대상 {skipped} · 탐색 오류 {walk_errors} · 프로브 오류 {probe_errors}").into(),
|
||||
} => format!("비대상 (프로브됨) {skipped} · 탐색 오류 {walk_errors} · 프로브 오류 {probe_errors}").into(),
|
||||
Cli::ReportScanIncomplete => {
|
||||
"분석이 불완전합니다: 일부 디렉터리 항목 또는 선택한 파일을 조사할 수 없었습니다".into()
|
||||
}
|
||||
|
||||
+18
-20
@@ -6,7 +6,7 @@ use crate::{Cli, Msg, Step, Term};
|
||||
|
||||
pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
match msg {
|
||||
Msg::CompanionMissing => "缺少伴生文件?此加载器需要匹配的 <input>._ 载荷。请将其放在输入文件旁并重试。".into(),
|
||||
Msg::CompanionMissing => "缺少伴生文件:此加载器需要匹配的 <input>._ 载荷。请将它放在输入文件所在的文件夹中,然后重试。浏览器版需同时添加这两个文件。".into(),
|
||||
Msg::CompanionMismatch => "伴生文件不匹配:提供的 ._ 载荷过短,或其头部与加载器不一致。请使用来自同一构建版本的伴生文件;其中任一文件都可能已损坏。".into(),
|
||||
Msg::InputTooShort { actual, required } => format!("输入过短(至少需要 {required} 字节,实际为 {actual} 字节)").into(),
|
||||
Msg::NotProtected => "不是受 CrackProof 保护的文件".into(),
|
||||
@@ -81,7 +81,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::RebuildHeaders => "正在重建 PE 头部...".into(),
|
||||
Step::Pe32LocateConfig => "正在定位配置布局 (PE32)...".into(),
|
||||
Step::Pe32Stages => "正在解密各阶段 (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "正在解密 eighthStage (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "正在解密第八阶段 (PE32)...".into(),
|
||||
Step::Pe32Load => "正在加载并解压文件数据 (PE32)...".into(),
|
||||
Step::Pe32Text { formula } => {
|
||||
format!("正在解密 .text (PE32 dd8, formula={formula})...").into()
|
||||
@@ -99,7 +99,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::DllSections => "正在解密并解压各节...".into(),
|
||||
Step::FixHeaders => "正在修正 PE 头部与节表...".into(),
|
||||
Step::AndroidPrimary => "正在解码主 0x9D 目标映像容器...".into(),
|
||||
Step::AndroidAuxiliary => "正在解码辅助 0x9D ELF 物化容器...".into(),
|
||||
Step::AndroidAuxiliary => "正在解码辅助 0x9D ELF 容器...".into(),
|
||||
Step::AndroidTables => "正在重建静态 ELF 动态链接器表...".into(),
|
||||
Step::WriteTo { dest } => format!("写入 {dest}").into(),
|
||||
}
|
||||
@@ -123,7 +123,7 @@ pub(crate) fn term(term: &Term) -> Cow<'static, str> {
|
||||
Term::NotAttempted => "未尝试",
|
||||
Term::Succeeded => "成功",
|
||||
Term::Rejected => "已拒绝",
|
||||
Term::Clean => "干净",
|
||||
Term::Clean => "通过",
|
||||
Term::Warnings => "警告",
|
||||
Term::NotRun => "未运行",
|
||||
Term::Absent => "无",
|
||||
@@ -188,9 +188,9 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::UnknownOption { option } => format!("未知选项 '{option}'").into(),
|
||||
Cli::MultipleInputs { first, second } => format!("指定了多个输入路径('{first}' 与 '{second}')").into(),
|
||||
Cli::SubcommandNeedsPath { subcommand } => format!("'{subcommand}' 需要输入路径").into(),
|
||||
Cli::InspectNoDryRun => "'inspect' 不写出任何内容;请移除 --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' 不写出任何内容;不允许使用 --out".into(),
|
||||
Cli::DryRunNoOut => "--dry-run 不写出输出;不允许使用 --out".into(),
|
||||
Cli::InspectNoDryRun => "'inspect' 不保存输出文件;无需指定 --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' 不保存输出文件;不能与 --out 同时使用".into(),
|
||||
Cli::DryRunNoOut => "--dry-run 不保存输出文件;不能与 --out 同时使用".into(),
|
||||
Cli::ColorRequiresMode => "--color 需要 auto、always 或 never".into(),
|
||||
Cli::ThreadsRequiresInteger => "--threads 需要正整数参数".into(),
|
||||
Cli::LimitRequiresInteger { flag } => format!("{flag} 需要无符号整数参数").into(),
|
||||
@@ -204,20 +204,18 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 文件夹。省略子命令时等同于 'unpack'。"
|
||||
.into(),
|
||||
Cli::HelpInspect => " inspect PATH\n\
|
||||
\x20 执行实际的静态恢复以供研究,并报告观察到的全部内容:\n\
|
||||
\x20 识别依据、尝试过的每条路线及其被拒绝的原因、最终选用的\n\
|
||||
\x20 路线、静态检查的结论,以及各引擎自身的结构化依据(保护\n\
|
||||
\x20 头部字段、种子、模块记录、恢复映像信息)。不保留任何\n\
|
||||
\x20 内容:不写输出文件、不写日志、不留临时目录,且绝不执行\n\
|
||||
\x20 输入项。"
|
||||
\x20 执行完整的静态恢复并输出详细分析报告:识别依据、尝试过\n\
|
||||
\x20 的各恢复方案及排除原因、最终选用的方案、静态验证结论,\n\
|
||||
\x20 以及保护头部字段、种子、模块记录与恢复映像结构数据。\n\
|
||||
\x20 不保存恢复后的输出文件或日志,自动清理临时目录,且绝不\n\
|
||||
\x20 执行输入文件。"
|
||||
.into(),
|
||||
Cli::HelpUnpack => " unpack PATH 检测并恢复;写出输出(默认)。".into(),
|
||||
Cli::HelpJson => " --json 向标准输出写出单份带版本号的机器可读报告,不输出其他\n\
|
||||
\x20 内容。隐含静默模式与 --no-log。"
|
||||
.into(),
|
||||
Cli::HelpDryRun => " --dry-run 执行实际的恢复但不保留任何内容:不写输出目录,也不写\n\
|
||||
\x20 日志。Android 提取仍会使用其自身的临时工作区,随后即被\n\
|
||||
\x20 丢弃。"
|
||||
Cli::HelpDryRun => " --dry-run 执行完整的恢复流程,但不保存输出文件与日志。Android 提取\n\
|
||||
\x20 期间使用的临时工作区会在完成后自动清理。"
|
||||
.into(),
|
||||
Cli::HelpThreads => " --threads N 本次运行的工作线程数上限(正整数)。覆盖 SENBEI_THREADS;\n\
|
||||
\x20 设为 1 则使用顺序执行路径。环境变量保持不变。"
|
||||
@@ -264,14 +262,14 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::KindUnavailable => "种类不适用或不可用".into(),
|
||||
Cli::ProtectionRecognition { status } => format!("保护识别: {status}").into(),
|
||||
Cli::Evidence { evidence } => format!("依据: {evidence}").into(),
|
||||
Cli::Route { route, outcome } => format!("路线 {route}: {outcome}").into(),
|
||||
Cli::SelectedRoute { route } => format!("已选用路线: {route}").into(),
|
||||
Cli::Route { route, outcome } => format!("方案 {route}: {outcome}").into(),
|
||||
Cli::SelectedRoute { route } => format!("已选用方案: {route}").into(),
|
||||
Cli::StaticRecovery { status } => format!("静态恢复: {status}").into(),
|
||||
Cli::OutputValidation { status } => format!("输出静态验证: {status}").into(),
|
||||
Cli::Companion { state } => format!("伴生文件: {state}").into(),
|
||||
Cli::CompanionIdentity { size, sha256 } => format!("{size} 字节 · SHA-256 {sha256}").into(),
|
||||
Cli::InputView { view } => format!("分析输入视图: {view}").into(),
|
||||
Cli::InputViewSplicedNote => "低于 0x1000 的文件偏移针对存根寻址;自 0x1000 起的偏移针对伴生文件偏移(文件偏移 - 0x1000)寻址".into(),
|
||||
Cli::InputViewSplicedNote => "小于 0x1000 的文件偏移对应加载器存根;0x1000 及以上的偏移对应伴生文件中的 (文件偏移 - 0x1000)".into(),
|
||||
Cli::MetadataIdentity { version, layout } => format!("IL2CPP 元数据版本: {version} · 布局定义 {layout}").into(),
|
||||
Cli::SeededTokens { value } => format!("基于种子的方法令牌: {}", yes_no(*value)).into(),
|
||||
Cli::StructuralTokens { value } => format!("结构化方法令牌: {}", yes_no(*value)).into(),
|
||||
@@ -282,7 +280,7 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::Candidate { entry } => format!("候选: {entry}").into(),
|
||||
Cli::MetadataEvidence => "元数据变换依据".into(),
|
||||
Cli::Entry { name, status } => format!("条目 {name}: {status}").into(),
|
||||
Cli::EntryRoute { route } => format!("路线: {route}").into(),
|
||||
Cli::EntryRoute { route } => format!("方案: {route}").into(),
|
||||
Cli::EntryMetadataVersion { version } => format!("元数据版本: {version}").into(),
|
||||
Cli::EntryRemapped { remapped } => format!("已重映射方法字段: {remapped}").into(),
|
||||
Cli::ModuleContextSource { source } => format!("模块上下文来源: {source}").into(),
|
||||
|
||||
+23
-25
@@ -6,7 +6,7 @@ use crate::{Cli, Msg, Step, Term};
|
||||
|
||||
pub(crate) fn msg(msg: &Msg) -> Cow<'static, str> {
|
||||
match msg {
|
||||
Msg::CompanionMissing => "缺少伴生檔案?此載入器需要相符的 <input>._ 載荷。請將它放在輸入檔案旁並再試一次。".into(),
|
||||
Msg::CompanionMissing => "缺少伴生檔案:此載入器需要相符的 <input>._ 載荷。請將它放在輸入檔案所在的資料夾中,再試一次。瀏覽器版需同時加入這兩個檔案。".into(),
|
||||
Msg::CompanionMismatch => "伴生檔案不相符:所提供的 ._ 載荷過短,或其標頭與載入器不同。請使用來自同一組建的伴生檔案;兩個檔案其中之一可能已損毀。".into(),
|
||||
Msg::InputTooShort { actual, required } => format!("輸入過短(至少需要 {required} 位元組,實際為 {actual} 位元組)").into(),
|
||||
Msg::NotProtected => "不是受 CrackProof 保護的檔案".into(),
|
||||
@@ -71,7 +71,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
match step {
|
||||
Step::DecryptHeader => "解密檔案標頭...".into(),
|
||||
Step::DecryptPayload => "解密載荷...".into(),
|
||||
Step::LocateConfig => "定位組態配置...".into(),
|
||||
Step::LocateConfig => "尋找設定結構...".into(),
|
||||
Step::DecryptStage2 => "解密 stage2...".into(),
|
||||
Step::DecryptStages3To5 => "解密階段 3-5...".into(),
|
||||
Step::DecryptSections => "解密節區資料...".into(),
|
||||
@@ -79,9 +79,9 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::LoadSections => "載入並解壓縮節區...".into(),
|
||||
Step::DecryptImports => "解密匯入字串...".into(),
|
||||
Step::RebuildHeaders => "重建 PE 標頭...".into(),
|
||||
Step::Pe32LocateConfig => "定位組態配置 (PE32)...".into(),
|
||||
Step::Pe32LocateConfig => "尋找設定結構 (PE32)...".into(),
|
||||
Step::Pe32Stages => "解密各階段 (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "解密 eighthStage (PE32)...".into(),
|
||||
Step::Pe32EighthStage => "解密第八階段 (PE32)...".into(),
|
||||
Step::Pe32Load => "載入並解壓縮檔案資料 (PE32)...".into(),
|
||||
Step::Pe32Text { formula } => format!("解密 .text (PE32 dd8, formula={formula})...").into(),
|
||||
Step::Pe32TextSkip => "略過 .text dd8(已為明文)...".into(),
|
||||
@@ -97,7 +97,7 @@ pub(crate) fn step(step: &Step) -> Cow<'static, str> {
|
||||
Step::DllSections => "解密並解壓縮節區...".into(),
|
||||
Step::FixHeaders => "修補 PE 標頭與節區表...".into(),
|
||||
Step::AndroidPrimary => "解碼主要 0x9D 目標映像容器...".into(),
|
||||
Step::AndroidAuxiliary => "解碼輔助 0x9D ELF 實體化容器...".into(),
|
||||
Step::AndroidAuxiliary => "解碼輔助 0x9D ELF 容器...".into(),
|
||||
Step::AndroidTables => "重建靜態 ELF 動態連結器表...".into(),
|
||||
Step::WriteTo { dest } => format!("寫入至 {dest}").into(),
|
||||
}
|
||||
@@ -121,7 +121,7 @@ pub(crate) fn term(term: &Term) -> Cow<'static, str> {
|
||||
Term::NotAttempted => "未嘗試",
|
||||
Term::Succeeded => "成功",
|
||||
Term::Rejected => "已拒絕",
|
||||
Term::Clean => "乾淨",
|
||||
Term::Clean => "通過",
|
||||
Term::Warnings => "警告",
|
||||
Term::NotRun => "未執行",
|
||||
Term::Absent => "無",
|
||||
@@ -136,9 +136,9 @@ pub(crate) fn term(term: &Term) -> Cow<'static, str> {
|
||||
Term::OutputWrite => "輸出寫入",
|
||||
Term::SharedLibrary => "共用程式庫",
|
||||
Term::Metadata => "中繼資料",
|
||||
Term::ExeStyle => "EXE 風格",
|
||||
Term::Dll => "DLL",
|
||||
Term::AndroidStaged => "Android 分階段",
|
||||
Term::ExeStyle => "EXE 風格載入器",
|
||||
Term::Dll => "DLL 載入器",
|
||||
Term::AndroidStaged => "Android 分階段載入器",
|
||||
Term::MetadataSeeded => "基於種子的中繼資料",
|
||||
Term::MetadataStructural => "結構化中繼資料",
|
||||
Term::MetadataMethodIndices => "中繼資料方法索引",
|
||||
@@ -186,9 +186,9 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::UnknownOption { option } => format!("未知的選項 '{option}'").into(),
|
||||
Cli::MultipleInputs { first, second } => format!("指定了多個輸入路徑('{first}' 與 '{second}')").into(),
|
||||
Cli::SubcommandNeedsPath { subcommand } => format!("'{subcommand}' 需要指定輸入路徑").into(),
|
||||
Cli::InspectNoDryRun => "'inspect' 不會寫入任何內容;請移除 --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' 不會寫入任何內容;不允許使用 --out".into(),
|
||||
Cli::DryRunNoOut => "--dry-run 不會寫入任何輸出;不允許使用 --out".into(),
|
||||
Cli::InspectNoDryRun => "'inspect' 不儲存輸出檔案;無須指定 --dry-run".into(),
|
||||
Cli::InspectNoOut => "'inspect' 不儲存輸出檔案;不可與 --out 同時使用".into(),
|
||||
Cli::DryRunNoOut => "--dry-run 不儲存輸出檔案;不可與 --out 同時使用".into(),
|
||||
Cli::ColorRequiresMode => "--color 需要指定 auto、always 或 never".into(),
|
||||
Cli::ThreadsRequiresInteger => "--threads 需要指定正整數引數".into(),
|
||||
Cli::LimitRequiresInteger { flag } => format!("{flag} 需要指定無號整數引數").into(),
|
||||
@@ -202,20 +202,18 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 上述項目的資料夾。省略子命令時等同於 'unpack'。"
|
||||
.into(),
|
||||
Cli::HelpInspect => " inspect PATH\n\
|
||||
\x20 執行研究用的真實靜態恢復流程,並回報觀測到的一切:\n\
|
||||
\x20 識別依據、嘗試過的各條路線及其遭拒原因、選用的路線、\n\
|
||||
\x20 靜態檢查的判定結果,以及引擎本身的結構依據(保護標頭\n\
|
||||
\x20 欄位、種子、模組記錄、恢復映像資訊)。不會保留任何\n\
|
||||
\x20 內容:無輸出檔案、無記錄檔、無暫存目錄,且絕不執行\n\
|
||||
\x20 輸入項。"
|
||||
\x20 執行完整的靜態復原並輸出詳細分析報告:識別依據、嘗試過\n\
|
||||
\x20 的各復原方案及排除原因、最終選用的方案、靜態驗證結果,\n\
|
||||
\x20 以及保護標頭欄位、種子、模組記錄與復原映像結構資料。\n\
|
||||
\x20 不儲存復原後的輸出檔案或記錄檔,自動清理暫存目錄,且絕\n\
|
||||
\x20 不執行輸入檔案。"
|
||||
.into(),
|
||||
Cli::HelpUnpack => " unpack PATH 偵測並恢復;將結果寫入輸出(預設動作)。".into(),
|
||||
Cli::HelpJson => " --json 將單一含版本資訊的機器可讀報告寫入 stdout,不輸出其他\n\
|
||||
\x20 內容。隱含安靜模式與 --no-log。"
|
||||
.into(),
|
||||
Cli::HelpDryRun => " --dry-run 執行真實恢復流程但不保留任何內容:無輸出目錄,亦無\n\
|
||||
\x20 記錄檔。Android 提取仍會使用其專屬的暫存工作區,完成後\n\
|
||||
\x20 即會捨棄。"
|
||||
Cli::HelpDryRun => " --dry-run 執行完整的復原流程,但不儲存輸出檔案與記錄檔。Android\n\
|
||||
\x20 提取期間使用的暫存工作區會在完成後自動清理。"
|
||||
.into(),
|
||||
Cli::HelpThreads => " --threads N 此次執行的工作執行緒正整數上限。會覆寫 SENBEI_THREADS;\n\
|
||||
\x20 設為 1 會使用循序執行路徑。環境變數本身不會變更。"
|
||||
@@ -262,14 +260,14 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::KindUnavailable => "種類不適用或無法使用".into(),
|
||||
Cli::ProtectionRecognition { status } => format!("保護識別: {status}").into(),
|
||||
Cli::Evidence { evidence } => format!("依據: {evidence}").into(),
|
||||
Cli::Route { route, outcome } => format!("路線 {route}: {outcome}").into(),
|
||||
Cli::SelectedRoute { route } => format!("已選用路線: {route}").into(),
|
||||
Cli::Route { route, outcome } => format!("方案 {route}: {outcome}").into(),
|
||||
Cli::SelectedRoute { route } => format!("已選用方案: {route}").into(),
|
||||
Cli::StaticRecovery { status } => format!("靜態恢復: {status}").into(),
|
||||
Cli::OutputValidation { status } => format!("輸出靜態驗證: {status}").into(),
|
||||
Cli::Companion { state } => format!("伴生檔案: {state}").into(),
|
||||
Cli::CompanionIdentity { size, sha256 } => format!("{size} 位元組 · SHA-256 {sha256}").into(),
|
||||
Cli::InputView { view } => format!("分析輸入檢視: {view}").into(),
|
||||
Cli::InputViewSplicedNote => "低於 0x1000 的檔案偏移定址載入器存根;自 0x1000 起的偏移定址伴生檔案偏移(檔案偏移 - 0x1000)".into(),
|
||||
Cli::InputViewSplicedNote => "小於 0x1000 的檔案偏移對應載入器存根;從 0x1000 起的偏移對應伴生檔案中的 (檔案偏移 - 0x1000)".into(),
|
||||
Cli::MetadataIdentity { version, layout } => format!("IL2CPP 中繼資料版本: {version} · 結構配置定義 {layout}").into(),
|
||||
Cli::SeededTokens { value } => format!("基於種子的方法權杖: {}", yes_no(*value)).into(),
|
||||
Cli::StructuralTokens { value } => format!("結構化方法權杖: {}", yes_no(*value)).into(),
|
||||
@@ -280,7 +278,7 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
Cli::Candidate { entry } => format!("候選: {entry}").into(),
|
||||
Cli::MetadataEvidence => "中繼資料轉換依據".into(),
|
||||
Cli::Entry { name, status } => format!("條目 {name}: {status}").into(),
|
||||
Cli::EntryRoute { route } => format!("路線: {route}").into(),
|
||||
Cli::EntryRoute { route } => format!("方案: {route}").into(),
|
||||
Cli::EntryMetadataVersion { version } => format!("中繼資料版本: {version}").into(),
|
||||
Cli::EntryRemapped { remapped } => format!("已重新映射的方法欄位: {remapped}").into(),
|
||||
Cli::ModuleContextSource { source } => format!("模組上下文來源: {source}").into(),
|
||||
|
||||
Generated
+8
-8
@@ -432,7 +432,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-crypto"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"thiserror",
|
||||
@@ -440,7 +440,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-elf"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"goblin",
|
||||
"thiserror",
|
||||
@@ -448,7 +448,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-engine"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"memmap2",
|
||||
"senbei-crypto",
|
||||
@@ -464,14 +464,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-i18n"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "senbei-io"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"indicatif",
|
||||
@@ -495,7 +495,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-metadata"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"thiserror",
|
||||
@@ -503,14 +503,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "senbei-pe"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "senbei-wasm"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
dependencies = [
|
||||
"console_error_panic_hook",
|
||||
"senbei-engine",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "senbei-wasm"
|
||||
version = "1.3.4"
|
||||
version = "1.4.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.99.1"
|
||||
description = "WebAssembly bindings for senbei (browser frontend assets live in web/)"
|
||||
|
||||
Reference in new issue
Block a user