You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d4bd65c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(providers)!: preserve readiness, coverage, and diagnostic ownership
Share tagged readiness observations, retain partial provider facts, authenticate bridge identity, bound diagnostics, and preserve cancellation and lost-session reasons. Fail closed for unparsed MIPS ABI attributes and macOS saved Hopper databases without a script-capable bridge route.
Reviewed fixes: #2010, #2108, #2513, #2695, #2731, #2771, #2828, #2867, #2868, #2870, #2880, #2919, #2945, #2961, #2981, #2998, #3000, #3002.
Validation: 285 focused source/boundary tests passed. Real Ghidra, IDA, Linux Hopper, and Windows provider runs were not repeated.
BREAKING CHANGE: MIPS targets with unresolved GNU ABI attributes and saved Hopper databases on macOS are refused rather than advertised as supported.
|`push_adb_file`|**mutates device**| One local file to a device path (e.g. pushing tools into `/data/local/tmp`); refuses existing targets without explicit overwrite; verifies via the device's own sha256sum |
97
-
|`install_adb_package`|**mutates device**| Local APK via `adb install [-r]`; preserves the device's Success/Failure verdict |
98
-
|`uninstall_adb_package`|**mutates device**| Removes a package and its data for user 0 |
99
-
|`start_adb_app`|**mutates device**| Resolves the package's launcher activity (`cmd package resolve-activity --brief`) and starts it (`am start -n`) |
100
-
|`start_adb_activity`|**mutates device**| Starts an intent (`am start -a` with optional URI, component, and up to 16 typed extras); preserves the activity manager's verdict |
101
-
|`stop_adb_app`|**mutates device**| Force-stops every process of a package, ending a dynamic-analysis run |
|`push_adb_file`|**mutates device**| One local file to a device path (e.g. pushing tools into `/data/local/tmp`); checks for existing targets and refuses them without explicit overwrite (the check is not atomic); compares digests when device`sha256sum` is available|
97
+
|`install_adb_package`|**mutates device**| Local APK via `adb install [-r]`; preserves the device's Success/Failure verdict |
98
+
|`uninstall_adb_package`|**mutates device**| Removes a package and its data for user 0 |
99
+
|`start_adb_app`|**mutates device**| Resolves the package's launcher activity (`cmd package resolve-activity --brief`) and starts it (`am start -n`) |
100
+
|`start_adb_activity`|**mutates device**| Starts an intent (`am start -a` with optional URI, component, and up to 16 typed extras); preserves the activity manager's verdict |
101
+
|`stop_adb_app`|**mutates device**| Force-stops every process of a package, ending a dynamic-analysis run |
102
102
103
103
## Interpret the result
104
104
@@ -118,6 +118,16 @@ existing analysis families directly, for example
118
118
while POSIX hosts retain valid POSIX filenames such as names with spaces or
119
119
colons. A package pull checks reported names against the destination
120
120
filesystem before pulling, and refuses names that would share a local path.
121
+
-**Package path refusals are diagnosable.** Refusals from `pull_adb_package`
122
+
return `unreadable_output` with `retryable: false`, keep the `pm path` output
123
+
in `details.captured_output`, and name the refusal in `details.reason`.
124
+
`unsafe_device_path` lists refused entries in
125
+
`details.diagnostics.rejected_paths` as `{device_path, reason}`;
126
+
`duplicate_local_destination` reports the shared `file_name` and both
127
+
`device_paths`; `local_destination_unavailable` reports the `device_path`,
128
+
`file_name`, and filesystem `error_code`. Diagnostics retain raw device
129
+
strings, while the caller-facing message escapes invisible and bidirectional
130
+
characters so they cannot hide text or reorder the path.
121
131
-**Splits are part of the answer.**`pm path` enumerates the base APK and
122
132
every installed split; pulls cover the whole set. System packages whose
123
133
APKs keep other names report the `unknown` role rather than guessing.
@@ -127,8 +137,10 @@ existing analysis families directly, for example
127
137
partial coverage instead of dropping rows.
128
138
-**Mutations are explicit.**`push_adb_file`, `install_adb_package`, and
129
139
`uninstall_adb_package` declare `mutatesTarget` and never run implicitly:
130
-
pushes refuse existing device files unless `overwrite` is set and verify
131
-
the transfer with the device's own `sha256sum`; installs preserve the
140
+
pushes check for existing device files before transfer and refuse them
141
+
unless `overwrite` is set. The check is not atomic, so a different process
142
+
can create the path before `adb push` writes it. When available, the device's
143
+
`sha256sum` verifies the transfer; installs preserve the
132
144
device's `Failure [...]` reason verbatim.
133
145
-**Producer identity stays attached.** Every result embeds the producing
0 commit comments