Giter VIP home page Giter VIP logo

Comments (4)

BlackBird-BB avatar BlackBird-BB commented on July 28, 2024

I got the same problem with yours. Do you figure it out?

from libprotobuf-mutator.

BlackBird-BB avatar BlackBird-BB commented on July 28, 2024

It seems that "libxml2.a" is no longger exist in the folder. So I try to edit build.ninja. Replace "libxml2.a" with libxml2.so. And it seems to work firstly, but It stuck at the final step……

from libprotobuf-mutator.

BlackBird-BB avatar BlackBird-BB commented on July 28, 2024

O,It doesnot stuck, It's just slow……

from libprotobuf-mutator.

BlackBird-BB avatar BlackBird-BB commented on July 28, 2024

Still,,,problem

blackbird@ubuntu ~/F/l/build (master) [SIGINT]> ctest -j2 --output-on-failure
Test project /home/blackbird/FUZZ/libprotobuf-mutator/build
Start 1: test.protobuf_mutator_test_0
Start 2: test.protobuf_mutator_test_1
1/8 Test #1: test.protobuf_mutator_test_0 ..... Passed 46.85 sec
Start 3: test.protobuf_mutator_test_2
2/8 Test #2: test.protobuf_mutator_test_1 ..... Passed 58.77 sec
Start 4: test.protobuf_mutator_test_3
3/8 Test #3: test.protobuf_mutator_test_2 ..... Passed 50.61 sec
Start 5: test.protobuf_libfuzzer_test
4/8 Test #5: test.protobuf_libfuzzer_test ..... Passed 0.01 sec
Start 6: test.expat_example_test
5/8 Test #6: test.expat_example_test .......... Passed 1.20 sec
Start 7: test.libfuzzer_example_test
6/8 Test #4: test.protobuf_mutator_test_3 ..... Passed 51.12 sec
Start 8: test.libxml2_example_test
7/8 Test #8: test.libxml2_example_test ........Failed 0.67 sec
Running main() from /home/blackbird/FUZZ/libprotobuf-mutator/build/external.googletest/src/external.googletest/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from LibXml2ExampleTest
[ RUN ] LibXml2ExampleTest.Fuzz
ASAN_OPTIONS=detect_leaks=0 ./libxml2_example -detect_leaks=0 -len_control=0 -max_len=500 -runs=10000 -artifact_prefix=/tmp/libxml2_example_test_uFRYZc/ /tmp/libxml2_example_test_uFRYZc/
INFO: Seed: 1729723545
INFO: Loaded 1 modules (113 inline 8-bit counters): 113 [0x76f218, 0x76f289),
INFO: Loaded 1 PC tables (113 PCs): 113 [0x6a02c0,0x6a09d0),
INFO: 0 files found in /tmp/libxml2_example_test_uFRYZc/
INFO: A corpus is not provided, starting from an empty corpus
#2 INITED cov: 35 ft: 36 corp: 1/1b exec/s: 0 rss: 27Mb
#4 NEW cov: 36 ft: 37 corp: 2/25b lim: 500 exec/s: 0 rss: 28Mb L: 24/24 MS: 2 CustomCrossOver-CustomCrossOver-
#5 NEW cov: 36 ft: 38 corp: 3/64b lim: 500 exec/s: 0 rss: 28Mb L: 39/39 MS: 1 CustomCrossOver-
#6 NEW cov: 36 ft: 39 corp: 4/123b lim: 500 exec/s: 0 rss: 28Mb L: 59/59 MS: 1 CustomCrossOver-
#19 REDUCE cov: 36 ft: 39 corp: 4/119b lim: 500 exec/s: 0 rss: 28Mb L: 55/55 MS: 3 Custom-CustomCrossOver-CustomCrossOver-
#30 REDUCE cov: 36 ft: 39 corp: 4/108b lim: 500 exec/s: 0 rss: 28Mb L: 13/55 MS: 1 Custom-
#42 REDUCE cov: 36 ft: 39 corp: 4/96b lim: 500 exec/s: 0 rss: 28Mb L: 43/43 MS: 3 Custom-InsertByte-Custom-
#44 REDUCE cov: 36 ft: 39 corp: 4/95b lim: 500 exec/s: 0 rss: 28Mb L: 38/43 MS: 2 CustomCrossOver-CustomCrossOver-
NEW_FUNC[1/65]: 0x4b5410 in std::unique_ptr<_xmlBuffer, void (
)(_xmlBuffer
)> (anonymous namespace)::MakeUnique<_xmlBuffer, void (
)(_xmlBuffer*)>(_xmlBuffer*, void ()(_xmlBuffer)) /home/blackbird/FUZZ/libprotobuf-mutator/build/../examples/libxml2/libxml2_example.cc:27
NEW_FUNC[2/65]: 0x4b54a0 in std::unique_ptr<_xmlSaveCtxt, int ()(_xmlSaveCtxt)> (anonymous namespace)::MakeUnique<_xmlSaveCtxt, int ()(_xmlSaveCtxt)>(_xmlSaveCtxt*, int ()(_xmlSaveCtxt)) /home/blackbird/FUZZ/libprotobuf-mutator/build/../examples/libxml2/libxml2_example.cc:27
#64 REDUCE cov: 105 ft: 114 corp: 5/172b lim: 500 exec/s: 0 rss: 31Mb L: 77/77 MS: 10 Custom-CustomCrossOver-CustomCrossOver-CustomCrossOver-InsertRepeatedBytes-ShuffleBytes-CopyPart-ShuffleBytes-ChangeBinInt-Custom-
#109 REDUCE cov: 105 ft: 114 corp: 5/170b lim: 500 exec/s: 0 rss: 31Mb L: 11/77 MS: 5 CustomCrossOver-CustomCrossOver-Custom-CustomCrossOver-Custom-
#185 REDUCE cov: 105 ft: 114 corp: 5/159b lim: 500 exec/s: 0 rss: 31Mb L: 27/77 MS: 1 Custom-
#193 REDUCE cov: 105 ft: 114 corp: 5/155b lim: 500 exec/s: 0 rss: 31Mb L: 39/77 MS: 4 Custom-CustomCrossOver-InsertByte-Custom-
#220 REDUCE cov: 105 ft: 114 corp: 5/98b lim: 500 exec/s: 0 rss: 31Mb L: 20/39 MS: 3 InsertRepeatedBytes-Custom-Custom-
#271 REDUCE cov: 105 ft: 114 corp: 5/89b lim: 500 exec/s: 0 rss: 31Mb L: 11/39 MS: 2 CMP-Custom- DE: "\x01\x00\x00\x00"-
#336 REDUCE cov: 105 ft: 114 corp: 5/78b lim: 500 exec/s: 0 rss: 31Mb L: 28/28 MS: 6 CustomCrossOver-Custom-InsertRepeatedBytes-Custom-CustomCrossOver-Custom-
#1161 REDUCE cov: 105 ft: 115 corp: 6/214b lim: 500 exec/s: 0 rss: 31Mb L: 136/136 MS: 9 CustomCrossOver-EraseBytes-ShuffleBytes-ChangeBinInt-Custom-CustomCrossOver-CustomCrossOver-CMP-Custom- DE: "\x00\x00\x00\x00"-
#1367 REDUCE cov: 105 ft: 115 corp: 6/196b lim: 500 exec/s: 0 rss: 31Mb L: 118/118 MS: 1 Custom-
#1368 REDUCE cov: 105 ft: 115 corp: 6/182b lim: 500 exec/s: 0 rss: 31Mb L: 104/104 MS: 1 Custom-
#1945 REDUCE cov: 105 ft: 116 corp: 7/337b lim: 500 exec/s: 0 rss: 31Mb L: 155/155 MS: 4 ChangeBinInt-Custom-PersAutoDict-Custom- DE: "\x00\x00\x00\x00"-
#1957 REDUCE cov: 105 ft: 116 corp: 7/278b lim: 500 exec/s: 0 rss: 31Mb L: 96/104 MS: 3 CopyPart-Custom-Custom-
#2108 REDUCE cov: 105 ft: 116 corp: 7/250b lim: 500 exec/s: 0 rss: 31Mb L: 76/96 MS: 1 CustomCrossOver-
#3329 REDUCE cov: 105 ft: 116 corp: 7/248b lim: 500 exec/s: 0 rss: 31Mb L: 94/94 MS: 2 EraseBytes-Custom-
#3525 REDUCE cov: 105 ft: 116 corp: 7/245b lim: 500 exec/s: 0 rss: 31Mb L: 91/91 MS: 2 EraseBytes-Custom-
#6936 REDUCE cov: 105 ft: 116 corp: 7/241b lim: 500 exec/s: 0 rss: 31Mb L: 87/87 MS: 2 EraseBytes-Custom-
#7052 REDUCE cov: 105 ft: 116 corp: 7/237b lim: 500 exec/s: 0 rss: 31Mb L: 72/87 MS: 1 CustomCrossOver-
#7628 REDUCE cov: 105 ft: 116 corp: 7/235b lim: 500 exec/s: 0 rss: 31Mb L: 85/85 MS: 2 EraseBytes-Custom-
#8264 REDUCE cov: 105 ft: 116 corp: 7/234b lim: 500 exec/s: 0 rss: 31Mb L: 84/84 MS: 2 ChangeByte-Custom-
#10000 DONE cov: 105 ft: 116 corp: 7/234b lim: 500 exec/s: 0 rss: 31Mb

