Commit Graph

5041 Commits

Author SHA1 Message Date
ptitSeb
2c7df9c1fd A few more instructions 2018-12-18 09:09:02 +01:00
ptitSeb
46308d7f02 Fixed Pop and Pop16 2018-12-18 09:08:47 +01:00
ptitSeb
b86117ea07 more instructions, and fixed to GetEd/GetEw/GetEb 2018-12-18 08:55:07 +01:00
ptitSeb
51adbe593e Added asm syscall support 2018-12-18 08:43:27 +01:00
ptitSeb
532106f2df More x86 instructions 2018-12-17 23:24:44 +01:00
ptitSeb
7697e69890 Factorized random thingy 2018-12-17 22:35:58 +01:00
ptitSeb
43cd419165 A few more x86 intruction, and hack to have working Stack Protector (putting Canary in GS:0x14) 2018-12-17 19:52:15 +01:00
ptitSeb
9690d9cdf6 Added some x86 emu (just a few instructions) and dissambly using Zydis 2018-12-16 21:03:20 +01:00
ptitSeb
9cce7008cf Better eflags 2018-12-15 21:49:33 +01:00
ptitSeb
67922b8512 Add x86 register and initialisation 2018-12-15 21:20:00 +01:00
ptitSeb
f86eb7b6ca Set main as entry point instead of elf entry point 2018-12-15 18:38:19 +01:00
ptitSeb
a8e9ef2e25 Better Hex Dump 2018-12-15 18:37:55 +01:00
ptitSeb
9c1d3e7087 Elf is loaded at correct distinatio address, using mmap 2018-12-15 18:03:01 +01:00
ptitSeb
bfc2453c84 Forgot stack files 2018-12-15 18:02:25 +01:00
ptitSeb
3cb045ab9c Add stack calc and alloc 2018-12-15 16:17:19 +01:00
ptitSeb
0a566a19b7 Some relocations 2018-12-15 15:52:40 +01:00
ptitSeb
5756a2d32a Load elf in memory 2018-12-15 14:28:14 +01:00
ptitSeb
ff2bf4882b Split elfloader.c and create elfparser.c 2018-12-15 12:55:14 +01:00
ptitSeb
77530530f8 Create an Elf collection in box86context 2018-12-15 12:52:32 +01:00
ptitSeb
e597307c96 Alloc main elf memory 2018-12-15 12:40:17 +01:00
ptitSeb
82c2421d39 Prepare next steps 2018-12-15 11:01:32 +01:00
ptitSeb
0cf4370cde Also have some default stack size 2018-12-15 10:58:20 +01:00
ptitSeb
7c3c866bfc Prepare to load the elf PT_LOAD parts 2018-12-09 12:10:07 +01:00
ptitSeb
58f2d19ffc Added Dynamic section and cleaned-up Dump fo Elf stuffs 2018-11-10 10:48:42 +01:00
ptitSeb
565cf9d8a0 Cleaner elfheader_t stucture 2018-11-10 09:48:05 +01:00
ptitSeb
95af6b6eaa Added ccache support 2018-11-10 09:47:20 +01:00
ptitSeb
2f1d11825c Cleaned up a bit elfloader 2018-10-14 16:55:15 +02:00
ptitSeb
8cbce9ba20 More Elf reading and parsing 2018-10-14 16:21:26 +02:00
ptitSeb
3ffbb59695 Load and parse ELF Header 2018-10-14 12:15:58 +02:00
ptitSeb
25b3b57564 More check of executable file 2018-10-14 11:08:57 +02:00
ptitSeb
fd8aff098f Find the executable 2018-10-14 10:50:19 +02:00
ptitSeb
0fa447e214 Default to DEBUG_INFO for now 2018-10-14 10:25:21 +02:00
ptitSeb
1c183b01f4 Create Box86Context structure 2018-10-14 10:24:50 +02:00
ptitSeb
fedc2ad1c6 Added minimum help 2018-10-14 09:32:47 +02:00
ptitSeb
07546cb3c8 Refined debug stuff 2018-07-01 16:39:43 +02:00
ptitSeb
3e1b5003df Forgot those 2 headers 2018-07-01 16:36:21 +02:00
ptitSeb
491d3efa91 Added Path collection utilities 2018-07-01 16:36:02 +02:00
ptitSeb
0201be1507 Refined and start using Debug log 2018-07-01 15:42:28 +02:00
ptitSeb
de155cdbe6 Added main and basic CMakeList 2018-05-09 12:07:18 +02:00
ptitSeb
f611fb4cfb Added .vscode to .gitignore 2018-05-09 11:57:49 +02:00
ptitSeb
b03c855e82 Added .gitignore 2018-04-28 15:07:26 +02:00