1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-22 07:28:07 +00:00
Commit Graph

335 Commits

Author SHA1 Message Date
Anichitei Ionel-Cristinel
f44ac0ce39
build: Fix disasmtool LTO 2024-09-16 12:58:02 +03:00
Andrei KISARI
d8f3046391 Improve bddisasm and bdshemu test scripts. 2024-09-16 12:47:03 +03:00
Andrei Vlad LUTAS
767bf2e5c0 Added support for new Intel AVX 10.2 instructions.
Added support for AMD RMPREAD instruction.
Improved EVEX decoding, including the new U bit.
Fixed ENTER & LEAVE operands.
2024-09-16 12:23:54 +03:00
vlutas
c877b5007f
Merge pull request #96 from turol/optimize
Optimizations
2024-08-29 17:38:46 +03:00
Turo Lamminen
56bbcca4cf Replace ND_SIGN_EX with less branchy version 2024-08-29 17:25:45 +03:00
Turo Lamminen
8bc44ae145 Only call ND_SIGN_EX when instruction has displacement 2024-08-29 17:25:45 +03:00
Turo Lamminen
f967327ca4 Add benchmark script 2024-08-29 17:25:42 +03:00
vlutas
4026e7610f
Merge pull request #99 from akisari/master
Add support for builds without mnemonics.
2024-08-28 10:22:00 +03:00
Andrei KISARI
68166adcbd Add support for builds without mnemonics. 2024-08-28 10:18:10 +03:00
Turo Lamminen
b261dd447d Only set bcstSize when it's required 2024-08-26 17:29:13 +03:00
Turo Lamminen
4b320e0817 Fix comment 2024-08-26 17:29:13 +03:00
vlutas
ed19a468e6
Merge pull request #98 from turol/clock
Fix conversion of clock() return value to actual time units
2024-08-26 09:46:37 +03:00
Turo Lamminen
58f2ca239c Fix conversion of clock() return value to actual time units 2024-08-24 22:19:14 +03:00
vlutas
8b4cc482b9
Merge pull request #95 from BJNFNE/ndfetchdata-gcc-warning
fix gcc warning in NdFetchData
2024-07-31 10:22:15 +03:00
Benjamin Funke
a631012463 fix gcc warning in NdFetchData
this PR fixes this compiler warning: bddisasm_crt.c
bdx86_decoder.c
bdx86_decoder.c: In function ‘NdFetchData’:
bdx86_decoder.c:104:12: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare]
  104 |            (2 == Size) ? ND_FETCH_16(Buffer) :
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105 |            0;
      |            ~
bdx86_formatter.c
bdx86_helpers.c
Disasm library in ../bin/x64/Debug/libbddisasm.a
bddisasm_crt.c
bdx86_decoder.c
bdx86_decoder.c: In function ‘NdFetchData’:
bdx86_decoder.c:104:12: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare]
  104 |            (2 == Size) ? ND_FETCH_16(Buffer) :
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105 |            0;
      |            ~
