summaryrefslogtreecommitdiffstats
path: root/libcpu/i386_disasm.c
Commit message (Collapse)AuthorAgeFilesLines
* Add GCC7 -Wimplicit-fallthrough support/fixes.Mark Wielaard2016-11-101-1/+1
| | | | | | | | | | | GCC7 will have a new -Wimplicit-fallthrough warning. It did catch one small buglet in elflint option procession. So it seems useful to enable to make sure all swatch case fallthroughs are deliberate. Add configure check to detect whether gcc support -Wimplicit-fallthrough and enable it. Add fixes and explicit fallthrough comments where necessary. Signed-off-by: Mark Wielaard <[email protected]>
* lib: Provide MAX and MIN in system.hAkihiko Odaki2016-10-121-1/+0
| | | | | | | | | | This change also creates a new header file libeu.h to provide the prototypes for the function of libeu. That hides the definition of function crc32, which can conflict with zlib, from libelf. It also prevents mistakes to refer those functions from a component which doesn't link with libeu, such as libelf. Signed-off-by: Akihiko Odaki <[email protected]>
* Add support for BPFRichard Henderson2016-06-281-1/+2
| | | | Signed-off-by: Richard Henderson <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-051-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Color code output of nm and objdumpUlrich Drepper2012-01-211-5/+97
|
* Optimize x86/x86-64 disassembler tables.Ulrich Drepper2009-01-011-8/+20
|
* Add Intel SSE4 support to disassembler.Ulrich Drepper2009-01-011-2/+2
|
* Replay output operations correctly when internal buffer in x86/x86-64Ulrich Drepper2008-12-311-24/+38
| | | | disasembler code is full.
* Optimize x86/x86-64 disassembler some more. Avoid relocations for stringUlrich Drepper2008-12-311-3/+6
| | | | table.
* Fix printing of rex prefix in x86-64 disassembler.Ulrich Drepper2008-12-311-0/+17
|
* Optimize x86/x86-64 disassembler a bit.Ulrich Drepper2008-12-311-15/+10
|
* Mark constant array as const.Ulrich Drepper2008-12-311-1/+1
|
* Implement AMD 3DNOW disassembly.Ulrich Drepper2008-12-191-0/+85
|
* (i386_disasm): If instruction matches prefix, undoing the prefix matchUlrich Drepper2008-12-171-3/+1
| | | | finishes the instruction.
* Fix problems in last checkin.Ulrich Drepper2008-01-221-0/+4
|
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2008-01-221-0/+10
| | | | | | 6b4ecd4bacd23aaea4922adc10aab7908c45d23e) to branch 'com.redhat.elfutils' (head 80a9de86977a1031c60888fe4072688434a961be)
* Fix a couple of x86-64 disassembler cases.Ulrich Drepper2008-01-141-2/+9
|
* Minimal use of symbol callback functions.Ulrich Drepper2008-01-121-7/+8
|
* Add comment with absolute address to %rip based address modes.Ulrich Drepper2008-01-121-3/+62
|
* Cleanups in libasm abd objdump.Ulrich Drepper2008-01-111-23/+17
|
* Better symbol retrieval function interface. Allow larger output buffers.Ulrich Drepper2008-01-111-34/+67
|
* Fix a few instructions with immediate arguments.Ulrich Drepper2008-01-111-0/+4
|
* merge of '3bc1b3a545049c99f3627ae7f0cbd7cf256e3806'Ulrich Drepper2008-01-111-58/+59
| | | | and '944c821e8ff593d1d87d48b73871f5ffa8c88515'
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2008-01-091-59/+58
| | | | | | 26cc2ce45739af072e7ff4fdab5e8eb7cd756d50) to branch 'com.redhat.elfutils' (head bb519012dee7013b2cab5c2f5ed465cb3821b063)
* Simplify operand callback function interface.Ulrich Drepper2008-01-111-58/+59
|
* Add x86-64 disassembler support.Ulrich Drepper2008-01-091-21/+97
|
* Add remaining Intel x86 opcodes.Ulrich Drepper2008-01-041-0/+3
|
* Rewrite matcher to allow easier handling of SSE instructions.Ulrich Drepper2008-01-031-242/+66
| | | | A\\Correct/add copyrights.
* propagate from branch 'com.redhat.elfutils.disasm' (head ↵Ulrich Drepper2008-01-021-0/+914
d15b4eb794e81e477f9896fe82a74cb5ecf4514c) to branch 'com.redhat.elfutils' (head eaacbf01f8cc89d043ec6eca9b5e35cb5c4cde06)