News for hackers. Stuff that matters.
Re:How to break everything by fuzz testing by ToFab123 on Sunday April 26, 2020 @09:54PM (#22992195)
Interesting. Is there any fuzzing libraries for c#?
Re:How to break everything by fuzz testing by thewebcount on Sunday April 26, 2020 @10:44PM (#22992410)
Can you call c# from C? If so, then you can just use any C fuzzing library, and have it call your C# code. I do this with C++ and Objective-C using clang's libfuzzer. You write a single C function that takes a pointer to a buffer and a length and pass it to whomever you want. I just write a C wrapper that calls my Objective-C or C++ functions with the data.
Re:How to break everything by fuzz testing by snazz on Monday April 27, 2020 @01:48PM (#22998103)
Doesn't libFuzzer only require `extern "C" int LLVMFuzzerTestOneInput(...` to fuzz C++ code? What else does your C wrapper do beyond that? Google puts their fuzz tests right alongside the rest of the Chromium source code, which is C++.
Re:How to break everything by fuzz testing by gnud on Monday April 27, 2020 @06:43AM (#22994629)
There's a "port" of AFL - https://github.com/Metalnem/sharpfuzz