Add attribution for error code reverse engineering.

This commit is contained in:
Julius Trinkunas 2015-08-10 16:01:13 +03:00 committed by Shazron Abdullah
parent 093b4b3c9a
commit ed7c70aa59
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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" },