Giter Site home page Giter Site logo

elfmaster / binflow Goto Github PK

View Code? Open in Web Editor NEW
107.0 107.0 31.0 1.36 MB

This is the new ftrace (https://github.com/elfmaster/ftrace) - Much faster, better resolution but not complete yet! :)

Makefile 0.14% C 17.22% C++ 41.41% Python 1.22% Java 1.83% Shell 0.03% OCaml 0.87% Ruby 0.01% PHP 37.27% Tcl 0.01%

binflow's People

Contributors

elfmaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binflow's Issues

[Feature request] Extend support to ARM or RISC-V

Is it reasonable to request that this software be made easily extensible to other architectures, such as ARM and RISC-V? I, personally, would find great use in such a tool and would work to the best of my ability on it.

Capstone usage

Just found this, looks like a cool project!

Just some comments on how Capstone engine is used:

  • Latest version 3.0.2 is more complete, smaller & faster than v2.1.2, so please update.

  • The API cs_disasm_ex() is still supported (but deprecated) but it is better to use the new API name cs_disasm() now.

  • Rather than checking instruction mnemonic string, you can use instruction id (cs_insn.id), such as X86_INS_JAE, for example.

  • In Capstone 3.0.2, you can easily check if an instruction is a JUMP instruction by using the API cs_insn_group() with group id X86_GRP_JUMP, like followings:

    if (cs_insn_group(handle, insn, X86_GRP_JUMP)) { /* this is a jump instruction */ }

    We also have other groups such for CALL, INT, IRET etc. See x86.h for more info.

  • For more details, see tests\test_x86.c on how to take advantage of some other API (such as turning on DETAIL mode for above instruction details)

Thanks.

I hope you can continue to update.

I feel that your tool is great, but sometimes I have some problems, so I hope that you can continue to update to solve these bugs, thank you.

segfault on startup

No matter whether tracing with -b or -p, binflow always crashes with a segfault.
trace:

Stack trace of thread 20472:
                                              #0  0x000000000040375f n/a (binflow)
                                              #1  0x0000000000403ee0 n/a (binflow)
                                              #2  0x0000000000402f7a n/a (binflow)
                                              #3  0x00007fc9b65ea291 __libc_start_main (libc.so.6)
                                              #4  0x0000000000402949 n/a (binflow)

Runing on Arch linux x86_64 4.8.13-1

pid_read() failed: Input/output error <0x0> with /bin/ls

$binflow -s -b /bin/ls
PLT_call@0x4049c4: _setjmp("AWAVAUATUS")
LOCAL_call@0x41395c: sub_4022d0()
PLT_call@0x40da7e: lseek("/bin/ls", 0x2f)
PLT_call@0x40ccf5: getenv("BLOCK_SIZE", 0x61f148)
PLT_call@0x40cd0b: getenv((text_t *)4189ec, 0x61f148)
PLT_call@0x40cd21: getenv("POSIXLY_CORRECT", 0x61f148)
PLT_call@0x40ebe7: strncmp()
LOCAL_call@0x40ec06: sub_411830()
LOCAL_call@0x41183f: sub_411680(0x38)
PLT_call@0x411684: ungetc(0x38, 0x38, 0x1)
PLT_call@0x40ebe7: strncmp()
LOCAL_call@0x40ec06: sub_411830()
LOCAL_call@0x41183f: sub_411680(0x38)
PLT_call@0x411684: ungetc(0x38, 0x38, 0x38)
pid_read() failed: Input/output error <0x0>

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.