Giter Club home page Giter Club logo

Comments (7)

edmcman avatar edmcman commented on June 1, 2024

It took me a bit of looking at this to spot the problem. Here's a prettified snippet:

      {
         "vfptr" : "12",
         "entries" : "",
         "ea" : "41dcdc"
      }

Entries should be an empty array instead of an empty string.

from pharos.

edmcman avatar edmcman commented on June 1, 2024

Which executable was this?

from pharos.

edmcman avatar edmcman commented on June 1, 2024

https://groups.google.com/forum/#!topic/boost-list/waAFNVV-RhE :(

from pharos.

sei-ccohen avatar sei-ccohen commented on June 1, 2024

That bug is not that surprising. I know that sei-jgennari had been fighting with exactly this bug before release. There must be a spot he missed or a regression or something like that. We'll investigate more as soon as we can.

from pharos.

lcytxw avatar lcytxw commented on June 1, 2024

The executable was compiled from oo.cpp in /pharos/src. The program does not crash directly, but return a null vftList even if the "Vftables" fields has a right "entries" items in config file. So why not just ignore the empty “entries” field when generate config file because I think None "entries" is useless. for example:

/pharos/libpharos/oojson_exporter.cpp:
259 methods_associated.insert(vfunc->get_address());
260 json_vft_entries.push_back(std::make_pair("",json_vf)); // add the new vf
261 voff++;
262 }
263
264 ++ if(!json_vft_entries.empty())
265 ++ json_vft.put_child("entries",json_vft_entries);
266
267 json_vftables.push_back(std::make_pair("", json_vft));
268
269 GDEBUG << "Vftable added" << LEND;

from pharos.

sei-eschwartz avatar sei-eschwartz commented on June 1, 2024

Can you see if this was fixed? @sei-jgennari committed some changes that were intended to fix this.

from pharos.

lcytxw avatar lcytxw commented on June 1, 2024

Yes, It works.

from pharos.

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.