summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Penev14-127/+133
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-30tools: Use getopt for option parsing in all toolsGravatar Nikias Bassen20-1081/+1182
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 Penev9-20/+20
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-22[clang-tidy] add parentheses to macrosGravatar Rosen Penev5-8/+8
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 Penev3-3/+3
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-22Fix a few inconsistent declarationsGravatar Nikias Bassen2-9/+6
2022-04-22idevice: Fix mistreatment of 0-byte sent casesGravatar Li Beinan1-1/+4
Currently if 0 byte gets sent, it is treated as not-enough-data. This is wrong, because with TCP, 0-byte-sent usually means the receiver end is closed. We must set a new case for this and must not normalize the sent-bytes to 0 in general.
2022-04-22idevicebackup2: Allow passing backup password via environment variableGravatar Nikias Bassen2-7/+53
2022-04-12Suppress some doxygen warnings by removing obsolete entries from config fileGravatar Nikias Bassen1-52/+2
2022-04-12Add property_list_client_get_service_client() and service_get_connection() ↵Gravatar Nikias Bassen4-4/+40
functions This allows for custom service implementations to easier switch to non-plist communication after the service has been started.
2022-04-12Documentation fixesGravatar Nikias Bassen26-86/+177
2022-04-04Updated README with pkg-config requirementGravatar Nikias Bassen1-1/+2
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-04-01include: Update endianness.h with changes from limd-glueGravatar Nikias Bassen1-2/+2
The changes don't affect libimobiledevice itself but I don't want to have different versions of the same file across multiple repositories :)
2022-03-29idevice: Fix debug message showing function name twiceGravatar Nikias Bassen1-1/+1
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-29Remove buggy and redundant debug outputGravatar Ben Wagner1-2/+0
2022-03-29Handle connection failures in debugserver_client_receive_response; also ↵Gravatar Ben Wagner1-92/+85
simplify the code
2022-03-29Reset receive params before killingGravatar Ben Wagner1-0/+5
2022-03-29FormatGravatar Ben Wagner3-31/+43
2022-03-29More fixesGravatar Ben Wagner1-4/+8
2022-03-29Handle abortGravatar Ben Wagner1-1/+9
2022-03-29Fix compileGravatar Ben Wagner2-2/+2
2022-03-29Add timeout and interrupt handling to debugserver. Fix ↵Gravatar Ben Wagner4-70/+74
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-29debugserver: Check return value of asprintf to eliminate compiler warningsGravatar Baodong Chen1-6/+14
2022-03-29idevicecrashreport: Allow filtering crash reports by filenameGravatar Vyacheslav Frolov2-3/+21
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-293rd_party/libsrp6a: Add windows.h because Windows is weirdGravatar Nikias Bassen1-0/+1
2022-03-29idevicedebugserverproxy: Allow binding to any available portGravatar Elias Naur2-9/+20
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-29reverse_proxy: Add asprintf.h include to make sure vasprintf is available on ↵Gravatar Nikias Bassen2-0/+3
Windows
2022-03-29reverse_proxy: Make sure ECONNRESET and ETIMEDOUT are definedGravatar Nikias Bassen1-1/+7
2022-03-29idevice: win32: Add winsock2.h include for struct sockaddr_storageGravatar Nikias Bassen1-4/+5
2022-03-29idevice: Make sure ECONNREFUSED is definedGravatar Nikias Bassen1-0/+4
2022-03-29common: Make sure ETIMEDOUT is definedGravatar 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-03-25afc: Some minor code polishingGravatar Nikias Bassen1-24/+25