DEXDEPS(1)

πŸ“¦
version 10.0.0+r36 Β· 2 versions
, in ubuntu jammy, ubuntu noble

πŸ’– DEXDEPS(1) πŸ’–

okay bestie, sit down, because we're talking about dexdeps β€” the DEX external dependency dump, and she is lowkey iconic.


✨ NAME ✨

dexdeps β€” DEX external dependency dump πŸ¦‹


🌸 SYNOPSIS 🌸

dexdeps options <file.{dex,apk,jar}> ...

like. you give her options. you give her files. she gives you the tea. periodt.


πŸ’… DESCRIPTION πŸ’…

so here's the vibe: the dexdeps tool dumps a list of fields and methods that a DEX file uses but does not define. that's it, that's the whole job, and she does it flawlessly no cap.

and the way that this is actually useful?? when you combine it with a list of public APIs, it can be used to determine whether an APK is accessing fields and calling methods that it shouldn't be. sneaky little APK behaviour, caught in 4K. πŸ“Έ

it may also be useful in determining whether an application requires a certain minimum API level to execute β€” which is genuinely so helpful, iykyk.

heads up for zip archives (including .jar and .apk): dexdeps will look for a "classes.dex" entry. she's not digging through your whole zip, she knows exactly where to look. πŸ’…

✨ OPTIONS ✨

  • --format={brief,xml} β€” specifies the output format, and you have two whole choices bestie:
    • "brief" produces one line of output for each field and method. Field and argument types are shown as descriptor strings. quick, snappy, to the point. it's giving minimalism. πŸŽ€
    • "xml" produces a larger output file, readable with an XML browser. Types are shown in a more human-readable form β€” like, for example, "[I" becomes "int[]". so if you want the glow-up version of your types, this is the one. ✨
  • --just-classes β€” indicates that output should only include a list of classes, as opposed to also listing fields and methods. sometimes you just want the roster and not the whole group chat, and honestly? valid. πŸ’œ

πŸ‘‘ AUTHORS πŸ‘‘

The Android Open Source Project. absolute legends, we love them, no notes. 🫢


and that's the whole page bestie β€” you're officially a dexdeps girlie now, go dump some dependencies and stay slay. πŸ’–

this has been dexdeps(1), brought to you by the Android Open Source Project β€” mwah, take care of her. πŸŽ€βœ¨

πŸ“¦ where this page comes from