Git Product home page Git Product logo

Comments (2)

cblichmann avatar cblichmann commented on May 4, 2024

Hi there,

If IDA Pro does not identify any functions, BinExport will not have any entry points to start from and hence will also not find any. That the downstream BinDiff results are not useful in this case is to be expected.
I'm curious though, as to why IDA does not find any functions in a stripped binary. Didn't you complete the auto-analysis using autowait or similar?

If you want to prevent BinDiff from using symbol information, you need to disable the respective algorithm in the bindiff.xml config file. In /etc/opt/bindiff.xml or in your local ~/.bindiff/bindiff.xml, comment out the function: name hash matching step under the function-matching element.
Note that this should rarely be necessary, as BinDiff will only use "real" names, i.e. those that belong to either imported functions (without an actual body in the current binary) or user-supplied ones. It will ignore auto-generated names from the disassemblers ("sub_xxxxx").

from binexport.

YashasAndaluri avatar YashasAndaluri commented on May 4, 2024

Thank you for the suggestions.

I do have an autoWait() call in the .idc script for IDA, to wait for auto-analysis to finish for the stripped binary.

Using BinDiff after disabling the function: name hash matching algorithm in the bindiff.xml config file looks like a good solution for my case as I have real function names in the binaries before stripping.

from binexport.

Related Issues (20)

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.