Commit graph

14 commits

Author SHA1 Message Date
zZzetaS
32ee99ee8d merged & added tests for bblock_thunk_removal_pass 2022-01-14 22:55:20 +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
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
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
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
windy
37b436a584 x86 Test OK 2021-08-08 23:16:28 +08:00
Duncan Ogilvie
ec75cba96d Link capstone and keystone with the tests 2020-11-03 00:11:24 +01:00
Duncan Ogilvie
70d1926fed Add VTIL-Tests project 2020-05-28 19:48:01 +02:00