bdx86_formatter.c
bdx86_helpers.c
Disasm library in ../bin/x64/Release/libbddisasm.a
bdshemu.c
bdshemu_x86.c
Shemu library in ../bin/x64/Debug/libbdshemu.a
bdshemu.c
bdshemu_x86.c
Shemu library in ../bin/x64/Release/libbdshemu.a
2024-07-30 18:07:56 +02:00
vlutas
2b1c90b631
Merge pull request #94 from turol/fix_typos
Fix typos in comments
2024-07-29 09:02:11 +03:00
Turo Lamminen
c008c467dc Fix typos in comments 2024-07-27 22:54:29 +03:00
vlutas
1fa2ee4d91
Merge pull request #93 from turol/format_improvement
Formatting improvements
2024-07-24 10:10:34 +03:00
Turo Lamminen
ba68473703 Make NdToText string arrays more const 2024-07-20 22:43:15 +03:00
Turo Lamminen
a9819f76d0 Use macro to reduce code duplication in NdToText 2024-07-20 22:42:51 +03:00
vlutas
a2d25fffdd
Merge pull request #92 from turol/linux-tests
Fix test runner on Linux
2024-07-16 19:50:45 +03:00
Turo Lamminen
3b620c2dba Fix test runner on Linux 2024-07-16 18:04:12 +03:00
Andrei Vlad LUTAS
d9d60a8b47 Fixed the bdshemu test case archive - removed the password. 2024-06-27 14:03:19 +03:00
Anichitei Ionel-Cristinel
e3855b464f
ci: Fix setup-winsd version 2024-06-17 11:05:33 +03:00
Anichitei Ionel-Cristinel
6e7846bcaf
ci: Upgrade setup-winsdk to v2.2 2024-06-17 10:46:38 +03:00
Anichitei Ionel-Cristinel
ac34b80f8f
ci: Upgrade upload-release-assets to v3.0 2024-06-17 10:42:31 +03:00
Andrei Vlad LUTAS
54a2027333 Added 64-bit mul test case + made the code more readable. 2024-06-05 00:52:51 +03:00
Andrei Vlad LUTAS
270587903e Some more type cast warnings fixed. 2024-06-04 19:13:52 +03:00
Andrei Vlad LUTAS
f1a85df2e7 Use const cast when fetching bytes from memory. 2024-05-29 09:05:56 +03:00
Andrei Vlad LUTAS
a86c84f599 Added missing paranthesis around macro parameter. 2024-05-28 23:19:20 +03:00
Andrei Vlad LUTAS
91f04ed43b Fixed potential unaligned load, as reported by UBSAN. 2024-05-28 19:20:38 +03:00
vlutas
63ca9e4328
Merge pull request #90 from ianichitei/master
Update workflows
2024-05-08 12:50:36 +03:00
Anichitei Ionel-Cristinel
4e37a3a312
Update rust.yml 2024-05-08 12:23:01 +03:00
Anichitei Ionel-Cristinel
690edbdf87
Update ci.yml 2024-05-08 12:16:54 +03:00
Anichitei Ionel-Cristinel
95aab171e4
Update ci.yml 2024-05-08 12:13:04 +03:00
Anichitei Ionel-Cristinel
fcf9c79679
Update README.md 2024-05-08 12:08:39 +03:00
Anichitei Ionel-Cristinel
fc504017c9
Update ci.yml 2024-05-08 11:56:59 +03:00
Anichitei Ionel-Cristinel
7f537ce019
Update ci.yml 2024-05-08 11:48:52 +03:00
Anichitei Ionel-Cristinel
ff8260e0dc
Update ci.yml 2024-05-08 11:40:00 +03:00
Anichitei Ionel-Cristinel
567a24b4f2
Update ci.yml 2024-05-08 11:28:51 +03:00
Anichitei Ionel-Cristinel
ecba4412f5
Update ci.yml 2024-05-08 11:23:02 +03:00
Anichitei Ionel-Cristinel
e12c77a4cd
Update ci.yml 2024-05-08 11:06:43 +03:00
Anichitei Ionel-Cristinel
02d5b9803f
Update ci.yml 2024-05-08 11:01:11 +03:00
Anichitei Ionel-Cristinel
982a08475b
Update ci.yml 2024-05-08 10:54:24 +03:00
Anichitei Ionel-Cristinel
2777987530
Update ci.yml 2024-05-08 10:49:10 +03:00
Anichitei Ionel-Cristinel
2f53b0c228
Update ci.yml 2024-05-08 10:37:02 +03:00
Anichitei Ionel-Cristinel
0086ea6edf
ci: Attest provenance for each build artefact, not just the archives 2024-05-08 10:25:53 +03:00
Anichitei Ionel-Cristinel
9cd9c58607
ci: Try to figure out what are the required permissions 2024-05-08 08:29:42 +03:00
Anichitei Ionel-Cristinel
ea6065bea1
ci: Fix permissions 2024-05-08 08:13:33 +03:00
Anichitei Ionel-Cristinel
802f2854cd
Try Artifact Attestations 2024-05-08 08:03:20 +03:00