Skip to main content Link Search Menu Expand Document (external link)

Malloc and Free LAB

Table of contents

  1. Problem description
  2. Build and run template simobject
  3. Your task

At this part, you will create a simObject that focuses on “Malloc and Free” and add some functionalities for it.

Note that Malloc and Free LAB is a challenge part

When to rebuild gem5 ?

gem5 has config files like .py and SConscript. Some config files will influence gem5 binary(ELF file). Some config files just influence gem5 runtime behavior. You need to distinguish that by yourself. For example, if you add some new features to gem5, rebuilding gem5 is obivous.

Problem description

malloc and free

Build and run template simobject

You can find template code at here

src

config

run

Your task

task