Looking for the "strings" command from *nix, but as a Java API. Does such a library or JAR exist? I've automated calling the strings *nix command, but would like to explore reverse engineering Java APIs / libraries.

  • Strings shouldn't be that difficult to completely reimplement in Java. Just keep a buffer of printable chars, print if you find u0000, clear if you find something non-printable. Repeat until all bytes of the binary are read.
    – Col-E
    Feb 1 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.