summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2022-05-09Add new idevice_events_subscribe/unsubscribe API with contextGravatar Nikias Bassen2-4/+6
The older API idevice_event_subscribe/unsubscribe can only be used by a single instance. With the addition of a context, is is now possible to register multiple callback functions in different threads. For backwards compatibility the old API will still be available for a while before being removed in a future release.
2022-05-05idevicebtlogger: Fix typo in man page and code commentGravatar Nikias Bassen1-1/+1
2022-05-05idevicebtlogger: Some whitespace/coding style fixesGravatar Nikias Bassen1-27/+29
2022-05-05idevicebtlogger: remove dependency on libpcapGravatar Matthias Ringwald2-79/+106
2022-05-05idevicebtlogger: add --format option for 'pcap' and 'packetlogger'Gravatar Matthias Ringwald1-13/+93
2022-05-05idevicebtlogger: Minor cleanupGravatar Geoffrey Kruse1-0/+18
2022-05-05idevicebtlogger: Simplify by using bt_packet_logger_client_start_service()Gravatar Geoffrey Kruse1-33/+2
2022-05-05idevicebtlogger: Switch to using DLT_BLUETOOTH_HCI_H4_WITH_PHDR (201) and ↵Gravatar Geoffrey Kruse1-3/+20
capture direction for better decoding in wireshark.
2022-05-05idevicebtlogger: Remove debug printing codeGravatar Geoffrey Kruse1-8/+0
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