File: roundtrip

package info (click to toggle)
libsmali-java 2.5.2.git2771eae-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 9,136 kB
  • sloc: java: 47,715; sh: 232; xml: 60; ansic: 46; makefile: 6
file content (17 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

! test -d out

baksmali disassemble debian/tests/urzip.apk
test -e out/info/guardianproject/urzip/UnZipper.smali

smali assemble out/info/guardianproject/urzip/
test -e out.dex

# dexdump is not available on all arches
if which dexdump; then
    dexdump out.dex | grep Linfo/guardianproject/urzip/UnZipper
elif uname --kernel-release | grep amd64; then
    echo amd64 should always have dexdump!
    exit 1
fi