Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP bindings for udis86 library
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
CREDITS
EXPERIMENTAL
README.md
config.m4
config.w32
package.xml
php_udis86.c
php_udis86.h

README.md

php-udis86

PHP bindings for udis86 library

For more information: http://pecl.php.net/package/udis86

<?php

$rs = udis86_init();

udis86_input_file($rs, "/bin/false");
udis86_set_mode($rs, 64);
udis86_set_syntax($rs, UDIS86_ATT);

while (udis86_disassemble($rs)) {
    printf("%s\t|\t%-30s\t// len=%d - hex=%s\n", 
        udis86_insn_off($rs),
        udis86_insn_asm($rs),
        udis86_insn_len($rs),
        udis86_insn_hex($rs));
}

udis86_close($rs);
Something went wrong with that request. Please try again.