infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
emit_elf.c File Reference

ELF binary format support for emit system. More...

#include "common/compat_c23.h"
#include "emit/emit.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for emit_elf.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static c23_maybe_unused void elf_write_section_header (const char *name, uint64_t size, uint64_t offset)
 

Detailed Description

ELF binary format support for emit system.

Copyright (c) 2025 Sanko Robinson

This source code is dual-licensed under the Artistic License 2.0 or the MIT License. You may choose to use the code under the terms of either license.

SPDX-License-Identifier: (Artistic-2.0 OR MIT)

Function Documentation

◆ elf_write_section_header()

static c23_maybe_unused void elf_write_section_header ( const char *  name,
uint64_t  size,
uint64_t  offset 
)
static