# Debugging a Misused execl(3) to Understand Variadic Functions in C

DevFeed: [Debugging a Misused execl(3) to Understand Variadic Functions in C](<https://devfeed.tech/articles/stdarg-and-the-case-of-the-forgotten-registers-30261.md>)

Original publisher: [Read original article](<https://www.netmeister.org/blog/stdarg.html>)

Published: 2020-01-03T03:12:26Z

Content type: tutorial

Language: en

Sources: [Signs of Triviality](<https://devfeed.tech/sources/signs-of-triviality.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [functions](<https://devfeed.tech/tags/functions.md>)

## AI overview

An account of debugging a wrongly invoked execl(3) that leads to a better understanding of variadic functions in C, including stack frames and registers.

## Source excerpt

An adventure debugging a wrongly invoked execl(3) leading to a better understanding of how variadic functions work in C. I'm in ur stack frame debuggin ur registers.