From 5eb12202b29216e9242a9f6048aeffae7a177c6a Mon Sep 17 00:00:00 2001 From: Julius Trinkunas Date: Mon, 10 Aug 2015 16:01:13 +0300 Subject: [PATCH] Add attribution for error code reverse engineering. --- LICENSE | 6 ++++++ errors.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index e8010a3..f8e017a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,8 @@ 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 + + +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 diff --git a/errors.h b/errors.h index 6a3160a..616ec70 100644 --- a/errors.h +++ b/errors.h @@ -9,7 +9,8 @@ typedef struct error_id_to_message { const char* message; } 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[] = { { 0xe8000001, "kAMDUndefinedError" }, { 0xe8000002, "kAMDBadHeaderError" },