Add attribution for error code reverse engineering.
This commit is contained in:
parent
307a5f9452
commit
5eb12202b2
6
LICENSE
6
LICENSE
@ -1,2 +1,8 @@
|
|||||||
ios-deploy is available under the provisions of the GNU General Public License,
|
ios-deploy is available under the provisions of the GNU General Public License,
|
||||||
version 3 (or later), available here: http://www.gnu.org/licenses/gpl-3.0.html
|
version 3 (or later), available here: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
|
||||||
|
Error codes used for error messages were taken from SDMMobileDevice framework,
|
||||||
|
originally reverse engineered by Sam Marshall. SDMMobileDevice is distributed
|
||||||
|
under BSD 3-Clause license and is available here:
|
||||||
|
https://github.com/samdmarshall/SDMMobileDevice
|
||||||
|
3
errors.h
3
errors.h
@ -9,7 +9,8 @@ typedef struct error_id_to_message {
|
|||||||
const char* message;
|
const char* message;
|
||||||
} error_id_to_message_t;
|
} error_id_to_message_t;
|
||||||
|
|
||||||
// Taken from https://github.com/samdmarshall/SDMMobileDevice/blob/master/Framework/MobileDevice/Error/SDMMD_Error.h
|
// Most error codes are taken from SDMMobileDevice framework, and were reverse engineered by Sam Marshall.
|
||||||
|
// https://github.com/samdmarshall/SDMMobileDevice/blob/master/Framework/MobileDevice/Error/SDMMD_Error.h
|
||||||
static errorcode_to_id_t errorcode_to_id[] = {
|
static errorcode_to_id_t errorcode_to_id[] = {
|
||||||
{ 0xe8000001, "kAMDUndefinedError" },
|
{ 0xe8000001, "kAMDUndefinedError" },
|
||||||
{ 0xe8000002, "kAMDBadHeaderError" },
|
{ 0xe8000002, "kAMDBadHeaderError" },
|
||||||
|
Loading…
Reference in New Issue
Block a user