Symboltabelle (readelf -s) nach gcc Kompilierung

Gast #1478129
Lesenswert?

Hallo, ich habe folgendes Programm mit dem gcc Kompiler erstellt:

class baseA {
public:
  int  Adat;
  int Ameth (int in, char other);
  int PublicVAR (int pub) {return pub;};
//  virtual int virtVAR (int arg) {return arg;};
protected:
  char ProtectedVAR;
private:
  int PrivateVAR;

};

int funktion (int a = 2, double b = 5) {
  return a;
}

int main() {

  baseA AbaseA;

  int InternVAR = 0;

  funktion();

}

Anschließend habe ich den readelf Befehl durchgeführt um die 
Symboltabelle zu betrachte:

  75: 0000fc36    40 FUNC    GLOBAL DEFAULT    1 _Z8funktionid

Nun verstehe ich nicht, was _Z8 bedeutet?? id ist mir klar, dass steht 
für int und double.

Ich hoffe ihr könnt mir helfen. Vielen Dank......

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren