summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2022-05-05idevicebtlogger: Cleanup warnings, todos and magic numbersGravatar Geoffrey Kruse1-12/+4
2022-05-05Initial commit of working packet logger (idevicebtlogger)Gravatar Geoffrey Kruse2-0/+366
2022-05-02ideviceinfo: Make sure all error messages go to stderrGravatar Nikias Bassen1-2/+2
Thanks to @Takuro-Ito for pointing this out.
2022-05-01idevicebackup2: Fix command line option parsing not processing the backup ↵Gravatar Nikias Bassen1-2/+0
directory
2022-04-30[clang-tidy] Do not use else after returnGravatar Rosen Penev5-33/+40
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-30tools: Use getopt for option parsing in all toolsGravatar Nikias Bassen18-1079/+1180
2022-04-24idevicedebug: Fix bad comparison between pointer and integerGravatar Nikias Bassen1-8/+8
This was introduced with commit c461e6d76b27b11284dda66316263696d5266764 where I manually merged some changes and for some reason used NULL instead of 0 as a comparison of str*cmp.
2022-04-22[clang-tidy] Fix bugprone string compareGravatar Rosen Penev3-11/+11
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] add parentheses to macrosGravatar Rosen Penev1-1/+1
Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] idevicebackup: Fix bad floating point castGravatar Rosen Penev1-3/+2
Found with bugprone-integer-division Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] use const pointer parameterGravatar Rosen Penev2-2/+2
Found with readability-non-const-parameter Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] idevicebackup2: use uppercase numeric literalsGravatar Rosen Penev1-1/+1
Found with readability-uppercase-literal-suffix Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22idevicebackup2: Allow passing backup password via environment variableGravatar Nikias Bassen1-4/+38
2022-04-02idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle IDGravatar Nikias Bassen1-2/+25
2022-04-02idevicedebug: Improve code readability and fix kill on stopGravatar Nikias Bassen1-190/+200
2022-03-29idevicedebug: Use getopt for option parsingGravatar Nikias Bassen1-67/+89
2022-03-29idevicedebug: Use log_debug instead of debug_infoGravatar Nikias Bassen1-1/+1
2022-03-29Reset receive params before killingGravatar Ben Wagner1-0/+5
2022-03-29FormatGravatar Ben Wagner1-22/+28
2022-03-29More fixesGravatar Ben Wagner1-4/+8
2022-03-29Handle abortGravatar Ben Wagner1-1/+9
2022-03-29Fix compileGravatar Ben Wagner1-1/+1
2022-03-29Add timeout and interrupt handling to debugserver. Fix ↵Gravatar Ben Wagner1-66/+34
debugserver_client_handle_response
2022-03-29Fix exit status logicGravatar Ben Wagner1-8/+4
2022-03-29implement as documentedGravatar Ben Wagner1-17/+18
2022-03-29fix zero statusGravatar Ben Wagner1-12/+14
2022-03-29idevicedebug: Process "Wxx" response as "exited with code xx"Gravatar Ben Wagner1-1/+1
2022-03-29idevicedebug: Process "Wxx" response as "exited with code xx"Gravatar Ben Wagner1-12/+32
2022-03-29idevicecrashreport: Allow filtering crash reports by filenameGravatar Vyacheslav Frolov1-3/+18
Allows to filter crash reports by filename and copy only matching crash reports. $ idevicecrashreport -u 00008020-001234 --filter MyApplication crash_reports Move: /MyApplication-2019-07-29-164320.ips This allows significantly improve speed of collecting only required crash reports.
2022-03-29idevicedebugserverproxy: Allow binding to any available portGravatar Elias Naur1-8/+18
To eliminate crosstalk between multiple proxies and their clients, add support for binding to any free port provided by the OS to idevicedebugserverproxy. To bind to any port, leave out the port argument to idevicedebugserverproxy. In that case, the proxy will print out a line with the port so clients can connect to it. This is useful for a CI macOS host with multiple iDevices connected, and where many independent tests each want their own proxy instance connected to a particular device.
2022-03-29idevicedate: win32: Use %#d instead of %e for strftime format stringGravatar Nikias Bassen1-0/+4
2022-03-29idevicedebug: Terminate QSetLogging commandGravatar Shane Garrett1-1/+1
The debugserver command to set logging, QSetLogging, needs to be terminated with a ';' for it to be processed.
2022-03-29idevicedebug: Only decode response if not OK, otherwise it may cause a ↵Gravatar Greg Dennis1-1/+3
buffer overrun Only decode the response if it's not OK, otherwise the O in "OK" can be interpreted as a hexadecimal and cause a buffer overrun.
2022-03-29idevicedebug: Gracefully fail on invalid bundle IDsGravatar Greg Dennis1-1/+7
2022-03-29tools: Correct misspelled directionary -> dictionary in function nameGravatar Nikias Bassen1-2/+2
2022-02-09Add support for wireless pairingGravatar Nikias Bassen1-6/+179
2022-02-04tools: Print meaningful error messages when service startup failsGravatar Nikias Bassen8-20/+34
2022-02-04tools/idevicebackup2: Make sure RemoveItemsNotRestored is always set in ↵Gravatar Nikias Bassen1-3/+2
restore options
2022-02-01tools: Add two more domains to ideviceinfo to prevent unnecessary warningGravatar Nikias Bassen1-0/+2
2021-09-04tools: Fix 'DSO missing from command line' when linking idevicepair on LinuxGravatar Nikias Bassen1-1/+1
2021-09-01Remove common code in favor of new libimobiledevice-glueGravatar Nikias Bassen9-115/+47
2021-07-30tools/idevicebackup2: Move some declarations to the start of main functionGravatar Nikias Bassen1-6/+7
2021-07-30tools: idevicebackup2: Exit on service startup failure and improve error ↵Gravatar Nikias Bassen1-6/+14
messages
2021-07-27Add support for MbedTLSGravatar Nikias Bassen2-88/+65
2021-05-25tools/idevicecrashreport: Fix illegal filenames on WindowsGravatar zecops-team1-0/+8
Replace every ':' with '-' since ':' is an illegal character for file names on Windows
2021-04-06tools: Fix usage of LDFLAGS and LDADD.Gravatar orbea1-20/+20
Signed-off-by: orbea <orbea@riseup.net>
2021-03-05tools: Fix entering recovery mode on iOS 14.5+ which now requires a pairingGravatar Nikias Bassen1-8/+20
2021-02-17Remove redundent `select` call from idevicedebugserverproxy.cGravatar Nisarg Jhaveri1-9/+2
- Turns out `socket_receive` anyway internally calls `select` again. Use `socket_receive_timeout` instead. - Remove logging for timeout in socket.c as well, it is not really an error condition
2021-02-03tools: Flip order of winsock2.h and windows.h in idevicedebugserverproxy to ↵Gravatar Nikias Bassen1-1/+1
get rid of compiler warning
2021-02-03tools: Fix delays in idevicedebugserverproxy when using SSLGravatar Nikias Bassen1-23/+23
Turns out using select() wasn't the best idea for the debugserver connection. libimobildevice already does select internally, and doing it here again would cause delays especially when transferring larger amounts of data.