Open kmalmur opened 4 years ago
When trying to use the dumpapp script with some really long arguments (exceeding 65535 characters), I get the following error:
struct.error: 'H' format requires 0 <= number <= 65535
Example usage: dumpapp setvalue value_key value_base64_exceeding_65535_characters
dumpapp setvalue value_key value_base64_exceeding_65535_characters
Seems like the python scripts uses an unsigned short for encoding the argument length: https://github.com/facebook/stetho/blob/5cc93ec78908cdded19c5352a90635a33cf2fa7f/scripts/dumpapp#L42
unsigned short
Is there any way I can modify the script to support longer arguments or is it a protocol limitation and requires the plugin update as well?
When trying to use the dumpapp script with some really long arguments (exceeding 65535 characters), I get the following error:
struct.error: 'H' format requires 0 <= number <= 65535
Example usage:
dumpapp setvalue value_key value_base64_exceeding_65535_characters
Seems like the python scripts uses an
unsigned short
for encoding the argument length: https://github.com/facebook/stetho/blob/5cc93ec78908cdded19c5352a90635a33cf2fa7f/scripts/dumpapp#L42Is there any way I can modify the script to support longer arguments or is it a protocol limitation and requires the plugin update as well?