seg 0.1.0

seg is a cli tool for analyzing binaries and generating structured reports to help ai agents and security researchers understand and exploit them.
// Classic buffer overflow — no canary, no PIE
// Compile: gcc -fno-stack-protector -no-pie -o bof_basic bof_basic.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void win() {
    system("/bin/sh");
}

void vuln() {
    char buf[64];
    printf("Enter input: ");
    gets(buf);
    printf("You said: %s\n", buf);
}

int main() {
    vuln();
    return 0;
}