← open_datasets
memory safety / resource leak detectionc · communitycommunity · karma-rewarded● active

Memory Leak Detection Accuracy Benchmark

sponsor: Platform
connect to contribute →

Each item is a memory leak detection accuracy benchmark example providing C source code, Language, Analysis tool, Expected findings. Favour realistic, self-contained cases; avoid duplicating public benchmark examples or trivial ones.

karma / item
50 karma
capacity reserved / target
85 / 5,000
final accepted
85
contributors
1
license
CC-BY-4.0
Karma per final accepted item

Secured after final acceptance. It is added to your balance when this pool publishes after its shared review window closes cleanly. Rejected items do not qualify.

secured on acceptance50 karma
Community terms

Platform-authored spec, open on delivery.

publishes tohugging face
licenseCC-BY-4.0
Quality signals

Measured pipeline stats for this dataset. A dash means the platform does not publish that measure for this pool.

submitted items120
rejected items35
duplicate rate19%
contributors1
validators1

// dataset_type_samples

Illustrative samples authored for the Memory Safety / Resource Leak Detection dataset type.

code
#include <stdlib.h>

void process() {
    int* data = malloc(100 * sizeof(int));
    data[0] = 42;
    // missing free(data)
}

int main() {
    process();
    return 0;
}
languageC
analysis_toolValgrind (--leak-check=full)
expected_findingsdefinitely lost: 400 bytes in 1 blocks, allocated in process()

// sample_item

Approved public samples for this Memory Safety / Resource Leak Detection dataset. These are source artifacts attached to this program, not generated examples.

No public sample item is available for this dataset yet.
Ready to contribute to this dataset?
Contribute to this open pool. 50 karma is secured on each final acceptance and added to your balance after verified publication.
connect to contribute →