utils.h

Include dependency graph for utils.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/utils.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/utils.h" fillcolor="#BFBFBF"]
    "2" [label="stddef.h" tooltip="stddef.h"]
    "1" -> "2" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include utils.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/atom.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/atom.c"]
    "3" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/atomshashtable.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/atomshashtable.c"]
    "4" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/avmpack.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/avmpack.c"]
    "47" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/avmpack.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/avmpack.h"]
    "5" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bif.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bif.c"]
    "12" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bif.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bif.h"]
    "40" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bitstring.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bitstring.c"]
    "39" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bitstring.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/bitstring.h"]
    "10" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/context.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/context.c"]
    "11" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/context.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/context.h"]
    "17" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/debug.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/debug.c"]
    "16" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/debug.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/debug.h"]
    "49" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/defaultatoms.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/defaultatoms.c"]
    "48" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/defaultatoms.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/defaultatoms.h"]
    "41" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/dictionary.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/dictionary.c"]
    "42" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/dictionary.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/dictionary.h"]
    "20" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/erl_nif_priv.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/erl_nif_priv.h"]
    "43" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/exportedfunction.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/exportedfunction.h"]
    "6" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/externalterm.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/externalterm.c"]
    "45" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/externalterm.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/externalterm.h"]
    "7" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/globalcontext.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/globalcontext.c"]
    "46" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/globalcontext.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/globalcontext.h"]
    "8" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/iff.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/iff.c"]
    "25" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.c"]
    "24" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/interop.h"]
    "36" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/mailbox.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/mailbox.c"]
    "9" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/mailbox.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/mailbox.h"]
    "18" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.c"]
    "37" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/memory.h"]
    "13" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/module.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/module.c"]
    "27" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/module.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/module.h"]
    "14" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/nifs.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/nifs.c"]
    "32" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/nifs.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/nifs.h"]
    "15" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/opcodesswitch.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/opcodesswitch.h"]
    "50" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/overflow_helpers.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/overflow_helpers.h"]
    "28" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/platform_nifs.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/platform_nifs.h"]
    "33" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/port.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/port.c"]
    "34" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/port.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/port.h"]
    "21" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/posix_nifs.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/posix_nifs.c"]
    "44" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/posix_nifs.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/posix_nifs.h"]
    "22" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/refc_binary.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/refc_binary.c"]
    "23" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/resources.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/resources.c"]
    "19" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/scheduler.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/scheduler.c"]
    "35" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/scheduler.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/scheduler.h"]
    "30" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/stacktrace.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/stacktrace.c"]
    "29" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/stacktrace.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/stacktrace.h"]
    "31" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/sys.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/sys.h"]
    "51" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/tempstack.h"]
    "26" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.c"]
    "38" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/term.h"]
    "1" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/utils.h" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/utils.h" fillcolor="#BFBFBF"]
    "52" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/valueshashtable.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/valueshashtable.c"]
    "47" -> "4" [dir=back tooltip="include"]
    "47" -> "7" [dir=back tooltip="include"]
    "47" -> "14" [dir=back tooltip="include"]
    "12" -> "5" [dir=back tooltip="include"]
    "12" -> "13" [dir=back tooltip="include"]
    "12" -> "14" [dir=back tooltip="include"]
    "12" -> "15" [dir=back tooltip="include"]
    "39" -> "40" [dir=back tooltip="include"]
    "39" -> "25" [dir=back tooltip="include"]
    "39" -> "15" [dir=back tooltip="include"]
    "11" -> "12" [dir=back tooltip="include"]
    "11" -> "10" [dir=back tooltip="include"]
    "11" -> "16" [dir=back tooltip="include"]
    "11" -> "20" [dir=back tooltip="include"]
    "11" -> "6" [dir=back tooltip="include"]
    "11" -> "7" [dir=back tooltip="include"]
    "11" -> "24" [dir=back tooltip="include"]
    "11" -> "18" [dir=back tooltip="include"]
    "11" -> "13" [dir=back tooltip="include"]
    "11" -> "27" [dir=back tooltip="include"]
    "11" -> "14" [dir=back tooltip="include"]
    "11" -> "32" [dir=back tooltip="include"]
    "11" -> "33" [dir=back tooltip="include"]
    "11" -> "34" [dir=back tooltip="include"]
    "11" -> "22" [dir=back tooltip="include"]
    "11" -> "23" [dir=back tooltip="include"]
    "11" -> "35" [dir=back tooltip="include"]
    "11" -> "29" [dir=back tooltip="include"]
    "11" -> "26" [dir=back tooltip="include"]
    "16" -> "17" [dir=back tooltip="include"]
    "16" -> "18" [dir=back tooltip="include"]
    "16" -> "15" [dir=back tooltip="include"]
    "16" -> "19" [dir=back tooltip="include"]
    "48" -> "5" [dir=back tooltip="include"]
    "48" -> "49" [dir=back tooltip="include"]
    "48" -> "41" [dir=back tooltip="include"]
    "48" -> "7" [dir=back tooltip="include"]
    "48" -> "25" [dir=back tooltip="include"]
    "48" -> "14" [dir=back tooltip="include"]
    "48" -> "15" [dir=back tooltip="include"]
    "48" -> "33" [dir=back tooltip="include"]
    "48" -> "34" [dir=back tooltip="include"]
    "48" -> "21" [dir=back tooltip="include"]
    "48" -> "23" [dir=back tooltip="include"]
    "48" -> "30" [dir=back tooltip="include"]
    "42" -> "5" [dir=back tooltip="include"]
    "42" -> "10" [dir=back tooltip="include"]
    "42" -> "41" [dir=back tooltip="include"]
    "42" -> "18" [dir=back tooltip="include"]
    "42" -> "14" [dir=back tooltip="include"]
    "42" -> "22" [dir=back tooltip="include"]
    "20" -> "10" [dir=back tooltip="include"]
    "20" -> "7" [dir=back tooltip="include"]
    "20" -> "18" [dir=back tooltip="include"]
    "20" -> "21" [dir=back tooltip="include"]
    "20" -> "22" [dir=back tooltip="include"]
    "20" -> "23" [dir=back tooltip="include"]
    "43" -> "12" [dir=back tooltip="include"]
    "43" -> "27" [dir=back tooltip="include"]
    "43" -> "32" [dir=back tooltip="include"]
    "43" -> "15" [dir=back tooltip="include"]
    "43" -> "28" [dir=back tooltip="include"]
    "43" -> "44" [dir=back tooltip="include"]
    "45" -> "6" [dir=back tooltip="include"]
    "45" -> "13" [dir=back tooltip="include"]
    "45" -> "14" [dir=back tooltip="include"]
    "46" -> "47" [dir=back tooltip="include"]
    "46" -> "10" [dir=back tooltip="include"]
    "46" -> "11" [dir=back tooltip="include"]
    "46" -> "48" [dir=back tooltip="include"]
    "46" -> "7" [dir=back tooltip="include"]
    "46" -> "13" [dir=back tooltip="include"]
    "46" -> "27" [dir=back tooltip="include"]
    "46" -> "33" [dir=back tooltip="include"]
    "46" -> "34" [dir=back tooltip="include"]
    "46" -> "21" [dir=back tooltip="include"]
    "46" -> "44" [dir=back tooltip="include"]
    "46" -> "35" [dir=back tooltip="include"]
    "46" -> "31" [dir=back tooltip="include"]
    "24" -> "25" [dir=back tooltip="include"]
    "24" -> "14" [dir=back tooltip="include"]
    "24" -> "21" [dir=back tooltip="include"]
    "24" -> "26" [dir=back tooltip="include"]
    "9" -> "10" [dir=back tooltip="include"]
    "9" -> "11" [dir=back tooltip="include"]
    "9" -> "36" [dir=back tooltip="include"]
    "9" -> "14" [dir=back tooltip="include"]
    "9" -> "15" [dir=back tooltip="include"]
    "9" -> "33" [dir=back tooltip="include"]
    "37" -> "20" [dir=back tooltip="include"]
    "37" -> "36" [dir=back tooltip="include"]
    "37" -> "18" [dir=back tooltip="include"]
    "37" -> "34" [dir=back tooltip="include"]
    "37" -> "22" [dir=back tooltip="include"]
    "37" -> "38" [dir=back tooltip="include"]
    "27" -> "12" [dir=back tooltip="include"]
    "27" -> "13" [dir=back tooltip="include"]
    "27" -> "14" [dir=back tooltip="include"]
    "27" -> "15" [dir=back tooltip="include"]
    "27" -> "28" [dir=back tooltip="include"]
    "27" -> "29" [dir=back tooltip="include"]
    "27" -> "31" [dir=back tooltip="include"]
    "32" -> "13" [dir=back tooltip="include"]
    "32" -> "14" [dir=back tooltip="include"]
    "32" -> "15" [dir=back tooltip="include"]
    "32" -> "21" [dir=back tooltip="include"]
    "15" -> "10" [dir=back tooltip="include"]
    "15" -> "13" [dir=back tooltip="include"]
    "50" -> "5" [dir=back tooltip="include"]
    "28" -> "14" [dir=back tooltip="include"]
    "34" -> "14" [dir=back tooltip="include"]
    "34" -> "33" [dir=back tooltip="include"]
    "44" -> "7" [dir=back tooltip="include"]
    "44" -> "14" [dir=back tooltip="include"]
    "44" -> "21" [dir=back tooltip="include"]
    "35" -> "36" [dir=back tooltip="include"]
    "35" -> "14" [dir=back tooltip="include"]
    "35" -> "15" [dir=back tooltip="include"]
    "35" -> "19" [dir=back tooltip="include"]
    "29" -> "15" [dir=back tooltip="include"]
    "29" -> "30" [dir=back tooltip="include"]
    "31" -> "10" [dir=back tooltip="include"]
    "31" -> "7" [dir=back tooltip="include"]
    "31" -> "13" [dir=back tooltip="include"]
    "31" -> "14" [dir=back tooltip="include"]
    "31" -> "23" [dir=back tooltip="include"]
    "31" -> "19" [dir=back tooltip="include"]
    "51" -> "25" [dir=back tooltip="include"]
    "51" -> "18" [dir=back tooltip="include"]
    "51" -> "22" [dir=back tooltip="include"]
    "51" -> "26" [dir=back tooltip="include"]
    "38" -> "39" [dir=back tooltip="include"]
    "38" -> "11" [dir=back tooltip="include"]
    "38" -> "41" [dir=back tooltip="include"]
    "38" -> "42" [dir=back tooltip="include"]
    "38" -> "43" [dir=back tooltip="include"]
    "38" -> "45" [dir=back tooltip="include"]
    "38" -> "46" [dir=back tooltip="include"]
    "38" -> "25" [dir=back tooltip="include"]
    "38" -> "24" [dir=back tooltip="include"]
    "38" -> "18" [dir=back tooltip="include"]
    "38" -> "13" [dir=back tooltip="include"]
    "38" -> "27" [dir=back tooltip="include"]
    "38" -> "14" [dir=back tooltip="include"]
    "38" -> "50" [dir=back tooltip="include"]
    "38" -> "34" [dir=back tooltip="include"]
    "38" -> "44" [dir=back tooltip="include"]
    "38" -> "29" [dir=back tooltip="include"]
    "38" -> "26" [dir=back tooltip="include"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "3" [dir=back tooltip="include"]
    "1" -> "4" [dir=back tooltip="include"]
    "1" -> "5" [dir=back tooltip="include"]
    "1" -> "6" [dir=back tooltip="include"]
    "1" -> "7" [dir=back tooltip="include"]
    "1" -> "8" [dir=back tooltip="include"]
    "1" -> "9" [dir=back tooltip="include"]
    "1" -> "37" [dir=back tooltip="include"]
    "1" -> "13" [dir=back tooltip="include"]
    "1" -> "14" [dir=back tooltip="include"]
    "1" -> "15" [dir=back tooltip="include"]
    "1" -> "22" [dir=back tooltip="include"]
    "1" -> "23" [dir=back tooltip="include"]
    "1" -> "19" [dir=back tooltip="include"]
    "1" -> "51" [dir=back tooltip="include"]
    "1" -> "38" [dir=back tooltip="include"]
    "1" -> "52" [dir=back tooltip="include"]
}

Defines

READ_32_ALIGNED(ptr)
READ_32_UNALIGNED(ptr)
WRITE_32_UNALIGNED(ptr, val)
READ_16_UNALIGNED(ptr)
WRITE_16_UNALIGNED(ptr, val)
ENDIAN_SWAP_32(value)
UNUSED(x)
IS_NULL_PTR(x)
LIKELY(x)
UNLIKELY(x)
HOT_FUNC
COLD_FUNC
MALLOC_LIKE
MUST_CHECK
AVM_ABORT()
CAST_FUNC_TO_VOID_PTR(f)
CONTAINER_OF(ptr, type, member)
PRINTF_FORMAT_ARGS(...)
NO_DISCARD(...)
UNREACHABLE(...)

Typedefs

typedef void (*func_ptr_t)(void)