Recommended dictionary.

"\x01\x00\x00\x00" # Uses: 276
"\x00\x00\x00\x00" # Uses: 201

End of recommended dictionary.

Done 10000 runs in 0 second(s)
../examples/libxml2/libxml2_example_test.cc:27: Failure
Expected: (CountFilesInDir()) > (100), actual: 6 vs 100
[ FAILED ] LibXml2ExampleTest.Fuzz (669 ms)
[----------] 1 test from LibXml2ExampleTest (669 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (669 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] LibXml2ExampleTest.Fuzz

1 FAILED TEST

8/8 Test #7: test.libfuzzer_example_test ......**Failed 601.16 sec
Running main() from /home/blackbird/FUZZ/libprotobuf-mutator/build/external.googletest/src/external.googletest/googletest/src/gtest_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from LibFuzzerExampleTest
[ RUN ] LibFuzzerExampleTest.Text
ASAN_OPTIONS=detect_leaks=0 ./libfuzzer_example -detect_leaks=0 -len_control=0 -max_len=1000 -runs=10000000 -artifact_prefix=/tmp/libxml2_example_test_EysgnN/ /tmp/libxml2_example_test_EysgnN/
INFO: Seed: 1718501937
INFO: Loaded 1 modules (204 inline 8-bit counters): 204 [0x75b0b8, 0x75b184),
INFO: Loaded 1 PC tables (204 PCs): 204 [0x691260,0x691f20),
INFO: 0 files found in /tmp/libxml2_example_test_EysgnN/
INFO: A corpus is not provided, starting from an empty corpus
#2 INITED cov: 45 ft: 46 corp: 1/1b exec/s: 0 rss: 26Mb
NEW_FUNC[1/1]: 0x4b81b0 in google::protobuf::internal::InternalMetadata::ContainerBase
google::protobuf::internal::InternalMetadata::PtrValuegoogle::protobuf::internal::InternalMetadata::ContainerBase() const /home/blackbird/FUZZ/libprotobuf-mutator/build/external.protobuf/include/google/protobuf/metadata_lite.h:175
#3 NEW cov: 47 ft: 59 corp: 2/58b lim: 1000 exec/s: 0 rss: 29Mb L: 57/57 MS: 1 CustomCrossOver-
#4 NEW cov: 47 ft: 62 corp: 3/169b lim: 1000 exec/s: 0 rss: 29Mb L: 111/111 MS: 2 InsertByte-Custom-
#16 REDUCE cov: 47 ft: 62 corp: 3/95b lim: 1000 exec/s: 0 rss: 29Mb L: 37/57 MS: 2 CustomCrossOver-Custom-
#20447 REDUCE cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 0 rss: 29Mb L: 56/56 MS: 2 InsertByte-Custom-
#65536 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 32768 rss: 29Mb
#131072 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26214 rss: 29Mb
#262144 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26214 rss: 29Mb
#524288 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26214 rss: 29Mb
#1048576 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26214 rss: 29Mb
#2097152 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26546 rss: 29Mb
#4194304 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26546 rss: 29Mb
#8388608 pulse cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26630 rss: 29Mb
#10000000 DONE cov: 47 ft: 62 corp: 3/94b lim: 1000 exec/s: 26525 rss: 29Mb
Done 10000000 runs in 377 second(s)
../examples/libfuzzer/libfuzzer_example_test.cc:28: Failure
Expected equality of these values:
kDefaultLibFuzzerError
Which is: 77
GetError(RunFuzzer("libfuzzer_example", 1000, 10000000))
Which is: 0
[ FAILED ] LibFuzzerExampleTest.Text (377116 ms)
[ RUN ] LibFuzzerExampleTest.Binary
ASAN_OPTIONS=detect_leaks=0 ./libfuzzer_bin_example -detect_leaks=0 -len_control=0 -max_len=1000 -runs=10000000 -artifact_prefix=/tmp/libxml2_example_test_BBcr5N/ /tmp/libxml2_example_test_BBcr5N/
INFO: Seed: 2095619398
INFO: Loaded 1 modules (204 inline 8-bit counters): 204 [0x75b0b8, 0x75b184),
INFO: Loaded 1 PC tables (204 PCs): 204 [0x691260,0x691f20),
INFO: 0 files found in /tmp/libxml2_example_test_BBcr5N/
INFO: A corpus is not provided, starting from an empty corpus
#2 INITED cov: 12 ft: 13 corp: 1/1b exec/s: 0 rss: 26Mb
NEW_FUNC[1/12]: 0x4b5450 in TestOneProtoInput(libfuzzer_example::Msg const&) /home/blackbird/FUZZ/libprotobuf-mutator/build/../examples/libfuzzer/libfuzzer_bin_example.cc:50
NEW_FUNC[2/12]: 0x4b57b0 in google::protobuf::FileDescriptorProto::FileDescriptorProto() /home/blackbird/FUZZ/libprotobuf-mutator/build/external.protobuf/include/google/protobuf/descriptor.pb.h:490
#3 NEW cov: 27 ft: 37 corp: 2/66b lim: 1000 exec/s: 0 rss: 29Mb L: 65/65 MS: 1 CustomCrossOver-
#24 NEW cov: 27 ft: 41 corp: 3/76b lim: 1000 exec/s: 0 rss: 29Mb L: 10/65 MS: 2 CopyPart-Custom-
#118 REDUCE cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 0 rss: 29Mb L: 10/10 MS: 5 CustomCrossOver-CustomCrossOver-ChangeByte-Custom-Custom-
#131072 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 65536 rss: 29Mb
#262144 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 52428 rss: 29Mb
#524288 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 47662 rss: 29Mb
#1048576 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 45590 rss: 29Mb
#2097152 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 45590 rss: 29Mb
#4194304 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 45100 rss: 29Mb
#8388608 pulse cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 44858 rss: 29Mb
#10000000 DONE cov: 27 ft: 41 corp: 3/21b lim: 1000 exec/s: 44642 rss: 29Mb
Done 10000000 runs in 224 second(s)
../examples/libfuzzer/libfuzzer_example_test.cc:33: Failure
Expected equality of these values:
kDefaultLibFuzzerError
Which is: 77
GetError(RunFuzzer("libfuzzer_bin_example", 1000, 10000000))
Which is: 0
[ FAILED ] LibFuzzerExampleTest.Binary (224038 ms)
[----------] 2 tests from LibFuzzerExampleTest (601154 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (601154 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] LibFuzzerExampleTest.Text
[ FAILED ] LibFuzzerExampleTest.Binary

2 FAILED TESTS

75% tests passed, 2 tests failed out of 8

Total Test time (real) = 699.84 sec

The following tests FAILED:
7 - test.libfuzzer_example_test (Failed)
8 - test.libxml2_example_test (Failed)
Errors while running CTest

from libprotobuf-mutator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.