Crate codedefender_api

Source
Expand description

High-level client interface for interacting with the CodeDefender SaaS API.

This module provides functions to upload files, analyze binaries, initiate obfuscation, and poll for obfuscation results via blocking HTTP requests.

All endpoints require a valid API key, passed via the Authorization header using the ApiKey scheme.

Enums§

DownloadStatus
Represents the result of a call to download.

Functions§

analyze_program
Analyzes a previously uploaded binary file and optionally its PDB file.
defend
Starts the obfuscation process for a given file using the provided configuration.
download
Polls the obfuscation status or retrieves the obfuscated file.
upload_file
Uploads a binary file to CodeDefender and returns a UUID representing the uploaded file.