Skip to content
Snippets Groups Projects

LibFuzzer support

Merged Jan Včelák requested to merge packet-libfuzzer into master

This changeset contains:

  • support for compiler sanitizers and sanitizer coverage in configure
  • support for LibFuzzer
  • fuzzy test for packet based on LibFuzzer
  • fix for NAPTR RR parsing (found by LibFuzzer)
  • limit for maximal number of RRs in a parsed packet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 #include <assert.h>
18 #include <stdint.h>
19 #include <stdio.h>
20 #include <signal.h>
21
22 #include "libknot/libknot.h"
23
24 int LLVMFuzzerTestOneInput(const unsigned char *data, size_t size)
25 {
26 uint8_t *copy = malloc(size);
  • :thumbsup: The configure changes should be verified by @ondrej :-)

  • Daniel Salzman mentioned in commit 444c2122

    mentioned in commit 444c2122

  • Daniel Salzman Status changed to merged

    Status changed to merged

  • Please register or sign in to reply
    Loading