Benign freebsd Download

kern_kcov.c

Source contains an unconditional loopSource references XOR syntax
SHA-256434e3b28cae8b701e7bec3f8a154bfca2a604423bb93f53babdcd7abf96e3050

Evidence

English function-word token "the" lines 1–12
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (C) 2018 The FreeBSD Foundation. All rights reserved.
5 * Copyright (C) 2018, 2019 Andrew Turner
6 *
7 * This software was developed by Mitchell Horne under sponsorship of
8 * the FreeBSD Foundation.
9 *
10 * This software was developed by SRI International and the University of
11 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
12 …
English function-word token "that" lines 14–17
14:7… istribution and use in source and binary forms, with or without
15 * modification, are permitted provided that the following conditions
16 * are met:
17 * 1. Redistributions of source code must retain the above …
English function-word token "for" lines 25–26
25:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE …
imports <vm/vm.h> lines 37–67
37:17… N) || defined(KCSAN)
38#define SAN_RUNTIME
39#endif
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/conf.h>
44#include <sys/eventhandler.h>
45#include <sys/kcov.h>
46#include <sys/kernel.h>
47#include <sys/limits.h>
48#include <sys/lock.h>
49#include <sys/malloc.h>
50#include <sys/mman.h>
51#include <sys/mutex.h>
52#include <sys/proc.h>
53#include <sys/rwlock.h>
54#include <sys/sysctl.h>
55
56#include <vm/vm.h>
57#include <vm/pmap.h>
58#include <vm/vm_extern.h>
59#include <vm/vm_object.h>
60#include <vm/vm_page.h>
61#include <vm/vm_pager.h>
62#include <vm/vm_param.h>
63#include <vm/vm_radix.h>
64
65MALLOC_DEFINE(M_KCOV_INFO, "kcovinfo", "KCOV info type");
66
67#define KCOV_ELEMENT_SIZE sizeof(ui …
Source references XOR syntax lines 71–77
71:39… he state transitions are:
72 *
73 * OPEN -> READY -> RUNNING -> DYING
74 * | | ^ | ^ ^
75 * | | +--------+ | |
76 * | +-------------------+ |
77 * +-----------------------------+

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.