294 Commits
Author SHA1 Message Date
LePresidente df9323a47f Fixes required by python3. 2019-04-20 14:00:14 +02:00
Vivek Thampi 56ff6c87c1 Merge pull request #90 from serval2412/master
cppcheck: Expr is always false because 'else if' cond matches previous cond
2014-12-25 17:30:50 +05:30
Vivek Thampi bee2a26e3e Merge pull request #86 from stephenfewer/master
add a vexl prefix entry for movdqu to fix issue #85
2014-12-25 17:23:56 +05:30
Vivek Thampi b8ba143089 Merge pull request #80 from sgraf812/patch-1
Update ud_opcode.py to also support Python 3.x
2014-12-25 17:19:55 +05:30
Vivek Thampi 681b866693 Merge pull request #82 from sgraf812/patch-2
No UD_ATTRIBUTE_PACKED for ud_mnemonic_code
2014-12-25 17:18:46 +05:30
Vivek Thampi a60e1ce363 Merge pull request #76 from frida/feature/silent-rules
Enable silent rules
2014-12-25 17:17:16 +05:30
Vivek Thampi f465c39e41 Merge pull request #74 from frida/feature/modrm-offset
Expose the offset of the modrm byte
2014-12-25 17:08:32 +05:30
Vivek Thampi aae4c0332d Merge pull request #69 from vegard/standalone-fix
Fix standalone compilation
2014-12-25 17:06:53 +05:30
Falcon Darkstar Momot 6ef9342cac Add entries in optable.xml for obsolete 8087 instructions FNENI (DB E0), FNDISI (DB E1), FNSETPM (DB E4), and FRSTPM (DB E5). All but the latter execute (as NOPs) on modern CPUs. 2014-12-25 16:58:53 +05:30
Julien Nabet 9ab775e6c5 cppcheck: Expression is always false because 'else if' condition matches previous condition at line 158 2014-11-16 18:24:53 +01:00
Stephen Fewer adcd1ff12b add a vexl prefix entry for movdqu to fix issue #85 2014-08-22 11:51:11 +01:00
Sebastian Graf b293936f25 No UD_ATTRIBUTE_PACKED for ud_mnemonic_code
I don't think packing the enum into 16-bit is advantageous in any way, also it doesn't happen on MSVC, for which the macro is defined to be empty. The ud struct's size shouldn't change (at least it doesn't on Clang/GCC for 64-bit), only the offset of the mnemonic member would be aligned to 4 bytes.
2014-04-05 17:35:34 +02:00
Sebastian Graf ef3129004a Update ud_opcode.py to also support Python 3.x
Hit this on Arch, which uses Python 3 as default interpreter. The scripts should either call `/usr/bin/python2` instead of just `/usr/bin/python` or this script must be updated. The proposed change(s) in particular:

    * `dict.iteritems()` has been replaced by `dict.items()`, which returns a lazy view instead. `itemslist()` resolves this.
2014-02-03 01:46:32 +01:00
Ole André Vadla Ravnås 6d773e5893 Expose the offset of the modrm byte 2014-01-02 14:20:15 +01:00
Ole André Vadla Ravnås a9e6e23827 Enable silent rules 2014-01-02 12:56:47 +01:00
Vegard Nossum 06c17fa721 Fix standalone compilation
udint.h needs to include types.h in order to get the __UD_STANDALONE__
macro. Otherwise it will think we're in non-standalone mode and fail to
compile in standalone mode.
2013-11-15 15:07:39 +01:00
Vivek Thampi b24baf1e32 Merge pull request #68 from vegard/ubuntu
tests: use bash instead of sh to run difftest.sh
2013-11-14 12:28:33 -08:00
Vivek Thampi 0c21030d3b Merge pull request #67 from vegard/avx
Fix duplicate <opr> for sqrtss
2013-11-14 12:27:55 -08:00
Vegard Nossum 22b95512cc tests: use bash instead of sh to run difftest.sh
On Ubuntu, /bin/sh is a symlink to /bin/dash, however difftest.sh uses
bash-specific constructs and fails when run using dash. Therefore, run
this script explicitly using bash.
2013-11-14 16:36:50 +01:00
Vegard Nossum 462cac77f8 Fix duplicate <opr> for sqrtss
Commit 88bb68bb46 added avx instructions
but forgot to remove the old <opr> information for the sqrtss
instruction. Let's get rid of it.
2013-11-14 14:34:25 +01:00
Vivek Thampi c98c3ecc29 Disable logging in ud_opcode.py 2013-11-14 03:33:35 -08:00
Vivek Thampi 6e25c668b7 Use integer type for operand sizes
Operand size symbolic constants aren't really enumerations. Use the
preprocessor instead of enum to represent them. (Issue #66)
2013-11-14 03:31:36 -08:00
Vivek Thampi 7a3324ce19 Add a new macro for inline 2013-11-14 03:14:01 -08:00
Vivek Thampi 7e3973412f Simplify standalone header include contract
(Issue #62) In __UD_STANDALONE__ mode, the onus is now on the client to
make sure that the right set of files are included prior to including
udis86.h in their environment. types.h no longer assumes the
availability of header files. I haven't tried this myself in a kernel
build environment, but I'm hoping someone will, and get back with
problems if any.
2013-11-14 03:09:36 -08:00
Vivek Thampi a6b13352b8 Add vpunpcklqdq 2013-11-14 03:03:30 -08:00