View on GitHub

Computer Architecture and Operating Systems

Course taught at Faculty of Computer Science of Higher School of Economics

Lecture 4

Libraries and binary file format

Lecture

Slides (PDF, PPTX).

Outline

Tools for Manipulating Object Files

Library Interpositioning

Examples:

Workshop

Outline

Practice

Homework

  1. Improve Task 1 from Part 1:
    • Provide link-time interpositioning for the fred and john functions
    • Provide load-time interpositioning for the bill and sam functions
    • Create a Make script to build the program

Note: interposed functions can just print a message like “fred is called”.

References