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

Internal structures for the emit JIT code generation system. More...

#include "emit/emit.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for emit_internals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  emit_section
 
struct  emit_symbol
 
struct  emit_relocation
 
struct  emit_context
 

Typedefs

typedef struct emit_section emit_section_t
 
typedef struct emit_symbol emit_symbol_t
 
typedef struct emit_relocation emit_relocation_t
 
typedef struct emit_context emit_context_t
 

Functions

void _emit_context_init (emit_context_t *ctx, emit_architecture_t arch, emit_format_t format)
 
void _emit_context_free (emit_context_t *ctx)
 
emit_section_t_emit_lookup_section (emit_context_t *ctx, const char *name)
 
emit_symbol_t_emit_lookup_symbol (emit_context_t *ctx, const char *name)
 
infix_status _emit_resolve_relocations (emit_context_t *ctx)
 

Detailed Description

Internal structures for the emit JIT code generation 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)

Typedef Documentation

◆ emit_context_t

typedef struct emit_context emit_context_t

◆ emit_relocation_t

◆ emit_section_t

typedef struct emit_section emit_section_t

◆ emit_symbol_t

typedef struct emit_symbol emit_symbol_t

Function Documentation

◆ _emit_context_free()

void _emit_context_free ( emit_context_t ctx)

◆ _emit_context_init()

void _emit_context_init ( emit_context_t ctx,
emit_architecture_t  arch,
emit_format_t  format 
)

◆ _emit_lookup_section()

emit_section_t * _emit_lookup_section ( emit_context_t ctx,
const char *  name 
)

◆ _emit_lookup_symbol()

emit_symbol_t * _emit_lookup_symbol ( emit_context_t ctx,
const char *  name 
)

◆ _emit_resolve_relocations()

infix_status _emit_resolve_relocations ( emit_context_t ctx)