| commit | 3b3d622be993faa985ed9cbb9ab098c8d6b8f681 | [log] [tgz] |
|---|---|---|
| author | Andrew Browne <browneee@google.com> | Tue May 21 15:05:52 2024 -0700 |
| committer | GitHub <noreply@github.com> | Tue May 21 15:05:52 2024 -0700 |
| tree | ac841af7a04104bbceac23457ce08cde39b79ba9 | |
| parent | df626dd11c360c58eddae813ce6a0524d0a53696 [diff] |
[DFSan] Fix recvmsg wrapper to support MSG_TRUNC flag. (#92599) The MSG_TRUNC flag makes recvmsg return the real length of the packet, even if it was too big to fit in the provided buffer. This is commonly used together with MSG_PEEK. Without this patch, dfsan's clear_msghdr_labels expects the return value of recvmsg (size recieved) to be less than or equal to the iov buffer length where recvmsg writes data, resulting in a crash.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.