Commit Graph

84 Commits

Author SHA1 Message Date
ptitSeb
4081890a94 Ajusted REX 0F B6 opcode, as 32bits access to regs always wipe upper part 2021-03-05 12:26:11 +01:00
ptitSeb
18b4c66d36 Added REX 63 MOVSXD opcode 2021-03-05 12:14:01 +01:00
ptitSeb
8ef63665f4 Added REX 0F 80..8F Jcc opcodes 2021-03-05 12:09:26 +01:00
ptitSeb
93ae439454 Added REX 88 MOV opcode and adjusted REX 8B one 2021-03-05 12:06:51 +01:00
ptitSeb
48e28bfdc5 Adjusted 89 and 8B opcode to clear upper part of regs when ED is a reg 2021-03-05 12:01:49 +01:00
ptitSeb
4278ca8b80 Small change in wrapped function trace 2021-03-05 12:01:12 +01:00
ptitSeb
2b7d375191 Added REX 0F B6 MOVZX opcode 2021-03-05 11:21:00 +01:00
ptitSeb
4d02ba25f1 Added calloc and free wrapped functions 2021-03-05 11:16:17 +01:00
ptitSeb
386479f408 Added REX 0F 40..4F CMOVcc opcodes 2021-03-05 11:12:48 +01:00
ptitSeb
0bf9a5af34 Fixed PltResolver slot handling 2021-03-05 11:00:23 +01:00
ptitSeb
3da0e6c633 Added REX 0F AF IMUL opcodes 2021-03-05 10:42:40 +01:00
ptitSeb
57730a4b14 Added EB JMP opcode 2021-03-05 10:34:37 +01:00
ptitSeb
5b5c77223d Fixed va_list handling on aarch64 2021-03-05 10:32:01 +01:00
ptitSeb
f93ef5a7db A bit more work on va_list handling 2021-03-05 10:29:34 +01:00
ptitSeb
7716633bf7 Added printf wrapped function and some VA_ARG work 2021-03-05 10:16:02 +01:00
ptitSeb
2e3c25f8e1 Fixed __libc_start_main emulation 2021-03-04 21:48:03 +01:00
ptitSeb
68d4683010 Added REX 98 CWDE/CDQE opcode 2021-03-04 21:47:40 +01:00
ptitSeb
3bcb9e0f38 Added puts wrapped function (and test03 works) 2021-03-04 21:33:01 +01:00
ptitSeb
234186e9af Added C9 LEAVE opcode (and test02 works too) 2021-03-04 21:26:55 +01:00
ptitSeb
cb24986c88 Added C syscall wrapper 2021-03-04 21:25:14 +01:00
ptitSeb
f21224bffb Fix injection of PLT Resolver 2021-03-04 21:18:44 +01:00
ptitSeb
67e64bfcf8 Added 68 PUSH Id opcode 2021-03-04 21:09:36 +01:00
ptitSeb
c60b4daed4 Added R_X86_64_JUMP_SLOT to RelA relocation handling 2021-03-04 21:05:23 +01:00
ptitSeb
bae73adf3e Added 0F 05 SYSCALL opcode (and test01 works now) 2021-03-04 20:39:11 +01:00
ptitSeb
be8204d8fa Added REX C6 MOV opcode 2021-03-04 20:37:07 +01:00
ptitSeb
4b86945fff Added REX C7 MOV opcode 2021-03-04 20:35:56 +01:00
ptitSeb
3f025f1310 Added REX B8..BF MOV opcodes 2021-03-04 20:32:25 +01:00
ptitSeb
b3f3a2b30c Added REX 38..3D CMP opcodes 2021-03-04 20:24:30 +01:00
ptitSeb
50398acc97 Added REX D1/D3 opcodes 2021-03-04 20:17:43 +01:00
ptitSeb
2e81d8ba80 Added E9 JMP opcode 2021-03-04 20:15:07 +01:00
ptitSeb
f2a9066697 Added 0F 1F NOP opcode 2021-03-04 20:11:06 +01:00
ptitSeb
ad05515b70 Fixed an issue with GetECommon and REX.b 2021-03-04 20:07:02 +01:00
ptitSeb
e19267dea2 Added REX C1 opcodes 2021-03-04 18:01:43 +01:00
ptitSeb
d8551567ed Added C3 RET opcode 2021-03-04 17:56:39 +01:00
ptitSeb
004c360720 Added 70..7F Jcc opcoces 2021-03-04 17:55:13 +01:00
ptitSeb
905f5e97bb Fixed those 2 functions declarations 2021-03-04 17:54:48 +01:00
ptitSeb
aeca62699e Added REX 85 TEST opcode 2021-03-04 17:52:05 +01:00
ptitSeb
d48da61142 Added REX 8B opcode 2021-03-04 17:49:33 +01:00
ptitSeb
2a99644638 Added E8 CALL opcode 2021-03-04 17:46:05 +01:00
ptitSeb
73332983fc Added first attempt at function wrapping 2021-03-04 17:33:03 +01:00
ptitSeb
292897da46 Preparing to execute wrapped function 2021-03-04 13:02:45 +01:00
ptitSeb
c24149e40f Added REX FF opcodes 2021-03-04 12:18:40 +01:00
ptitSeb
2101c52e2d Added REX 8D LEA opcode 2021-03-04 12:00:04 +01:00
ptitSeb
abb74f7f76 Added REX 81/83 opcodes 2021-03-04 11:56:06 +01:00
ptitSeb
ca9ca0ca48 Added Rex 50..5F PUSH/POP opcodes 2021-03-04 11:45:27 +01:00
ptitSeb
2aa303bb02 Fix REX handling and added REX 89 opcode 2021-03-04 11:35:56 +01:00
ptitSeb
9613868aa4 First x86_64 opcode executed :) 2021-03-04 11:21:26 +01:00
ptitSeb
8cccb02e6b Not sure yet on what registers are expected thoses variables 2021-03-04 11:19:55 +01:00
ptitSeb
0ac4f5483d Preparing defered flags handling 2021-03-04 10:09:25 +01:00
ptitSeb
1e971dde99 A bit more work on syscall, to avoid old deprecated ones 2021-03-04 09:39:25 +01:00