summaryrefslogtreecommitdiffstats
path: root/dexdump
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-03-09 17:40:41 -0800
committerDan Bornstein <danfuzz@android.com>2011-03-09 17:40:41 -0800
commit9ea32b0a0fa0eb4c4bfcd73f0c7fe15ddb0f9ce2 (patch)
treed36cd42d0d44126e4d115adee67e2bc5cacc3f3d /dexdump
parentaf06c40f24a00e0662899405d24b2813cc0690a4 (diff)
downloadandroid_dalvik-9ea32b0a0fa0eb4c4bfcd73f0c7fe15ddb0f9ce2.tar.gz
android_dalvik-9ea32b0a0fa0eb4c4bfcd73f0c7fe15ddb0f9ce2.tar.bz2
android_dalvik-9ea32b0a0fa0eb4c4bfcd73f0c7fe15ddb0f9ce2.zip
A bit of libdex spring cleaning.
Give the UTF-8 parsing/validation code and the debug info decoder their own files in libdex. Also, moved the random utility dexRoundUpPower2() so it wasn't in the middle of unrelated stuff (though maybe it doesn't want to stay in DexFile.c at all). Change-Id: I115447e49904e2440dd538b1df90616ea95707a9
Diffstat (limited to 'dexdump')
-rw-r--r--dexdump/DexDump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dexdump/DexDump.c b/dexdump/DexDump.c
index 914f49fd9..93534714f 100644
--- a/dexdump/DexDump.c
+++ b/dexdump/DexDump.c
@@ -29,14 +29,17 @@
* - no generic signatures on parameters, e.g. type="java.lang.Class&lt;?&gt;"
* - class shows declared fields and methods; does not show inherited fields
*/
+
#include "libdex/DexFile.h"
+
+#include "libdex/CmdUtils.h"
#include "libdex/DexCatch.h"
#include "libdex/DexClass.h"
+#include "libdex/DexDebugInfo.h"
#include "libdex/DexOpcodes.h"
#include "libdex/DexProto.h"
#include "libdex/InstrUtils.h"
#include "libdex/SysUtil.h"
-#include "libdex/CmdUtils.h"
#include <stdlib.h>
#include <stdio.h>