Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==9319== Memcheck, a memory error detector
- ==9319== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==9319== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==9319== Command: ./a.out http://google.com
- ==9319==
- url: http://google.com
- ==9319== Source and destination overlap in memcpy(0x7ce5960, 0x7ce5828, 528)
- ==9319== at 0x4C27B46: memcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==9319== by 0x4ED910E: boost::re_detail::raw_storage::insert(unsigned long, unsigned long) (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4EBC17F: boost::re_detail::basic_regex_creator<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::insert_state(long, boost::re_detail::syntax_element_type, unsigned long) (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4EBC299: boost::re_detail::basic_regex_parser<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::parse_repeat(unsigned long, unsigned long) (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4EC51BD: boost::re_detail::basic_regex_parser<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::parse_extended() (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4EC0610: boost::re_detail::basic_regex_parser<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::parse(char const*, char const*, unsigned int) (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4EC61DC: boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int) (in /usr/lib/libboost_regex.so.1.46.1)
- ==9319== by 0x4042F1: boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::assign(char const*, char const*, unsigned int) (basic_regex.hpp:379)
- ==9319== by 0x403E26: boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::assign(char const*, unsigned int) (basic_regex.hpp:364)
- ==9319== by 0x403981: boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::basic_regex(char const*, unsigned int) (basic_regex.hpp:333)
- ==9319== by 0x402F99: main (regex.cpp:18)
- ==9319==
- scheme: http
- domain: google.com
- found: 0
- ==9319== Source and destination overlap in memcpy(0x7ce5058, 0x7ce505f, 10)
- ==9319== at 0x4C27B46: memcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==9319== by 0x51D67A8: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/libstdc++.so.6.0.16)
- ==9319== by 0x51D6D20: std::string::erase(unsigned long, unsigned long) (in /usr/lib/libstdc++.so.6.0.16)
- ==9319== by 0x40334C: main (regex.cpp:42)
- ==9319==
- ==9319==
- ==9319== HEAP SUMMARY:
- ==9319== in use at exit: 0 bytes in 0 blocks
- ==9319== total heap usage: 33 allocs, 33 frees, 21,524 bytes allocated
- ==9319==
- ==9319== All heap blocks were freed -- no leaks are possible
- ==9319==
- ==9319== For counts of detected and suppressed errors, rerun with: -v
- ==9319== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 9 from 7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement