Commit Graph

239 Commits

Author SHA1 Message Date
07fe0d63a7 Always decode unknown instructions as "db" (single-byte) 2011-09-27 22:33:10 +00:00
6f523f4836 Architecture plug-ins should be able to (de)initialize 2011-09-27 22:11:02 +00:00
00a21348cb Re-generated Makefiles 2011-09-16 11:54:13 +00:00
7d9a5f5dd7 Re-generated Makefiles 2011-09-16 11:36:26 +00:00
eea682f7fd Re-generated Makefiles 2011-09-16 10:19:40 +00:00
1ed2fb51a1 Tracing function calls 2011-09-06 22:00:15 +00:00
cfe1768474 Added a peek() helper and passing the base address through the "call" pointer 2011-09-03 20:21:25 +00:00
98576fdf6d Better decoding of some instructions 2011-09-03 20:20:31 +00:00
5c080712de Added some instructions 2011-09-03 20:18:19 +00:00
d43e27eb8d Let the arch plug-ins know the current base address when decoding instructions 2011-08-31 16:19:07 +00:00
6bfdb88736 Mark the first argument to the "call" instruction as referring to a function 2011-08-31 16:15:38 +00:00
69fb6897c9 Temporary fix to decode some amd64 in a more accurate way 2011-08-31 16:14:49 +00:00
4068b60e1a Much improved ARM support 2011-06-16 07:59:59 +00:00
0b81e9475d Improving ARM support 2011-06-14 23:10:08 +00:00
a88be030a1 Improving ARM support 2011-06-14 22:46:24 +00:00
281dd9d9c4 Code cleanup 2011-06-14 22:42:53 +00:00
b2120b5582 Improving ARM support 2011-06-14 22:34:49 +00:00
221bad8794 Improving ARM support 2011-06-14 22:25:24 +00:00
2851fcfcde Improving ARM support 2011-06-14 22:03:46 +00:00
106f0ca2c0 Code cleanup 2011-06-14 14:51:49 +00:00
776053e805 Much improved ARM support 2011-06-14 14:48:01 +00:00
b7fb506f00 Improving ARM support 2011-06-12 15:55:26 +00:00
b67b0d0eff Improving ARM support 2011-06-12 15:41:16 +00:00
d655dbda03 Improving ARM support 2011-06-12 15:33:48 +00:00
42e41651da Improving ARM support 2011-06-12 15:27:56 +00:00
c45018e465 Improving ARM support 2011-06-12 15:03:26 +00:00
2b85e9fddc Improving ARM support 2011-06-12 12:30:27 +00:00
03f5786aca Improving ARM support 2011-06-12 12:14:51 +00:00
b46fad75cd Improving ARM support 2011-06-12 00:39:19 +00:00
b815fb7805 Improving ARM support 2011-06-12 00:23:03 +00:00
8845d2de76 Improving ARM support 2011-06-12 00:06:56 +00:00
ad6348c38e Getting the first ARM opcodes right 2011-06-11 23:47:45 +00:00
baa8076906 Beginning to truly implement ARM support 2011-06-11 23:33:55 +00:00
74130f88fe Added stub files for ARM support as well 2011-06-09 18:05:05 +00:00
fe28af3bed Added stubs for mips support 2011-06-08 01:13:47 +00:00
7edc2f2b6a Added the "nop" instruction for sparc{,64} 2011-06-04 13:16:36 +00:00
95ababcdfa Ignore some errors while disassembling sparc{,64} binaries 2011-06-04 02:38:47 +00:00
44a9c15a29 Beginning to disassemble sparc{,64} binaries 2011-06-04 02:34:36 +00:00
670529b5a5 Fixed output of the "db" class of instruction 2011-05-08 17:35:27 +00:00
78568e9995 Fixed sizes for the "db", "dw", "dl" and "dq" instructions 2011-05-08 17:21:03 +00:00
5ecfa2ce56 Identifying more calls 2011-05-08 00:23:35 +00:00
f193041208 Defined a few more arguments as indexes to method names 2011-05-08 00:15:19 +00:00
9e598335ea Implemented a few more instructions and prefixes 2011-05-08 00:08:44 +00:00
fa4f93e29f Fixed and added a few instructions 2011-05-07 23:43:12 +00:00
266f4c2682 Fixed semantics of type vs definition for ArchOperands 2011-05-02 01:08:21 +00:00
8c4cb8cce7 Use the predefined macros 2011-05-01 13:47:47 +00:00
955abacfb1 Exposing the Code class to both Arch and Format to avoid defining callbacks 2011-04-29 05:51:36 +00:00
25dce8d5bf Allow immediate values to reference string indexes 2011-04-28 07:51:45 +00:00
39de4b15fd Added a few instructions 2011-04-28 06:24:10 +00:00
e7c3dc36b2 Added more i386 instructions 2011-04-25 16:19:24 +00:00
a76056547a Still adding jump instructions 2011-04-25 16:03:15 +00:00
7e14e3759a Added some more jump instructions 2011-04-25 16:01:57 +00:00
0f27c79d03 Added a few jump instructions 2011-04-25 15:58:30 +00:00
9176288890 Much work on better support for disassembling the Mod R/M byte 2011-04-25 06:16:07 +00:00
95b8ad869b Disassembling i386 now has many more chances to complete 2011-04-25 03:14:48 +00:00
d3b506a52b Still working on i386 disassembly 2011-04-25 02:44:54 +00:00
59d9af1dd8 Improving i386 disassembly some more 2011-04-25 02:29:16 +00:00
4f328cb963 Added a mnemonic for the "call" instruction 2011-04-25 01:46:58 +00:00
37edc4e721 Disassembling some more i386 2011-04-25 01:37:10 +00:00
fbf01a7e91 Added two mnemonics for the "mov" instruction 2011-04-25 01:24:18 +00:00
e65c36ce04 Added the "jmp" instruction 2011-04-25 01:08:56 +00:00
98faecff40 Slightly improved i386 instruction decoding 2011-04-25 01:02:27 +00:00
62978f4e08 Probably solved an endian issue 2011-04-24 16:46:26 +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
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
c0a0820fe4 Also decode immediate values to some extent 2011-04-23 16:48:15 +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
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
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
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