In java, we can learn the java class using the javap disassembeler methods. how to do the same in c ++?

I am new to this community, so if I violate any of our communities by asking this question in the wrong section, I'm sorry. I have been looking for answers to this question for a long time, but none of the results were relevant.

  • I just want to know that in java we were able to learn the methods of the java class using javap, how to do the same in C ++ ???
  • Suppose I wanted to see all the methods of the String class in java, I would use javap, with which all its methods will be displayed, their return type, the number of arguments and their data type, etc.
  • How to do the same in C ++ ???
  • There is also a command line method for learning that all packages and classes exist in a particular Java package.
  • Suppose, java** java.awt.*or any such method, to know all the packages and classes within a specific package.
+4
source share
2 answers

I just want to know that in java we were able to learn the methods of the java class using javap, how to do the same in C ++ ???

You cannot get anything useful. For C ++ assemblies, the best you can get are garbled names. Java stores all the signatures of class methods in a .class file, so they can be referenced and referenced. But C ++ compiles for assembly, and it works with memory addresses and stacks and other lower-level materials.

, String java, javap, , , .. ++???

. ++: . . , ++ .

, Java?

Java javap . :)

++ . , Microsoft Visual ++ dumpbin CLI, . , , , .

, java ** java.awt. * .

...

(, , ( Java)) , . , ( ), ( ) .

+1

( ++), , , ..

++ .

++ .
Java .

0

Source: https://habr.com/ru/post/1677109/


All Articles