nasm/include
H. Peter Anvin (Intel) 720a32672c Refactor the handling of primary input/output files
Replace the direct setting of variables for input and output variables
with accessors. This allows for properly tracking the lifetimes of the
data and allows for things like checking of the overwrite of the
primary input file to be centralized.

It isn't possible *in the general case* to check for overwrite of
*any* of the input files, although in the particularly important case
of the assembler proper it ought to be possible to do a bit better:

it should be able to guard for overwrites of non-primary input files
except for the error file or the list file if and only if -Lp is used.

That is, however, a latter project.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2026-06-29 18:22:26 -07:00
..
bytesex.h bytesex.h: fix typo in le32toh function name 2025-10-04 15:54:49 -07:00
compiler.h nasmlib: move filename_set_extension() into path.c 2025-12-15 09:58:42 -08:00
dbginfo.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
disp8.h disp8: Fix issue #185 - EVEX compressed shift for MOVDDUP tuple type 2026-01-27 22:24:25 +01:00
error.h error: factor out error functions into separate files 2025-11-07 14:42:33 -08:00
files.h Refactor the handling of primary input/output files 2026-06-29 18:22:26 -07:00
hashtbl.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
iflag.h WIP: more matching and template work 2024-08-20 12:59:07 -07:00
ilog2.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
insns.h struct itemplate: add insns.xda line number to the structure 2026-03-03 09:55:27 -08:00
labels.h labels: make the prefix/suffix options and pragmas consistent 2025-10-07 18:46:39 -07:00
macros.h portability: "const macros_t" is redundant 2025-10-01 13:55:38 -07:00
md5.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
nasm.h Refactor the handling of primary input/output files 2026-06-29 18:22:26 -07:00
nasmint.h nasmint.h: change header guards to NASM_NASMINT_H 2016-10-04 18:11:57 -07:00
nasmlib.h nasmlib/file: add nasm_remove() 2026-06-29 13:30:03 -07:00
nctype.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
opflags.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
perfhash.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
raa.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
rbtree.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
rdoff.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
saa.h saa: make saa_wleb128[us]() take appropriate types; recode 2026-04-06 16:43:51 -07:00
strlist.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
tables.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
ver.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00