GithubHelp home page GithubHelp logo

hartl3y94 / udis86 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmt/udis86

0.0 0.0 0.0 2.43 MB

Disassembler Library for x86 and x86-64

Home Page: http://udis86.sourceforge.net

License: BSD 2-Clause "Simplified" License

Shell 0.64% Python 37.38% C 53.78% Assembly 6.08% XSLT 1.22% CSS 0.90%

udis86's Introduction

Udis86
======

Udis86 is a disassembler for the x86 and x86-64 class of instruction set
architectures. It consists of a C library called libudis86 which
provides a clean and simple interface to decode a stream of raw binary
data, and to inspect the disassembled instructions in a structured
manner.


LICENSE
-------

Udis86 is distributed under the terms of the 2-clause "Simplified BSD
License".  A copy of the license is included with the source in LICENSE.


libudis86
---------

  o Supports all x86 and x86-64 (AMD64) General purpose and
    System instructions.
  o Supported ISA extensions:
    - MMX, FPU (x87), AMD 3DNow
    - SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AES,
    - AMD-V, INTEL-VMX, SMX
  o Instructions are defined in an XML document, with opcode
    tables generated for performance.
  o Supports output in both INTEL (NASM) as well as AT&T (GNU as) style
    assembly language syntax.
  o Supports a variety of input methods: Files, Memory Buffers, and
    Function Callback hooks.
  o Re-entrant, no dynamic memory allocation.
  o Fully documented API


  -- EXAMPLE -----------------------------------------------------------
    
    ud_t u;
    
    ud_init(&u);
    ud_set_input_file(&u, stdin);
    ud_set_mode(&u, 64);
    ud_set_syntax(&u, UD_SYN_INTEL);
    
    while (ud_disassemble(&u)) {
      printf("\t%s\n", ud_insn_asm(&ud_obj));
    }

  ----------------------------------------------------------------------
    

udcli
-----

udcli is a small command-line tool for your quick disassembly needs.

  -- EXAMPLE -----------------------------------------------------------

    $ echo "65 67 89 87 76 65 54 56 78 89 09 00 90" | udcli -32 -x 
    0000000080000800 656789877665     mov [gs:bx+0x6576], eax
    0000000080000806 54               push esp
    0000000080000807 56               push esi
    0000000080000808 7889             js 0x80000793
    000000008000080a 0900             or [eax], eax
    000000008000080c 90               nop

  ----------------------------------------------------------------------


Documentation
-------------

The libudis86 api is fully documented. The package distribution contains
a Texinfo file which can be installed by invoking "make install-info".
You can also find an online html version of the documentation available
at http://udis86.sourceforge.net/.


Autotools Build
---------------

You need autotools if building from sources cloned form version control
system, or if you need to regenerate the build system. The wrapper
script 'autogen.sh' is provided that'll generate the build system.


AUTHOR
------

Udis86 is written and maintained by Vivek Thampi ([email protected]).

udis86's People

Contributors

andersk avatar bjoernd avatar brendanlong avatar doomhammer avatar ebfe avatar falconkirtaran avatar felipensp avatar ghghost avatar jamieiles avatar justinstenning avatar mbarbu avatar radare avatar sbasalaev avatar serval2412 avatar sgraf812 avatar stephenfewer avatar turboencabulator avatar vegard avatar vmt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.