Is there UB in my program?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • compiler-explorer

    Run compilers interactively from your web browser and interact with the assembly

  • # Compilation provided by Compiler Explorer at https://godbolt.org/ Avx2Reg::Avx2Reg(long long __vector(4)) [base object constructor]: push rbp mov rbp, rsp and rsp, -32 mov QWORD PTR [rsp-8], rdi vmovdqa YMMWORD PTR [rsp-64], ymm0 mov rax, QWORD PTR [rsp-8] vmovdqa ymm0, YMMWORD PTR [rsp-64] vmovdqa YMMWORD PTR [rax], ymm0 nop leave ret Avx2Reg::Avx2Reg(unsigned long, unsigned long, unsigned long, unsigned long) [base object constructor]: push rbp mov rbp, rsp and rsp, -32 mov QWORD PTR [rsp-40], rdi mov QWORD PTR [rsp-48], rsi mov QWORD PTR [rsp-56], rdx mov QWORD PTR [rsp-64], rcx mov QWORD PTR [rsp-72], r8 mov rax, QWORD PTR [rsp-48] mov rdx, QWORD PTR [rsp-56] mov rcx, QWORD PTR [rsp-64] mov rsi, QWORD PTR [rsp-72] mov QWORD PTR [rsp-8], rsi mov QWORD PTR [rsp-16], rcx mov QWORD PTR [rsp-24], rdx mov QWORD PTR [rsp-32], rax mov rax, QWORD PTR [rsp-8] mov rdx, QWORD PTR [rsp-16] vmovq xmm2, rdx vpinsrq xmm1, xmm2, rax, 1 mov rax, QWORD PTR [rsp-24] mov rdx, QWORD PTR [rsp-32] vmovq xmm3, rdx vpinsrq xmm0, xmm3, rax, 1 vinserti128 ymm0, ymm0, xmm1, 0x1 mov rax, QWORD PTR [rsp-40] vmovdqa YMMWORD PTR [rax], ymm0 nop leave ret

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts