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

356 Commits

Author SHA1 Message Date
Andrei Vlad LUTAS
b67fd766a1 Fixed conf file example block. 2024-09-23 20:25:56 +03:00
Anichitei Ionel-Cristinel
34a0880784
fuzzing: Check that Intbuf was successfully allocated
Fixes #105.
2024-09-23 13:58:59 +03:00
vlutas
7bc007069d
Merge pull request #104 from akisari/master
Fix the text parser used for tests.
2024-09-17 18:07:53 +03:00
Andrei KISARI
3e356513cd Fix the text parser used for tests. 2024-09-17 17:51:06 +03:00
Anichitei Ionel-Cristinel
ae87852586
Add .readthedocs.yaml
This should fix readthedocs failures.
2024-09-17 16:15:29 +03:00
vlutas
b559081f1c
Merge pull request #103 from ianichitei/master
Run tests on every push and PR
2024-09-17 16:06:09 +03:00
Anichitei Ionel-Cristinel
7c5bddb9a4
Update ci.yml 2024-09-17 15:33:43 +03:00
Anichitei Ionel-Cristinel
10224d00b1
Update ci.yml 2024-09-17 15:23:04 +03:00
Anichitei Ionel-Cristinel
1312f0726d
ci: Fix make install path 2024-09-17 15:21:10 +03:00
Anichitei Ionel-Cristinel
1b46174e00
ci: Don't run tests for no-mnemonic builds
We can't test the output if we don't have the instruction names.
2024-09-17 15:18:41 +03:00
Anichitei Ionel-Cristinel
ca912b2819
ci: Fix make paths 2024-09-17 14:45:24 +03:00
Anichitei Ionel-Cristinel
8c1bc973d3
ci: Use a matrix for all the CMake configs 2024-09-17 14:41:45 +03:00
Anichitei Ionel-Cristinel
ea78026087
Add CMakePresets.json
It defines only configure presets to be used mostly by our CI.
2024-09-17 14:22:08 +03:00
Anichitei Ionel-Cristinel
4b98f1b9e4
ci: Fix disasmtool path 2024-09-17 12:17:54 +03:00
Anichitei Ionel-Cristinel
e921cfaab4
ci: Fix workflow file 2024-09-17 12:12:55 +03:00
Anichitei Ionel-Cristinel
584332ab98
ci: Run tests on Windows and Mac 2024-09-17 12:10:27 +03:00
Anichitei Ionel-Cristinel
13a33e40a3
ci: Fix a typo 2024-09-17 11:57:30 +03:00
Anichitei Ionel-Cristinel
ddbba4d6b4
ci: Fix a typo 2024-09-17 11:09:00 +03:00
Anichitei Ionel-Cristinel
aa90fb6282
ci: Run tests on Linux builds with sanitizers 2024-09-17 11:08:03 +03:00
Andrei Vlad LUTAS
10f06b9263 Updated CHANGELOG for v2.2.0. 2024-09-16 13:19:27 +03:00
Anichitei Ionel-Cristinel
e4bb7c25db
bindings: Update rsbddisasm 2024-09-16 12:58:03 +03:00
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