Advertisement
Guest User

Untitled

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