Commit Graph

302 Commits

Author SHA1 Message Date
887cec89da Avoided a warning 2011-04-24 16:43:11 +00:00
99240a31be Improved the disassembly output again 2011-04-24 16:42:24 +00:00
9229d32d41 Improving disassembly support for the amd64 architecture 2011-04-24 04:57:13 +00:00
360afd3ad1 Report more errors 2011-04-24 04:56:31 +00:00
4d8a6ee281 Code cleanup 2011-04-24 03:39:11 +00:00
2d9240b494 Code cleanup 2011-04-24 03:23:57 +00:00
0dce6d04ce Fixed a potential invalid array access 2011-04-24 03:23:25 +00:00
79e248b195 Improving Dalvik again 2011-04-24 03:10:53 +00:00
85fcaa2e01 Minor improvements to Dalvik disassembly 2011-04-24 02:46:12 +00:00
4fd35ba7cc Mostly fixed the Dalvik disassembly table 2011-04-23 23:42:40 +00:00
3a7bc16298 Improved the Dalvi diassembly and output some more 2011-04-23 23:20:09 +00:00
442efe1151 Disassembling some more Dalvik 2011-04-23 21:49:35 +00:00
e243a69199 Disassembling some more Dalvik 2011-04-23 21:20:12 +00:00
5e227be104 Disassembling some more Dalvik 2011-04-23 21:06:48 +00:00
a4c030b500 Beginning to decode Dalvik instructions again 2011-04-23 20:50:52 +00:00
e17f8ddb46 Fixed double fclose() 2011-04-23 19:44:51 +00:00
4a5f818e46 Code cleanup 2011-04-23 18:48:08 +00:00
940b858a84 Improving the output 2011-04-23 17:48:37 +00:00
383ca51178 Beginning to disassemble files again 2011-04-23 17:40:05 +00:00
c0a0820fe4 Also decode immediate values to some extent 2011-04-23 16:48:15 +00:00
53e6e6690f Code cleanup 2011-04-23 16:47:49 +00:00
b67bb1ad90 Better handling of the temporary "db" substitution instruction 2011-04-23 07:48:57 +00:00
8a24516f7f Decoding some more i386 2011-04-23 07:46:35 +00:00
41e423407f Return "db" when more convenient for the moment 2011-04-23 06:40:42 +00:00
91ecd5ab54 Beginning to be useful as a disassembler again 2011-04-23 06:09:06 +00:00
4bd2f1c684 Compile with the -g flag set 2011-04-23 06:08:18 +00:00
73174d63c3 Compile with the -pedantic flag set 2011-04-23 06:07:22 +00:00
1e046db958 Fixed compilation in debugging mode 2011-04-23 06:06:34 +00:00
b56d0f3f4e Preparing to support disassembly again 2011-04-23 03:51:39 +00:00
53d6f4cbc3 Re-introducing support for the amd64 architecture 2011-04-23 03:11:00 +00:00
1f6ffd20a0 Got rid of a warning 2011-04-23 03:02:32 +00:00
a8407ddd19 Using helper callbacks to write assembly instructions 2011-04-23 03:01:55 +00:00
26777f9856 Got rid of some compilation warnings 2011-04-23 01:14:04 +00:00
438ef5939a Beginning to encode and test Dalvik instructions again 2011-04-23 01:12:37 +00:00
c4aef2db4f The encoding of instructions of slightly more correct 2011-04-23 01:11:20 +00:00
47efb56960 Completed the instruction list for the Dalvik architecture (need be checked) 2011-04-22 23:17:16 +00:00
aeab2aa627 Re-introducing support for the Dalvik architecture 2011-04-22 22:52:50 +00:00
7b7ecbcb58 Code cleanup 2011-04-22 22:51:25 +00:00
24836cadfd Re-introducing support for the Java architecture 2011-04-22 17:53:02 +00:00
a932a7fc54 Fixed the file information 2011-04-22 17:28:41 +00:00
2bb09ddb7d Using callbacks for file operations 2011-04-22 02:29:44 +00:00
0f1d52fbb9 Avoid a couple of warnings 2011-04-21 19:28:03 +00:00
fae68e5fd1 Re-introducing support for the sparc64 architecture 2011-04-21 19:20:50 +00:00
8ebf1b07af Also implemented branching instructions 2011-04-21 17:03:21 +00:00
f8312d08fb Encoding instructions for integer operations as well 2011-04-21 16:39:36 +00:00
33039927e3 Now encoding sethi instructions as well 2011-04-21 16:28:35 +00:00
9b692011ca Encoding "load and store" instructions much better already 2011-04-21 16:16:07 +00:00
b2a710ed6f The format plug-ins need libSystem to compile too 2011-04-21 00:49:34 +00:00
4e808a815e The arch plug-ins depend on libSystem to compile 2011-04-21 00:48:00 +00:00
bbe4db81cf Added the "fyl2xp1" and "hlt" instructions 2011-04-20 00:38:01 +00:00
ccb676dc53 Added the "in" instruction 2011-04-20 00:35:04 +00:00
50cef996e6 Added the "inc" instruction 2011-04-20 00:30:43 +00:00
c1ea0b8cd9 Still let "int $3" be output as two bytes and added the "int3" instruction 2011-04-20 00:25:12 +00:00
1490b7a0f8 Added the "insb", "insw" and "insd" instructions 2011-04-20 00:20:50 +00:00
79a1a18406 Fixed handling of constants 2011-04-20 00:19:52 +00:00
b15f7b60fe Fixed handling of the AOF_IMPLICIT flag 2011-04-20 00:11:36 +00:00
a3402c25d7 Added the "int", "into", "invd", "iret", "iretd", "lahf" and "leave" instructions 2011-04-20 00:05:00 +00:00
e1a786327b Handle (implicit) constant values as well 2011-04-20 00:04:17 +00:00
4b0269c881 Properly matching constant values 2011-04-20 00:03:53 +00:00
2aaa34e124 Added the "lock", "lodsb", "lodsd", "lodsw", "loop", "loope", "loopne", "loopnz" and "loopz" instructions 2011-04-19 23:28:38 +00:00
fb58a25507 Added the "movd" instruction 2011-04-19 23:05:58 +00:00
2e8a3235b8 Added the "movq" instruction 2011-04-19 23:02:19 +00:00
fd22e83f7d Added the "movsb" and "movsd" instructions 2011-04-19 22:52:23 +00:00
780f33e8d9 Added the "mul" instruction 2011-04-19 22:47:44 +00:00
22f4e5efd4 Added the "neg" instruction 2011-04-19 22:45:57 +00:00
dc0ef0b8d1 Added the "not" instruction 2011-04-19 22:44:30 +00:00
0c242bf1a8 Added the "or" instruction 2011-04-19 22:39:52 +00:00
b5d59fbdaa Added the "out", "outsb", "outsd" and "outsw" instructions 2011-04-19 22:33:09 +00:00
f41af9429d Added the "fcom", "fcomp", "fcompp", "fcos" and "fdecstp" instructions 2011-04-19 20:02:44 +00:00
cc04acaa9c Added the "fdiv" and "fdivp" instructions (not complete yet though) 2011-04-19 19:51:40 +00:00
02eb799bbc Added the "fdivr" and "fdivrp" instructions 2011-04-19 19:34:00 +00:00
d0db1fc46c Added the "ffree" instruction 2011-04-19 19:19:00 +00:00
1eab4a6480 Added the "finit" and "fninit" instructions 2011-04-19 19:13:54 +00:00
6035c59379 Added the "fld" instruction (not complete yet) 2011-04-19 19:08:56 +00:00
ca1903cc39 Added the "fld1", "fld2t", "fld2e", "fldpi", "fldlg2", "fldln2", "fldz" and "fnop" instructions 2011-04-19 19:02:06 +00:00
a2381831b6 Added the "paddb", "paddd" and "paddw" instructions 2011-04-18 23:32:23 +00:00
908f8bb04f Added the "paddsb", "paddsw", "pand" and "pandn" instructions 2011-04-18 23:29:54 +00:00
ca55c53c6a Added the pop family of instructions 2011-04-18 23:24:22 +00:00
96bc81411b Added the "por" instruction (doesn't always work yet) 2011-04-18 23:15:19 +00:00
16003850ee Added some comments 2011-04-18 23:13:10 +00:00
a28ca014cc Added the push family of instructions 2011-04-18 23:11:06 +00:00
e0b1faf4c4 Trying to add the "pxor" instruction 2011-04-18 22:54:55 +00:00
cd05aec823 Added the "rdmsr" and "rdpmc" instructions 2011-04-18 22:18:04 +00:00
d3ac707bad Re-introduced support for the i586 variant of the i386 architecture 2011-04-18 22:12:51 +00:00
a308c18ee0 Added the "ret", "rsm" and "sahf" instructions 2011-04-18 22:06:18 +00:00
c4194014ab Fixed looking for the right instructions when there are no arguments 2011-04-18 22:05:40 +00:00
c5d171cf7e Added the "sbb", "scasb", "scasd" and "scasw" instructions 2011-04-18 21:54:51 +00:00
d419ed9137 Fixed a comment 2011-04-18 21:54:08 +00:00
883c719e89 Added the "sgdt" and "sidt" instructions 2011-04-18 21:18:59 +00:00
d5a189df1e Also allow negative offsets to registers (not implemented yet though) 2011-04-18 21:18:25 +00:00
16537081a7 Added the "shld" instruction and apparently fixed "shrd" as well 2011-04-18 21:10:53 +00:00
5edb9c5c9f The "cpuid" instruction was added in i486 2011-04-18 06:31:45 +00:00
8973221291 Added the "shrd" instruction (doesn't seem to work) 2011-04-18 06:30:43 +00:00
d39c9b525e Added the "stc" "std" "sti" "stosb" "stosw" and "stosd" instructions 2011-04-18 05:50:49 +00:00
06170c28f6 Added the "sub" instruction 2011-04-18 05:41:13 +00:00
3761dfe72e Added the "test" and "ud2" instructions 2011-04-18 05:27:23 +00:00
5863e7490b Be less strict when checking signed values 2011-04-18 05:06:04 +00:00
c10141ffed Added the "fwait", "wait" and "wbinvd" instructions 2011-04-18 04:48:37 +00:00
aa0980d7e7 Added the "wrmsr" instruction 2011-04-18 04:46:13 +00:00
0c62418851 Added the "xadd" instruction 2011-04-18 04:43:59 +00:00
299bfc910a Added the "xchg" instruction 2011-04-18 04:40:17 +00:00
5de28736a7 Added the "xlat" and "xlatb" instructions 2011-04-18 04:27:24 +00:00
10b1fb6b7a Hopefully gotten the "b" suffix right for "adc" "add" "and" and "xor" 2011-04-18 04:20:43 +00:00
a99e4e93c9 Added the "xor" instruction (some occurences may have to be suffixed with "b") 2011-04-17 21:01:19 +00:00
58cec31b9a Added the "fchs", "fclex" and "fnclex" instructions 2011-04-17 15:34:08 +00:00
3a46ad6684 Added the "fadd" and "faddp" instructions 2011-04-17 15:21:38 +00:00
377fe00791 Added the first couple of floating-point instructions 2011-04-17 14:35:05 +00:00
a70291ab2b Added the "enter" instruction 2011-04-17 14:03:12 +00:00
b6f891d8bf Added the "daa" instruction 2011-04-17 13:58:39 +00:00
2305fb47fd Added the "das" instruction 2011-04-17 13:57:10 +00:00
9bb7847caf Added the "dec" instruction 2011-04-17 13:55:11 +00:00
86dc27e426 Added the "div" instruction (with differentiation where required) 2011-04-17 13:40:58 +00:00
1bfda5e60b Report more errors 2011-04-17 13:40:20 +00:00
4859f66288 Re-introduced the i686 architecture 2011-04-17 13:18:51 +00:00
7bf3ab327f Added licensing information 2011-04-17 07:20:07 +00:00
8fa2c99d09 Still adding instructions to the i386 architecture 2011-04-17 07:13:08 +00:00
42844556a3 Added the "cld", "cli", "clts" and "cmc" instructions 2011-04-17 07:06:41 +00:00
d2231bbc2c Added the "clc" instruction 2011-04-17 07:03:23 +00:00
3f54a1eff2 Re-introduced support for the i386 architecture in real mode 2011-04-17 06:59:28 +00:00
bcbded6fcc Added the "bts" instruction 2011-04-17 06:47:49 +00:00
541978879d Added the "btr" instruction 2011-04-17 06:45:33 +00:00
ca06c3c933 Added the "btc" instruction 2011-04-17 06:42:50 +00:00
8684636812 Added the "bt" instruction 2011-04-17 06:40:31 +00:00
908840ccab i386 doesn't support the "bswap" instruction 2011-04-17 06:31:36 +00:00
d2b40c3379 Re-introducing support for the i486 architecture 2011-04-17 06:27:40 +00:00
cc628191ce Avoid a warning in debugging mode 2011-04-17 06:27:01 +00:00
cae11bd51a Added "bsf" and "bsr" (not encoded properly yet) 2011-04-17 06:06:32 +00:00
c689bf5ffc Added instructions for "and" 2011-04-17 05:59:50 +00:00
5754d2ddb5 Fixed signed values (which were always considered negative) 2011-04-17 05:59:11 +00:00
60b8d52248 Added some more instructions for "add" 2011-04-17 05:53:20 +00:00
bcd242e96c Referenced most occurences of the "adc" instruction by now 2011-04-17 05:48:04 +00:00
d1d16311a7 The "adc" instruction doesn't care for the signedness 2011-04-17 05:36:12 +00:00
59e1799a37 Adding the "add" instruction 2011-04-17 05:09:52 +00:00
c2783f0528 Documented a case that doesn't work in i386 2011-04-17 04:52:39 +00:00
c48d5cbd39 Apparently got the mod/rm /r and /[0-7] right for i386 2011-04-17 04:32:45 +00:00
e853ba8c28 Beginning to get the Mod R/M byte right (not considering the SIB at all) 2011-04-17 04:02:20 +00:00
0ff490e2a0 Fixed endian of opcodes for the i386 architecture 2011-04-17 00:35:18 +00:00
902c56d564 Fixed the helper for register definitions and some warnings 2011-04-17 00:15:24 +00:00
ed661daee0 Improving support for the i386 architecture again 2011-04-16 15:51:39 +00:00
7649d220c2 Fixed a dependency problem 2011-04-15 21:48:42 +00:00
95834007bc Letting each plug-in output instructions as it pleases 2011-04-15 18:48:08 +00:00
77f32dfab2 About to let each architecture plug-in output instructions itself 2011-04-15 02:53:38 +00:00
9e6b2bb0e9 Fixed build on Linux 2011-04-14 23:41:38 +00:00
7809f589b4 Improved support for the i386 architecture 2011-04-14 00:51:22 +00:00
a0f0317e3b Some fixes for i386 support 2011-04-13 16:31:33 +00:00
79f5ba0237 More improvements to the support for the i386 architecture 2011-04-13 16:08:51 +00:00
fd677cfe52 New name for the assembly binary 2011-04-13 16:06:28 +00:00
09d598f1ff Consider all sizes to be in bits instead 2011-04-13 14:43:26 +00:00
83e77c93bf Added a couple i386 instructions 2011-04-13 03:05:22 +00:00
15a7830b60 Consider the whole file is part of a ".data" section 2011-04-13 03:05:04 +00:00
dcb9ea2e6f Introducing the i386 plug-in again 2011-04-13 02:23:48 +00:00
9cf1514f63 Renaming the Devel as project to asm 2011-04-13 01:46:30 +00:00