summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-12-15idevicebackup2: Fix logical bug when checking for success of backup operationGravatar Nikias Bassen1-1/+1
The condition in line 2278 is incorrectly evaluated when mb2_status_check_snapshot_state() isn't able to read the Status.plist file. While `if (-1) { ... }` will be a 'false' condition, `if (1 && -1) { ... }` will be 'true' which in this case would make idevicebackup2 assume the backup was successful while it was not. This commit fixes this issue by changing the default return value of mb2_status_check_snapshot_state() to be 0 (false). Thanks to Xiao Deng for pointing out this issue!
2016-12-15ideviceprovision: Add new remove-all command to remove all installed ↵Gravatar Nikias Bassen1-4/+61
profiles at once
2016-12-01ideviceprovision: Allow copying single profiles instead of allGravatar Nikias Bassen1-6/+32
2016-12-01ideviceprovision: Check output directory parameter for 'copy' command and ↵Gravatar Nikias Bassen1-9/+13
return exit code on error
2016-12-01ideviceprovision: Use newer API to get list of profiles on iOS 9.3+Gravatar Nikias Bassen1-2/+30
2016-11-27idevicebackup2: Plug some small memory leaksGravatar Nikias Bassen1-8/+8
2016-11-02idevicebackup2: Fix heap buffer out-of-bounds write caused by wrong buffer sizeGravatar Nikias Bassen1-1/+1
2016-10-21idevicebackup2: Don't report an error when file to remove doesn't existGravatar Nikias Bassen1-1/+1
2016-10-21idevicebackup2: Use remove_file() wrapper instead of remove()Gravatar Nikias Bassen1-3/+3
2016-10-05idevicebackup2: Suppress repeated printing of global status when 100% is reachedGravatar Nikias Bassen1-1/+5
2016-10-04idevicebackup2: Fix assertion occuring when copying non-present MEIDGravatar Nikias Bassen1-1/+2
2016-09-23idevicebackup2: Add installed application info to Info.plist during backupGravatar Nikias Bassen1-5/+110
For newer iOS versions, apparently >= iOS 8, iTunes stores information about installed applications inside of the Info.plist file. This commit mimics that behavior.
2016-09-18idevicebackup2: Fix build on win32 after last commitGravatar Nikias Bassen1-14/+14
2016-09-18idevicebackup2: Fix removal of Snapshot dir during backup with iOS 10+Gravatar Nikias Bassen1-23/+78
DLMessageRemoveItems needs to recursively remove directories and this commit implements that.
2016-04-29idevicedebug: Show error if container info not foundGravatar Matthias Ringwald1-10/+8
2016-04-01idevicebackup: fix some timestamps that are relative to the Mac epoch ↵Gravatar BALATON Zoltan2-5/+6
instead of Unix one
2015-12-22tools: idevicecrashreport: Fix missing 0-term when creating local filenameGravatar Nikias Bassen1-1/+3
When a .synced file is encountered, the .synced should be stripped off the local filename. However the strncpy doesn't 0-terminate the string by itself so the output filename usually contains some garbage characters at the end. This commit properly 0-terminates the local filename to avoid this.
2015-12-18tools: idevicecrashreport: Propertly initialize buffer used to check for ↵Gravatar Nikias Bassen1-0/+1
ping message
2015-12-18tools: Fix inverted abort condition in idevicecrashreportGravatar Nikias Bassen1-1/+1
This bug caused it to never wait for the 'ping' message from the crashreportmover service
2015-10-06tools: Use PACKAGE_URL define for homepage project links in usage outputGravatar Martin Szulecki17-17/+82
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki16-86/+83
2015-01-27tools: Add link to project homepage on usage outputGravatar Martin Szulecki17-0/+17
2015-01-27idevicedebug: Use more efficient instproxy_lookup instead of browsing all appsGravatar Martin Szulecki1-20/+8
2015-01-27idevicedebug: Use new return attributes helperGravatar Martin Szulecki1-7/+1
2015-01-27idevicesyslog: Flush stdout whenever encountering a line breakGravatar Nikias Bassen1-0/+3
2015-01-27idevicebackup: Notify user if erroneously used with an iOS 4 or later deviceGravatar Nikias Bassen1-0/+21
2015-01-27idevicecrashreport: Enable build for win32Gravatar Nikias Bassen2-4/+6
2015-01-22idevicedebugserverproxy: Properly handle server shutdownGravatar Nikias Bassen1-45/+75
2015-01-16idevicedebugserverproxy: Use debugserver service and fix reconnecting to itGravatar Martin Szulecki1-71/+46
As the debugserver exits after a detach or disconnect, we need to ensure to start it again upon a new client connection.
2015-01-13thread: Introduce thread_new and thread_free to cover handle leaks on WIN32Gravatar Martin Szulecki1-3/+9
2015-01-12idevicepair: Fix compilation due to renamed pairing dialog errorGravatar Martin Szulecki1-1/+1
2015-01-12Add new "idevicenotificationproxy" tool to post or observe notificationsGravatar Martin Szulecki2-1/+263
2014-12-09idevicedebug: Fix memory leak and compiler warnings regarding command creationGravatar Martin Szulecki1-2/+6
2014-12-08Replace () with (void) in libinternalcommon and tools for consistencyGravatar Martin Szulecki3-4/+4
2014-10-22common: Move size format helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki2-45/+7
2014-10-22common: Move string_toupper() helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki2-22/+2
2014-10-22common: Share idevicebackup helper string_build_path() from utilsGravatar Martin Szulecki2-73/+19
2014-10-15idevicedebug: Fix invalid write due to out of bounds access1.1.7Gravatar Martin Szulecki1-1/+1
2014-10-14idevicedebug: Fix broken logic when creating app argumentsGravatar Martin Szulecki1-3/+3
2014-10-14idevicedebug: Fix redeclaration and incrementation of environment_indexGravatar Martin Szulecki1-4/+1
2014-10-11tools: Make sure to print an error when lockdown connection failsGravatar Nikias Bassen13-16/+30
2014-10-07idevicedate: Remove space and fix syntax of preprocessor conditionalsGravatar Martin Szulecki1-3/+3
2014-10-07idevicedebug: Fix small memory leakGravatar Martin Szulecki1-6/+11
2014-10-07idevicedebug: Fix error variables for type consistencyGravatar Martin Szulecki1-1/+1
2014-10-05idevicebackup2: Fix error variables for type consistencyGravatar Martin Szulecki1-6/+7
2014-10-05idevicebackup: Fix error variables for type consistencyGravatar Martin Szulecki1-6/+7
2014-10-03idevicedebug: Fix win32 buildGravatar Nikias Bassen1-0/+5
2014-10-02idevicebackup2: Fix backup failure for passcode devices entering lock screenGravatar Martin Szulecki1-1/+1
A device would report "ErrorCode 1: Error copying keychain data (MBErrorDomain/1)" if a device entered lock state and had a passcode enabled during the backup or restore process. To prevent this, an escrow bag must be sent when starting the service to keep the operation "alive".
2014-10-02idevicebackup2: Use macro instead of plain AFC service nameGravatar Martin Szulecki1-1/+1
2014-10-02idevicebackup2: Use correct label for lockdown requestsGravatar Martin Szulecki1-2/+2