You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conceptually, very little is missing for us to introspect on C++. But one unfortunate thing is that dumpallocs.ml does not work on C++ source, so we will need a C++ified version of that anyway... there is at least one C++ clang-based tool in toolsub that would be a good base.
Continuing that thought: if it uses (built-in) operator new then we need to add this to our list of allocation functions. The binary analysis (objdumpallocs / objdumpmeta) should have no trouble with this. At source level, the built-in operator new is polymorphic, but at linker level it always seems to come out as operator new[](unsigned long). If I write a simple bit of C++ code that does new...
So in our C++ified version ofdumpallocs.ml, as well as doing the sizeofness analysis for C-style allocation functions (or maybe the generalised version of it mooted in #63), we need something simpler for C++ that can dump the source type of a built-in operator new application.
The text was updated successfully, but these errors were encountered:
Conceptually, very little is missing for us to introspect on C++. But one unfortunate thing is that
dumpallocs.ml
does not work on C++ source, so we will need a C++ified version of that anyway... there is at least one C++ clang-based tool in toolsub that would be a good base.Continuing that thought: if it uses (built-in)
operator new
then we need to add this to our list of allocation functions. The binary analysis (objdumpallocs
/objdumpmeta
) should have no trouble with this. At source level, the built-inoperator new
is polymorphic, but at linker level it always seems to come out asoperator new[](unsigned long)
. If I write a simple bit of C++ code that doesnew
...So in our C++ified version of
dumpallocs.ml
, as well as doing the sizeofness analysis for C-style allocation functions (or maybe the generalised version of it mooted in #63), we need something simpler for C++ that can dump the source type of a built-inoperator new
application.The text was updated successfully, but these errors were encountered: