Commit Graph

  • 38592edf31 Removed old test files. Andrei Vlad LUTAS 2021-08-31 13:49:29 +0300
  • 08096172cc Multiple improvements - New shemu flag - SHEMU_FLAG_SIDT, set when sheu encounters a SIDT in ring0. - Added the CET Tracked flag to SYSCLAL, SYSENTER and INT n instructions. - Fixed Do Not Track prefix recognition for CALL and JMP in long-mode. - Fixed MONITOR and MONITORX implicit operands - the rAX register encodes a virtual address that will be used as the monitored range. That address is subject to a 1 byte load. - Fixed RMPADJUST and RMPUPDATE implicit operands - the rAX register encodes a virtual address, and the rCX register encodes a virtual address of the RMP updated entry. v1.34.4 Andrei Vlad LUTAS 2021-08-31 13:37:50 +0300
  • 5a617986b7 Added new shemu flag: SHEMU_FLAG_SUD_ACCESS is raised whenever the code accesses the SharedUserData page. v1.34.2 Andrei Vlad LUTAS 2021-08-16 12:34:41 +0300
  • c8735b437a Fixed NEG emulation - make sure flags are set. Andrei Vlad LUTAS 2021-08-10 14:46:39 +0300
  • 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. Andrei Vlad LUTAS 2021-08-10 11:43:51 +0300
  • 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 v1.33.0 Andrei Vlad LUTAS 2021-07-08 12:40:39 +0300
  • 5b8b67c596
    Add vcpkg install instructions Anichitei Ionel-Cristinel 2021-06-04 10:14:06 +0300
  • c3a6ea1c25 Updated SEAMCALL specs according to Intel® Trust Domain CPU Architectural Extensions 343754-002US May 2021. Andrei Vlad LUTAS 2021-05-31 13:34:52 +0300
  • d053de409f Although not stated in the SDM, VMCALL, VMLAUNCH, VMRESUME and VMXOFF refuse any prefix (66, F3, F2). Andrei Vlad LUTAS 2021-05-31 10:42:26 +0300
  • 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. Andrei Vlad LUTAS 2021-05-17 09:52:04 +0300
  • 10dc00681d Updated version for pybddisasm build. Andrei Vlad LUTAS 2021-05-17 09:13:27 +0300
  • 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. Andrei Vlad LUTAS 2021-05-17 09:04:34 +0300
  • 92b3725cf0
    cmake: Bump minimum cmake version to 3.16 Anichitei Ionel-Cristinel 2021-03-31 17:36:04 +0300
  • 82acf4c3a7
    python: Increment expected version v1.32.1 Anichitei Ionel-Cristinel 2021-03-31 12:02:19 +0300
  • a0e5d8f905
    Increment revision Anichitei Ionel-Cristinel 2021-03-31 11:55:25 +0300
  • 935654d5f6
    Merge pull request #40 from ianichitei/master Anichitei Ionel-Cristinel 2021-03-31 11:44:38 +0300
  • 237e6ffb3e pybddisasm: Don't implement nd_vsnprintf_s and nd_memset #40 Ionel-Cristinel ANICHITEI 2021-03-30 22:04:02 +0300
  • e7803bdf72 Implement nd_vsnprintf_s and nd_memset if possible Ionel-Cristinel ANICHITEI 2021-03-30 21:58:03 +0300
  • 9a30b907c7 README fixes Ionel-Cristinel ANICHITEI 2021-03-30 21:11:47 +0300
  • c20e45a8e4 Update README Ionel-Cristinel ANICHITEI 2021-03-30 21:04:21 +0300
  • cc6cf1e2b6 Don't install disasmtool if BDD_INCLUDE_TOOL is OFF Ionel-Cristinel ANICHITEI 2021-03-30 17:25:54 +0300
  • 42497c3ee6 Allow users to disable disasmtool and isagenerator targets Ionel-Cristinel ANICHITEI 2021-03-30 17:07:35 +0300
  • dcfd0ea478
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 14:23:39 +0300
  • 0c925a46bf
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 14:21:05 +0300
  • 069daec529
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 14:10:54 +0300
  • 2b21e09384
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 14:03:33 +0300
  • 5edbe7a5fe
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 13:55:47 +0300
  • 9af02e98d4
    ci: Use cl.exe with CMake on Windows Anichitei Ionel-Cristinel 2021-03-30 13:53:47 +0300
  • c8a30d5fcb
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 13:51:46 +0300
  • f9a36db25e cmake: Remove debug logs Ionel-Cristinel ANICHITEI 2021-03-30 13:40:51 +0300
  • 0f60c96f17
    ci: Install Ninja on CMake Windows builds Anichitei Ionel-Cristinel 2021-03-30 13:39:44 +0300
  • a20d4e4755
    Update ci.yml Anichitei Ionel-Cristinel 2021-03-30 13:36:00 +0300
  • e2e972c84f Remove bddisasmConfig.cmake.in Ionel-Cristinel ANICHITEI 2021-03-30 12:48:17 +0300
  • dbbc8b82af cmake: Space between if/else/elseif and condition Ionel-Cristinel ANICHITEI 2021-03-30 12:36:35 +0300
  • 9ee41d6dd1 cmake: Add isagenerator target Ionel-Cristinel ANICHITEI 2021-03-30 12:33:07 +0300
  • 283c00b4c7 cmake: Format the cmake scripts Ionel-Cristinel ANICHITEI 2021-03-30 12:20:47 +0300
  • 3495a7cc84 cmake: Various improvements, especially to the way the bddisasm package is consumed Ionel-Cristinel ANICHITEI 2021-03-30 12:20:31 +0300
  • fccf11915d Added support for Intel FRED and LKGS instructions. Andrei Vlad LUTAS 2021-03-15 14:05:44 +0200
  • f7be5a7bbd Incremented version. v1.31.8 Andrei Vlad LUTAS 2021-02-23 18:17:21 +0200
  • 15e5e2db63 Fixed several RFLAGS setting issues with airthmetic and shift instructions. Andrei Vlad LUTAS 2021-02-23 18:11:40 +0200
  • 37d47ef7e7 Display instruction bitfields support. Using the `-bits` option, the various bits inside the EVEX, VEX, XOP, ModR/M and SIB can be displayed. v1.31.7 Andrei Vlad LUTAS 2021-02-19 11:10:41 +0200
  • 1eb1c9d0d2 Fixed https://github.com/bitdefender/bddisasm/issues/38. Andrei Vlad LUTAS 2021-01-15 19:09:53 +0200
  • a0b3eee37f Fix pybddisasm build. Nicolae BODEA 2021-01-11 11:23:41 +0200
  • 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. Andrei Vlad LUTAS 2021-01-11 11:10:04 +0200
  • 057d326433 Specify -maes when building bdshemu Ionel-Cristinel ANICHITEI 2020-12-04 11:45:10 +0200
  • e552aef1f5 Add march=westmere in bdshemu Makefile as well. Andrei Vlad LUTAS 2020-12-04 11:16:21 +0200
  • e0c6f9e374 Specify westmere arch on pybddisasm build. Andrei Vlad LUTAS 2020-12-04 11:05:49 +0200
  • 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. Andrei Vlad LUTAS 2020-12-04 10:52:56 +0200
  • 83ee0d120d
    Merge pull request #33 from ianichitei/master vlutas 2020-11-23 09:48:18 +0200
  • 2806cc00cb
    ci: Build for Release on Linux #33 Anichitei Ionel-Cristinel 2020-11-20 16:39:54 +0200
  • 3c6679f927 disasmtool_lix: Remove inc/bdshemu from include directories Ionel-Cristinel ANICHITEI 2020-11-20 16:32:34 +0200
  • 9fc3070436 Merge remote-tracking branch 'bitdefender-public/master' Ionel-Cristinel ANICHITEI 2020-11-20 16:30:08 +0200
  • 80a1fd54ef disasmtool_lix: Use -march=nehalem when building Ionel-Cristinel ANICHITEI 2020-11-20 16:24:54 +0200
  • 974e7124f0
    Update ci.yml Anichitei Ionel-Cristinel 2020-11-20 16:24:06 +0200
  • 5c8d896b26
    Update ci.yml Anichitei Ionel-Cristinel 2020-11-20 16:21:55 +0200
  • 3e21ce944d
    Update ci.yml Anichitei Ionel-Cristinel 2020-11-20 16:20:18 +0200
  • cd27b55b61 Fixed conflicts. Andrei Vlad LUTAS 2020-11-20 16:10:31 +0200
  • 2c3535754f Fix build Ionel-Cristinel ANICHITEI 2020-11-20 16:07:24 +0200
  • 5aa353867c Add support for shemu in disasmtool_lix (thanks to Bogdan Bosinta - @bbosinta). Andrei Vlad LUTAS 2020-11-20 16:06:14 +0200
  • 24234eb097 Try to add a .deb to releases Ionel-Cristinel ANICHITEI 2020-11-20 16:04:50 +0200
  • b93bb94e16 Merge remote-tracking branch 'bitdefender-public/master' Ionel-Cristinel ANICHITEI 2020-11-20 15:59:52 +0200
  • 2dcac9a5d9 Remove iobj and ipdb files before creating the ZIPs Ionel-Cristinel ANICHITEI 2020-11-20 15:57:58 +0200
  • fc85cdb20c Include disasmtool in the Windows build Ionel-Cristinel ANICHITEI 2020-11-20 15:56:24 +0200
  • 03220857f9
    Merge pull request #32 from bbosinta/master bbosinta 2020-11-20 15:52:35 +0200
  • 892946cb07
    Run the release step only for releases Anichitei Ionel-Cristinel 2020-11-20 15:41:23 +0200
  • 3bb888fc99
    Try to add Windows binaries to a release Anichitei Ionel-Cristinel 2020-11-20 15:39:24 +0200
  • 1fd35e9f30 Include disasmtool in packages #32 Bogdan-Viorel BOSINTA 2020-11-20 14:48:20 +0200
  • 9a18cde5ea Add support for CPack Bogdan-Viorel BOSINTA 2020-11-18 13:55:31 +0200
  • 704e452353 Cleanup CMakeLists.txt Bogdan-Viorel BOSINTA 2020-11-20 14:43:12 +0200
  • 1aa0e0d71b
    Merge pull request #31 from ianichitei/master Anichitei Ionel-Cristinel 2020-11-18 16:08:26 +0200
  • 5926fa30f1 Update README #31 Ionel-Cristinel ANICHITEI 2020-11-18 15:40:16 +0200
  • 88c0adfc48 Add support for find_package Ionel-Cristinel ANICHITEI 2020-11-18 14:21:08 +0200
  • 11fa28a8bb
    Fix CMake install target Anichitei Ionel-Cristinel 2020-11-18 13:06:19 +0200
  • 9fa954325c
    Merge pull request #29 from tklengyel/python_example vlutas 2020-11-17 17:40:27 +0200
  • 54992bb376 Add copy-pastable python example #29 Tamas K Lengyel 2020-11-17 10:24:57 -0500
  • 432f2290c6
    Update README.md Anichitei Ionel-Cristinel 2020-11-17 16:53:51 +0200
  • 8528de2d98
    Merge pull request #28 from ianichitei/master Anichitei Ionel-Cristinel 2020-11-17 16:52:45 +0200
  • b942b37680 Don't supply inc/bdshemu as an include path for cppcheck #28 Ionel-Cristinel ANICHITEI 2020-11-17 16:09:36 +0200
  • c1c3770cc6 Move bdhsemu.h to inc/ Ionel-Cristinel ANICHITEI 2020-11-17 16:03:16 +0200
  • 81664ff09f Use CMAKE_CURRENT_LIST_DIR instead of CMAKE_SOURCE_DIR when reading version.h Ionel-Cristinel ANICHITEI 2020-11-17 14:16:35 +0200
  • 15fe86d7d3 Fix library order Ionel-Cristinel ANICHITEI 2020-11-17 13:20:49 +0200
  • 190d3e59f3 Extract version information from version.h Ionel-Cristinel ANICHITEI 2020-11-17 12:44:10 +0200
  • f5d91d7cb5 Use Release as the default build type Ionel-Cristinel ANICHITEI 2020-11-17 11:41:19 +0200
  • 2eb472cdab Ignore disasmtool_lix/_build Ionel-Cristinel ANICHITEI 2020-11-17 11:40:25 +0200
  • baad8a4bd0
    ci: Use CMake when building on Linux Anichitei Ionel-Cristinel 2020-11-17 11:33:55 +0200
  • 2ebfd04da0 Update README Ionel-Cristinel ANICHITEI 2020-11-17 11:31:23 +0200
  • 3ac7fec729 Lower the minimum required CMake version Ionel-Cristinel ANICHITEI 2020-11-17 11:31:14 +0200
  • fbafa8b8f5 Set the output directory to bin/x64/ Ionel-Cristinel ANICHITEI 2020-11-17 11:19:31 +0200
  • 0af56019c2 Initial CMake support Ionel-Cristinel ANICHITEI 2020-11-17 11:04:30 +0200
  • 49d7eab4da
    ci: Update microsoft/setup-msbuild to v1.0.2 Anichitei Ionel-Cristinel 2020-11-17 10:41:59 +0200
  • e89f56289d As per Intel SDM version 73 released in November 2020, make sure we don't decode 32-bit EVEX instructions that have EVEX.V' cleared, and 64-bit EVEX instructions that don't use EVEX.V' field, but have it cleared. Andrei Vlad LUTAS 2020-11-17 10:36:26 +0200
  • 67da1892d4 Fetch the instruction bytes inside the Instrux when first entering NdDecode, and then use that buffer for further decoding. Andrei Vlad LUTAS 2020-11-12 10:57:16 +0200
  • 460e544652 Fixed build. Andrei Vlad LUTAS 2020-11-09 09:52:49 +0200
  • 58197cc518 Removed support for PCOMMIT and CL1INVMB (not implemented by any x86/x64 CPUs), and marked MOV to/from test registers as being invalid in long mode. Fixed https://github.com/bitdefender/bddisasm/issues/24 Fixed https://github.com/bitdefender/bddisasm/issues/25 Fixed https://github.com/bitdefender/bddisasm/issues/26 Andrei Vlad LUTAS 2020-11-09 09:18:46 +0200
  • bcf9a89d69 Fixed https://github.com/bitdefender/bddisasm/issues/22 and https://github.com/bitdefender/bddisasm/issues/23. v1.31.2 Andrei Vlad LUTAS 2020-11-08 11:02:46 +0200
  • 2b2dbe2aea D64 flag for ENTER instruction. Andrei Vlad LUTAS 2020-11-07 12:12:28 +0200
  • e26971b4f0 Added missing Default 64 flag for the ENTER instruction. On AMD, operand size is never forced to 64 bit - instead, it only defaults to 64 bit, which means that 0x66 can be used to encode 16 bit version of the instructions. Andrei Vlad LUTAS 2020-11-06 14:19:22 +0200
  • 7a0fa449bc Disassemble 4X90 as NOP as long as Rex.B is 0. Disassemble as XCHG only if Rex.B bit is set (promoting the use of R8 register). v1.31.0 Andrei Vlad LUTAS 2020-10-09 14:55:39 +0300
  • 9652450125 Added support for UINTR, HRESET and AVX-VNNI instructions, as per Intel® Architecture Instruction Set Extensions Programming Reference 41 (October 2020). Andrei Vlad LUTAS 2020-10-05 13:19:03 +0300
  • 514b4c571a
    Merge pull request #21 from ianichitei/master vlutas 2020-09-22 18:51:49 +0300