Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (lldb) f 1
- frame #1: 0x0000000100213720 bitcoind`void CBlock::Unserialize<CBufferedFile>(CBufferedFile&) [inlined] unsigned int ser_readdata32<CBufferedFile>(s=0x00007000082f0c00) at serialize.h:123:7 [opt]
- 120 template<typename Stream> inline uint32_t ser_readdata32(Stream &s)
- 121 {
- 122 uint32_t obj;
- -> 123 s.read((char*)&obj, 4);
- 124 return le32toh(obj);
- 125 }
- 126 template<typename Stream> inline uint32_t ser_readdata32be(Stream &s)
- (lldb) f 0
- frame #0: 0x0000000100213635 bitcoind`CBufferedFile::read(this=0x00000001018cf630, pch="\x02", nSize=123145439612064) at streams.h:779:13 [opt]
- 776 //! read a number of bytes
- 777 void read(char *pch, size_t nSize) {
- 778 if (nSize + nReadPos > nReadLimit)
- -> 779 throw std::ios_base::failure("Read attempted past buffer limit");
- 780 if (nSize + nRewind > vchBuf.size())
- 781 throw std::ios_base::failure("Read larger than buffer size");
- 782 while (nSize > 0) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement