Red Hat Developer roundup: Best of April 2022
A trip through Red Hat Developer's content for the month, with articles on GCC 12, Java in containers, Red Hat's SSO technology, and much more.
A trip through Red Hat Developer's content for the month, with articles on GCC 12, Java in containers, Red Hat's SSO technology, and much more.
New features and a substantial reduction in false positives bring GCC's static analysis closer to being production-ready for C code.
Many C/C++ programs create their own memory allocators. Valgrind provides special macros for using Memcheck to debug memory under these conditions.
Get started with clang-format, an LLVM tool that you can use to set and maintain a consistent code style in your open source C and C++ projects.
Learn about a code specialization technique that creates a universal, lightweight JIT (Just-in-Time) compiler to generate machine code for the MIR project.
Discover how Red Hat protects GCC 12 code from Trojan Source attacks. Learn how we defend our customers against this recent software vulnerability.
Find out what debugging information is, where it's stored, and how to inspect it. This article is the second of a three-part series about using GNU Debugger.
Find out what's new in Libabigail 2.0, including updates to the symbol table reader component, ABIXML format, and moving to the Apache 2 license.
Highlights of December 2021 include two guides for integrating Red Hat OpenShift Streams for Apache Kafka. Read the entire monthly recap for further details.
Consolidation of libraries in the GNU C library, glibc, means more error-free builds, but there are consequences for developers and system administrators.
Complete your introduction to using virtual print statements in the GDB debugger with tips for running program functions and automating GDB behavior.
Discover the latest versions of Red Hat Software Collections and Red Hat Developer Toolset. Enjoy an efficient and consistent developer experience.
Learn how Project Thoth uses termial random number calculations to recommend a variety of Python packages while prioritizing newer package releases.
RHEL 9 Beta features GCC 11, glibc 2.34, updated compilers, enhanced application streams, Python 3.9, and more. Plus, it's built from CentOS Stream!
Discover little-known Valgrind and GDB commands that can help you resolve memory leaks, buffer overflows, and similar bugs in your C and C++ code.
Implementing a minor tree optimization was a great way to get started with GCC internals while contributing to the community.
When the LLVM package build with the Clang compiler's link-time optimization activated failed, the LLVM packaging team knew they had a mystery to solve.
Learn how to use virtual print statements in the GDB debugger. This second article in the series shows how to save commands and output for later use.
Download Red Hat Software Collections 3.8 and Developer Toolset for Red Hat Enterprise Linux 7. New collections include Nginx 1.20, Redis 6, and JMC 8.0.1
You can use the GDB debugger to understand program behavior without any source code changes. In Part 1, learn how to run virtual print statements.
You can use C debuggers to debug C extensions in Python 3.9. Learn how to use the improved Python debug build with the GNU Project Debugger (GDB).
Read how memory allocation, or malloc hooks, were unsafe in multi-threaded environments and why they were removed from the GNU C Library, or glibc.
SystemTap allows access to low-level Linux kernel features. Explore enhancements to context variables, alias syntax, and BPF features in version 4.5.0.
Automate app analysis by using Dyninst to debug function parameters. The suite simplifies the process via dynamic and static analysis and instrumentation tools.
C++17 is now the default version in the GNU Compiler Collection. Find out what you need to know when updating your code to C++17 with GCC 11.