Giter Club home page Giter Club logo

Comments (3)

0xgalz avatar 0xgalz commented on September 28, 2024

These errors mean that the vtable pointer was assigned to a register outside of the function where the virtual call was made from, or passed in unusual way. It might happens sometimes but it is not common, it depends what happens in this case specifically.

In case this BP is especially important, you can jump to address stated in the comment in IDA, and try to discover the reason your code acts like this.

In order to give you the correct answer to these errors I need to look at the Assembly or Assembly snippet of the case.
In order to add support for them in the future I need to understand exactly what caused them,
can you share the binary or share an assembly snippet?

Thanks!

Gal

from virtuailor.

happydpc avatar happydpc commented on September 28, 2024

Sure, I have uploaded a dll file. And run the main.py , these errors come:

DataPortPk.zip

ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0a6bb0: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0f97fc: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0f97fc: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0f97fc: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0f9eb4: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0faa00: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0fad50: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f0fc62c: the vtable pointer was assigned outside of function, could not place BP
ERROR at address 0x7ff99f10803d: the vtable pointer was assigned outside of function, could not place BP

from virtuailor.

0xgalz avatar 0xgalz commented on September 28, 2024

Hi! :)
I Fixed the issue and improved the comments.
If there is a vtable that was assigned outside of the function it'll now look like this:

Warning! At address 0x1400bd600: The vtable assignment might be in another function (Maybe sub_1402F8B18),could not place BP.

In this case the new comment is supposed to help and focus you where
you should look afterwards for the problematic virtual call.

Additionally there was a bug with how the CFG was handled and this bug was fixed,
as of today the amount of warnings/errors should be significantly lower.

I checked it on your DLL it seems to reduce the warnings/errors! :) (The warnings
are now all for BPs that their vtable address might change in previous function calls),

please let me know if it fixed your problem in your opinion too, so I could close the issue.
Thank you very much for reporting about this bug :)

from virtuailor.

Related Issues (17)

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.