mate.config module¶
This module provides filepaths and other configurations used by the server.
- mate.config.CLANG: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/clang')¶
The
clang
C frontend bundled with MATE.
- mate.config.CLANGXX: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/clang++')¶
The
clang++
C++ frontend bundled with MATE.
- mate.config.DOCKER_SOCKET: Final[pathlib.Path] = PosixPath('/var/run/docker.sock')¶
The path to an active Docker socket, if MATE is running with containerization support.
- mate.config.LLVM_ADDR2LINE: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/llvm-addr2line')¶
The LLVM implementation of
addr2line
bundled with MATE.
- mate.config.LLVM_LINK: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/llvm-link')¶
The
llvm-link
IR linker bundled with MATE.
- mate.config.LLVM_LLC: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/llc')¶
The
llc
IR to assembly compiler bundled with MATE.
- mate.config.LLVM_OBJCOPY: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/llvm-objcopy')¶
The LLVM implementation of
objcopy
bundled with MATE.
- mate.config.LLVM_OPT: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin/opt')¶
The
opt
optimizer bundled with MATE.
- mate.config.LLVM_WEDLOCK_BIN: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/llvm-wedlock/bin')¶
The directory containing MATE’s copies of the LLVM and Clang CLIs.
- mate.config.MATE_BDIST_DEFAULT_SIGNATURES: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/local/share/default-signatures.yml')¶
The path to MATE’s default dataflow and points-to signatures.
- mate.config.MATE_BDIST_LIBEXEC_PATH: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/libexec')¶
The directory for any “library executables” distributed with MATE.
- mate.config.MATE_BDIST_LIB_PATH: Final[pathlib.Path] = PosixPath('/mate/.out/bdist/local/lib')¶
The directory for any shared objects distributed with MATE.
- mate.config.MATE_BDIST_ROOT: Final[pathlib.Path] = PosixPath('/mate/.out/bdist')¶
The root directory for nearly all MATE runtime components.
- mate.config.MATE_SCRATCH: Final[pathlib.Path] = PosixPath('/opt/mate-scratch')¶
The path to a suitable “scratch” directory for temporary files.
- mate.config.REASONABLE_DEFAULT_PATH: Final[str] = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'¶
A reasonable default
$PATH
when running containerized compilations.