Commit graph

1322 commits

Author SHA1 Message Date
ArduinoidIOT
dafdf74ec5
found another one 2022-05-25 09:01:48 +05:30
ArduinoidIOT
3f367c4c37
Fix segmentation fault in erase method 2022-05-25 08:33:48 +05:30
Duncan Ogilvie
8ca24f7b4b
Merge pull request #69 from wallds/patch-2
Fix infinite loop
2022-02-09 12:04:57 +01:00
wallds
df0d9a166e Fix infinite loop 2022-02-07 10:47:26 +08:00
Duncan Ogilvie
ad08f51359
Merge pull request #68 from Acurisu/fix-cmake-apple-silicon
Force x86-64 on MacOS
2022-02-03 15:27:24 +01:00
Acurisu
4519877e16
add build note for Apple Silicon 2022-02-03 11:43:06 +01:00
Acurisu
7801c77c70
Revert "force x86-64 on MacOS"
This reverts commit c75eb2bba2.
2022-02-03 11:36:57 +01:00
Acurisu
c75eb2bba2
force x86-64 on MacOS 2022-02-03 08:48:15 +01:00
Duncan Ogilvie
11149d7a97
Merge pull request #67 from wallds/DCE-fix
Revert #60, fix testcase.
2022-01-26 11:30:17 +01:00
wallds
a80de3bc24 Revert https://github.com/vtil-project/VTIL-Core/pull/60, fix testcase. 2022-01-25 19:10:27 +08:00
Duncan Ogilvie
0e1062b61c
Merge pull request #65 from z3t4s/master
Added new "thunk" removal pass (Single jump bblock)
2022-01-24 16:56:46 +01:00
zZzetaS
64d996d249 Maybe this fixes gcc builds, who knows 2022-01-24 14:41:32 +01:00
zZzetaS
e8ab45e1db Added more test cases, added fix for synthetic bug described by wallds, added exhaust_pass to apply_all 2022-01-20 03:45:19 +01:00
zZzetaS
32ee99ee8d merged & added tests for bblock_thunk_removal_pass 2022-01-14 22:55:20 +01:00
z3t4s
4120ebeab8 Fixed invalid pointer from deleting blocks while in recursive call 2022-01-14 17:01:04 +01:00
Duncan Ogilvie
6e5070c0c1
Merge pull request #66 from vtil-project/cmake-fixes
Improve CMake and add instructions to README
2022-01-14 16:42:41 +01:00
Duncan Ogilvie
033c7577ce Improve CMake and add instructions to README 2022-01-14 16:32:31 +01:00
Duncan Ogilvie
cda7694f91
Merge pull request #62 from wallds/patch-1
Fix test_access
2022-01-14 13:37:39 +01:00
Duncan Ogilvie
a24628b418
Merge pull request #64 from Tai7sy/expression-hash-fix
Expression hash fix
2022-01-14 13:37:10 +01:00
windy
b92c3f736f make compatible (x86) 2022-01-14 12:48:12 +01:00
windy
e5f800e5ff Fix https://github.com/vtil-project/VTIL-Core/issues/61 2022-01-14 12:48:12 +01:00
windy
06c268424b Fix https://github.com/vtil-project/VTIL-Core/issues/61 2022-01-14 12:48:12 +01:00
windy
6f56cc3b00 The broken test in hash 2022-01-14 12:48:11 +01:00
windy
afa927f1bb Fix typo 2022-01-14 12:48:11 +01:00
z3t4s
e9e5df0941 Fixed nullptr and added handling for js with identical destinations 2022-01-14 00:15:48 +01:00
wallds
611c274b2e Fix test_access 2022-01-13 11:44:45 +08:00
z3t4s
617df086bf Applied fixes that are not yet available in master. Also added a new thunk removal pass 2022-01-12 23:42:06 +01:00
Duncan Ogilvie
4215e43876
Merge pull request #60 from Tai7sy/deadcode-optimization-fix
Change the stack_pointer expression to relative position in `is_used`
2022-01-11 00:36:40 +01:00
windy
70bfb43944 Change the stack_pointer expression to relative position in is_used, so when detecting whether the stack accessing can be discarded (auxiliaries.cpp#L159) can get right result when meet muti-block 2022-01-10 22:39:59 +01:00
Duncan Ogilvie
36ae17d153
Merge pull request #63 from vtil-project/gh-actions
Switch to GitHub Actions
2022-01-10 22:10:23 +01:00
Duncan Ogilvie
03a63bd43a Switch to GitHub Actions 2022-01-10 22:08:42 +01:00
Duncan Ogilvie
c658914c53 Fix compilation on GCC 11.1 2022-01-10 22:08:33 +01:00
Can Bölük
bf80720098
Merge pull request #58 from abay12676/master
fix register corrupt
2021-10-30 19:30:49 +03:00
Duncan Ogilvie
6ffa73ac4a
Merge pull request #59 from Tai7sy/fix-transform-parallel
fix bug when disable PARALLEL_TRANSFORM
2021-10-13 10:59:48 +02:00
windy
4fca1ebca7 fix bug when disable PARALLEL_TRANSFORM 2021-10-10 23:10:46 +08:00
Duncan Ogilvie
05b4d14444
Merge pull request #57 from Tai7sy/test-x86
x86 optimization fix
2021-09-27 10:53:14 +02:00
Alah
1a2355cb79
fix register corrupt 2021-09-25 16:55:13 -04:00
windy
f0316a22ab Fix bit operation 2021-08-30 23:35:55 +08:00
windy
04fd7da3ac Make arch::size to signed int 2021-08-26 22:41:46 +08:00
windy
165aa6234b Fix assertions while ins stream is in disorder 2021-08-25 22:48:13 +08:00
windy
8237575ba7 Fix build 2021-08-25 22:31:22 +08:00
windy
ffaf8ca91f Add unit tests for optimization passes 2021-08-20 13:03:49 +08:00
windy
566d2a998c Fix constexpr compile error 2021-08-18 22:05:41 +08:00
windy
57fda60379 Fix all warning in x86 2021-08-17 23:24:32 +08:00
windy
4c465af036 Fix x86 optimizers, demo-tests:
```
:: After:
 | | Entry point VIP:       0x1337
 | | Stack pointer:         -0x8
 | | Already visited?:      N
 | | ------------------------
 | | 0000: [ PSEUDO ]     -0x8     movd     eax          0x1
 | | 0001: [ PSEUDO ]     -0x8     strd     $sp          -0x4         0x0
 | | 0002: [ PSEUDO ]     -0x8     strd     $sp          -0x8         0x1
 | | 0003: [ PSEUDO ]     -0x8     vpinrd   eax
 | | 0004: [ PSEUDO ]     -0x8     vexitq   0x0
```
2021-08-16 02:54:00 +08:00
Can Bölük
54dd3114b3
Merge pull request #56 from Tai7sy/test-x86
x86 supported
2021-08-11 06:33:17 +03:00
windy
17d356f87f Add x86 arch 2021-08-10 23:56:33 +08:00
windy
4432fe9e53 x86 support 2021-08-10 23:21:49 +08:00
windy
37b436a584 x86 Test OK 2021-08-08 23:16:28 +08:00
windy
7888c2e48e Fix typo 2021-08-03 20:08:15 +08:00