Andrei Vlad LUTAS
f6050661d5
Multiple improvements in bdshemu
...
Fixed an emulation bug for MOVZX and MOVSX instructions (https://github.com/bitdefender/bddisasm/issues/48 )
New shellcode flag - call tot Wow32 reserved.
New shellcode flag - heaven's gate.
New shellcode flag - stack-pivot.
Moved bdshemu tests in a password protected zip file, so it doesn't trigger AV detections.
2021-08-10 11:43:51 +03:00
Andrei Vlad LUTAS
76d92e73c2
Multiple changes
...
- Add support for AVX512-FP16 instructions, as per https://software.intel.com/content/www/us/en/develop/download/intel-avx512-fp16-architecture-specification.html
- Bug fix: zeroing with no masking is not supported, so return an error if we encounter such encodings
- Bug fix: ignore VEX/EVEX.W field outside 64 bit mode for some instructions
- Several other minor fixes and improvements
2021-07-08 12:40:39 +03:00
Anichitei Ionel-Cristinel
5b8b67c596
Add vcpkg install instructions
2021-06-04 10:14:06 +03:00
Andrei Vlad LUTAS
c3a6ea1c25
Updated SEAMCALL specs according to Intel® Trust Domain CPU Architectural Extensions 343754-002US May 2021.
2021-05-31 13:34:52 +03:00
Andrei Vlad LUTAS
d053de409f
Although not stated in the SDM, VMCALL, VMLAUNCH, VMRESUME and VMXOFF refuse any prefix (66, F3, F2).
2021-05-31 10:42:26 +03:00
Andrei Vlad LUTAS
072f6e059b
Build improvements
...
Exclude string constants from build if BDDISASM_NO_FORMAT is defined.
Use extern "C" when declaring the public bddisasm/bdshemu functions.
Include wmmintrin.h for AES intrinisics when building using LLVM/clang.
2021-05-17 09:52:04 +03:00
Andrei Vlad LUTAS
10dc00681d
Updated version for pybddisasm build.
2021-05-17 09:13:27 +03:00
Andrei Vlad LUTAS
f7bf814bbc
Flag the rIP operand of conditional branches as being conditionally read/write instead of plain read/write.
...
Bypass self-writes option in bdshemu - if set, bdshemu will not proceed to commit modifications made by the shellcode to itself.
2021-05-17 09:04:34 +03:00
Anichitei Ionel-Cristinel
92b3725cf0
cmake: Bump minimum cmake version to 3.16
2021-03-31 17:36:04 +03:00
Anichitei Ionel-Cristinel
82acf4c3a7
python: Increment expected version
2021-03-31 12:02:19 +03:00
Anichitei Ionel-Cristinel
a0e5d8f905
Increment revision
2021-03-31 11:55:25 +03:00
Anichitei Ionel-Cristinel
935654d5f6
Merge pull request #40 from ianichitei/master
...
Improved installation
2021-03-31 11:44:38 +03:00
Ionel-Cristinel ANICHITEI
237e6ffb3e
pybddisasm: Don't implement nd_vsnprintf_s and nd_memset
2021-03-30 22:04:02 +03:00
Ionel-Cristinel ANICHITEI
e7803bdf72
Implement nd_vsnprintf_s and nd_memset if possible
2021-03-30 21:58:03 +03:00
Ionel-Cristinel ANICHITEI
9a30b907c7
README fixes
2021-03-30 21:11:47 +03:00
Ionel-Cristinel ANICHITEI
c20e45a8e4
Update README
2021-03-30 21:04:21 +03:00
Ionel-Cristinel ANICHITEI
cc6cf1e2b6
Don't install disasmtool if BDD_INCLUDE_TOOL is OFF
2021-03-30 17:25:54 +03:00
Ionel-Cristinel ANICHITEI
42497c3ee6
Allow users to disable disasmtool and isagenerator targets
2021-03-30 17:07:47 +03:00
Anichitei Ionel-Cristinel
dcfd0ea478
Update ci.yml
2021-03-30 14:23:39 +03:00
Anichitei Ionel-Cristinel
0c925a46bf
Update ci.yml
2021-03-30 14:21:05 +03:00
Anichitei Ionel-Cristinel
069daec529
Update ci.yml
2021-03-30 14:10:54 +03:00
Anichitei Ionel-Cristinel
2b21e09384
Update ci.yml
2021-03-30 14:03:33 +03:00
Anichitei Ionel-Cristinel
5edbe7a5fe
Update ci.yml
2021-03-30 13:55:47 +03:00
Anichitei Ionel-Cristinel
9af02e98d4
ci: Use cl.exe with CMake on Windows
2021-03-30 13:53:47 +03:00
Anichitei Ionel-Cristinel
c8a30d5fcb
Update ci.yml
...
We should really start using a build matrix.
2021-03-30 13:51:46 +03:00
Ionel-Cristinel ANICHITEI
f9a36db25e
cmake: Remove debug logs
2021-03-30 13:40:55 +03:00
Anichitei Ionel-Cristinel
0f60c96f17
ci: Install Ninja on CMake Windows builds
2021-03-30 13:39:44 +03:00
Anichitei Ionel-Cristinel
a20d4e4755
Update ci.yml
2021-03-30 13:36:00 +03:00
Ionel-Cristinel ANICHITEI
e2e972c84f
Remove bddisasmConfig.cmake.in
...
No longer needed
2021-03-30 12:48:17 +03:00
Ionel-Cristinel ANICHITEI
dbbc8b82af
cmake: Space between if/else/elseif and condition
...
It just looks better IMO
2021-03-30 12:36:35 +03:00
Ionel-Cristinel ANICHITEI
9ee41d6dd1
cmake: Add isagenerator target
2021-03-30 12:33:07 +03:00
Ionel-Cristinel ANICHITEI
283c00b4c7
cmake: Format the cmake scripts
2021-03-30 12:20:47 +03:00
Ionel-Cristinel ANICHITEI
3495a7cc84
cmake: Various improvements, especially to the way the bddisasm package is consumed
...
This should make integrating the project easier. CMake also works on Windows now.
2021-03-30 12:20:31 +03:00
Andrei Vlad LUTAS
fccf11915d
Added support for Intel FRED and LKGS instructions.
2021-03-15 14:05:44 +02:00
Andrei Vlad LUTAS
f7be5a7bbd
Incremented version.
2021-02-23 18:17:21 +02:00
Andrei Vlad LUTAS
15e5e2db63
Fixed several RFLAGS setting issues with airthmetic and shift instructions.
2021-02-23 18:11:40 +02:00
Andrei Vlad LUTAS
37d47ef7e7
Display instruction bitfields support.
...
Using the `-bits` option, the various bits inside the EVEX, VEX, XOP, ModR/M and SIB can be displayed.
2021-02-19 11:10:41 +02:00
Andrei Vlad LUTAS
1eb1c9d0d2
Fixed https://github.com/bitdefender/bddisasm/issues/38 .
2021-01-15 19:09:53 +02:00
Nicolae BODEA
a0b3eee37f
Fix pybddisasm build.
2021-01-11 11:23:41 +02:00
Andrei Vlad LUTAS
98ea9e1d9a
Fixed https://github.com/bitdefender/bddisasm/issues/34 , https://github.com/bitdefender/bddisasm/issues/35 , https://github.com/bitdefender/bddisasm/issues/36 and https://github.com/bitdefender/bddisasm/issues/37 .
2021-01-11 11:10:04 +02:00
Ionel-Cristinel ANICHITEI
057d326433
Specify -maes when building bdshemu
2020-12-04 11:45:10 +02:00
Andrei Vlad LUTAS
e552aef1f5
Add march=westmere in bdshemu Makefile as well.
2020-12-04 11:16:21 +02:00
Andrei Vlad LUTAS
e0c6f9e374
Specify westmere arch on pybddisasm build.
2020-12-04 11:05:49 +02:00
Andrei Vlad LUTAS
f8a3011a49
Added support for AESDEC, AESDECLAST and AESIMC emulation, using compiler intrinsics - they will be used only if the SHEMU_OPT_SUPPORT_AES is set (so the integrator can properly check for AES-NI support in hardware).
...
Fixed shemu option on Linux - make sure proper RIP is provided.
2020-12-04 10:52:56 +02:00
vlutas
83ee0d120d
Merge pull request #33 from ianichitei/master
...
Automatically add binaries to a release
2020-11-23 09:48:18 +02:00
Anichitei Ionel-Cristinel
2806cc00cb
ci: Build for Release on Linux
2020-11-20 16:39:54 +02:00
Ionel-Cristinel ANICHITEI
3c6679f927
disasmtool_lix: Remove inc/bdshemu from include directories
2020-11-20 16:32:34 +02:00
Ionel-Cristinel ANICHITEI
9fc3070436
Merge remote-tracking branch 'bitdefender-public/master'
2020-11-20 16:30:08 +02:00
Ionel-Cristinel ANICHITEI
80a1fd54ef
disasmtool_lix: Use -march=nehalem when building
2020-11-20 16:25:25 +02:00
Anichitei Ionel-Cristinel
974e7124f0
Update ci.yml
2020-11-20 16:24:06 +02:00