sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.46k stars 854 forks source link

Print []byte (byte array) in hexdump format instead of array of numbers #429

Closed aj3423 closed 3 months ago

aj3423 commented 3 years ago

Is your feature request related to a problem? Please describe. When printing function arguments or return values, print byte array in hexdump format instead of [-111, 2, 33, ....]

Describe the solution you'd like Hexdump like Frida's console.log(hexdump(data, { length: data_len, header: false, ansi: true }));

Describe alternatives you've considered none

Additional context none

leonjza commented 3 years ago

We could add a flag that dumps hex instead of parsed values yeah. Happy to accept a PR!