Loïc Rouquette
  • Blog
  • Publications
  • Talks
  • Teaching
  • About Me

On this page

  • Introduction to x86_64 assembly
    • Lecture
    • Pratical
  • Interfacing assembly and C
    • Lecture
    • Practical
  • Stack
    • Lecture
    • Practical
  • References
    • Documentation

ASM - Assembly

ÉPITA

An introduction to assembly code. This course is based on the x86_64 architecture and is given to the ING1 group at ÉPITA (L3).

Authors
Affiliations

Pierre Pagnoux

EPITA Research Laboratory (LRE)

Loïc Rouquette

EPITA Research Laboratory (LRE)

Note

The course material is from Pierre Pagnoux and is only available to EPITA students.

Introduction to x86_64 assembly

Lecture

Introduction to assembly

An introduction to assembly code: usages, tools and examples

  • Slides

Pratical

Tape 1

Writing simple functions using assembly code

  • Subject
  • safe

Interfacing assembly and C

Lecture

Interfacing assembly and C

  • Slides

Practical

Interfacing assembly and C

Using the ABI to write standard assembly code

  • Subject

Stack

Lecture

Stack

How the stack is managed during code execution

  • Slides

Practical

Buffer overflow

Using buffer overflow and assembly code to hack the stack variables

  • Subject

References

Documentation

Intel Documentation

The official documentation of the Intel x86_64 architecture

  • Intel Documentation
  • GNU as info page
  • System V ABI AMD64