Git Product home page Git Product logo

Comments (5)

dguido avatar dguido commented on April 28, 2024

The standard advice when mcsema fails with bin_descend is to try using it with IDA. Can you name the specific binary you're trying to recover?

from mcsema.

bannsec avatar bannsec commented on April 28, 2024

It was the donfos binary in the HackIM contest:

https://github.com/ctfs/write-ups-2016/raw/master/nullcon-hackim-2016/re/donfos-500/donfos_reversing

Any suggestion on how to add the isoc99_scanf into the std defs file?

from mcsema.

pgoodman avatar pgoodman commented on April 28, 2024

I took a quickly googled for the prototypes of isoc99_scanf: http://www.ic.unicamp.br/~islene/2s2008-mo806/libc/stdio-common/isoc99_scanf.c and scanf: http://www.tutorialspoint.com/c_standard_library/c_function_scanf.htm and they are the same. We've also already got a different named version of the function here: https://github.com/trailofbits/mcsema/blob/master/mc-sema/std_defs/std_defs.txt#L774

My suggestion: copy that line, rename the function, and submit a commit / pull request ;-)

from mcsema.

bannsec avatar bannsec commented on April 28, 2024

Worked. Thanks!

from mcsema.

dguido avatar dguido commented on April 28, 2024

Cool! I'll make sure that a ton of new standard definitions are added to the next big feature push.

from mcsema.

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.