403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/go/src/debug/dwarf/testdata/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/go/src/debug/dwarf/testdata/cppunsuptypes.cc
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// cppunsuptypes.elf built with g++ 7.3
//    g++ -g -c -o cppunsuptypes.elf cppunsuptypes.cc

int i = 3;
double d = 3;

// anonymous reference type
int &culprit = i;

// named reference type
typedef double &dref;
dref dr = d;

// incorporated into another type
typedef struct {
  dref q;
  int &r;
} hasrefs;

hasrefs hr = { d, i };

// This code is intended to trigger a DWARF "pointer to member" type DIE
struct CS { int dm; };

int foo()
{
  int CS::* pdm = &CS::dm;
  CS cs = {42};
  return cs.*pdm;
}

Youez - 2016 - github.com/yon3zu
LinuXploit