Skip to content

Instantly share code, notes, and snippets.

@oyearunpal
Created February 11, 2020 11:02
Show Gist options
  • Save oyearunpal/235d5c8b5ca7dc12ec3eed99b6c48c0e to your computer and use it in GitHub Desktop.
Save oyearunpal/235d5c8b5ca7dc12ec3eed99b6c48c0e to your computer and use it in GitHub Desktop.
$1 = (std::ofstream &) @0xf1a238: {
<std::basic_ostream<char, std::char_traits<char> >> = {
<std::basic_ios<char, std::char_traits<char> >> = <invalid address>,
members of std::basic_ostream<char, std::char_traits<char> >:
_vptr.basic_ostream = 0x3132300000eccd50
},
members of std::basic_ofstream<char, std::char_traits<char> >:
_M_filebuf = {
<std::basic_streambuf<char, std::char_traits<char> >> = {
_vptr.basic_streambuf = 0xe27869662e2a2f31,
_M_in_beg = 0x616572726f669980 <error: Cannot access memory at address 0x616572726f669980>,
_M_in_cur = 0x676e6964 <error: Cannot access memory at address 0x676e6964>,
_M_in_end = 0x2716890 "1581403414,0,211,9,16,16273,0,0,0,1038,135,39,0,0\n\n1\nCode,critRej,critRejCode,downtime,ott,opsportfolioID,opsCnt,activeportfolioID,activeCnt\n",
_M_out_beg = 0x2716890 "1581403414,0,211,9,16,16273,0,0,0,1038,135,39,0,0\n\n1\nCode,critRej,critRejCode,downtime,ott,opsportfolioID,opsCnt,activeportfolioID,activeCnt\n",
_M_out_cur = 0x2716890 "1581403414,0,211,9,16,16273,0,0,0,1038,135,39,0,0\n\n1\nCode,critRej,critRejCode,downtime,ott,opsportfolioID,opsCnt,activeportfolioID,activeCnt\n",
_M_out_end = 0x271888f "",
_M_buf_locale = {
static none = 0,
static ctype = 1,
static numeric = 2,
static collate = 4,
static time = 8,
static monetary = 16,
static messages = 32,
static all = 63,
_M_impl = 0xf3b300 <(anonymous namespace)::c_locale_impl>,
static _S_classic = 0xf3b300 <(anonymous namespace)::c_locale_impl>,
static _S_global = 0xf3b300 <(anonymous namespace)::c_locale_impl>,
static _S_categories = 0xc14fe0 <__gnu_cxx::category_names>,
static _S_once = 2,
static _S_twinned_facets = 0xec9440 <std::locale::_S_twinned_facets>
}
},
members of std::basic_filebuf<char, std::char_traits<char> >:
_M_lock = pthread_mutex_t = {
Type = Normal,
Status = Not acquired,
Robust = No,
Shared = No,
Protocol = None
},
_M_file = {
_M_cfile = 0x27165c0,
_M_cfile_created = true
},
_M_mode = 17,
_M_state_beg = {
__count = 0,
__value = {
__wch = 0,
__wchb = "\000\000\000"
}
},
_M_state_cur = {
__count = 0,
__value = {
__wch = 0,
__wchb = "\000\000\000"
}
},
_M_state_last = {
__count = 0,
__value = {
__wch = 0,
__wchb = "\000\000\000"
}
},
_M_buf = 0x2716890 "1581403414,0,211,9,16,16273,0,0,0,1038,135,39,0,0\n\n1\nCode,critRej,critRejCode,downtime,ott,opsportfolioID,opsCnt,activeportfolioID,activeCnt\n",
_M_buf_size = 8192,
_M_buf_allocated = true,
_M_reading = false,
_M_writing = true,
_M_pback = 0 '\000',
_M_pback_cur_save = 0x0,
_M_pback_end_save = 0x0,
_M_pback_init = false,
_M_codecvt = 0xf3ac90 <(anonymous namespace)::codecvt_c>,
_M_ext_buf = 0x0,
_M_ext_buf_size = 0,
_M_ext_next = 0x0,
_M_ext_end = 0x0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment