All lab entries
Writeup

Reverse Engineering CAN Bus Traffic with ICSim

Recording, diffing, and replaying traffic on a simulated car network to find which CAN IDs drive the turn signals and the speedometer, then driving the instrument cluster with nothing more than cansend.

  • CAN Bus
  • Automotive Security
  • Reverse Engineering
  • ICSim
  • University

Where this started

The electronic control units inside a car talk to each other over CAN. It’s a broadcast bus, every frame has an ID that names the message (not the sender), and every node trusts whatever it receives. Nothing on the wire tells you which ID controls what, so if you don’t have the documentation, you have to work it out by watching the traffic and seeing what changes.

This is my writeup of the CAN bus lab for the Cyber-Physical and IoT Security course, done between 13 and 15 October 2026. The target is ICSim, a simulated instrument cluster that reacts to CAN frames on a virtual interface. There is no documentation of its IDs. Using only recorded traffic and replay, I had to find the IDs behind the turn signals and the speedometer, decode their bytes, and then drive the cluster myself. In the end, a text file and a shell loop were enough to turn on the blinkers and push the speedometer to 90 mph.

What I found

  • ID 0x188 controls the turn signals. Byte 0 is a bitfield: bit 0 is left, bit 1 is right, and 0x03 gives the hazards. It’s sent about twice a second, and a single frame is enough to set the state, since there’s no authentication, no freshness check and no timeout.
  • ID 0x244 carries the speed, as a big-endian 16-bit value in bytes 3 and 4 (raw / 100 = km/h). When the car is standing still the value is randomized on purpose, so the most important signal on the bus looks like counter noise.
  • ICSim has a bug that freezes its window when the bus is silent, because a blocking recvmsg keeps the event loop from running. It looks like a crash. GLM 5.3 tracked down the cause and wrote a three-line SO_RCVTIMEO patch for it.

From a frozen VM to native Arch Linux

First attempt: the SEED Ubuntu 20.04 VM

I started the lab in the SEED Ubuntu 20.04 VM from the Ethical Hacking course, running under VirtualBox 7.2.20 with 4 GB of RAM, 4 CPUs and VMSVGA graphics. The professor gives out the VM as a bare .vdi disk image, and the VirtualBox 7.2 wizard has no clean way to create a machine around an existing disk, so I did it from the command line:

VBoxManage createvm --name "SEED-Ubuntu20.04" --ostype Ubuntu_64 --register
VBoxManage modifyvm "SEED-Ubuntu20.04" --memory 4096 --cpus 4 --vram 128 \
    --graphicscontroller vmsvga --boot1 disk
VBoxManage storagectl "SEED-Ubuntu20.04" --name SATA --add sata --bootable on
VBoxManage storageattach "SEED-Ubuntu20.04" --storagectl SATA --port 0 \
    --type hdd --medium ~/.../SEED-Ubuntu20.04.vdi

The lab folder was shared with the guest as an auto-mounted folder, /media/sf_CANBus, which needs the user to be in the vboxsf group.

I ran into one installation problem there. libsdl2-dev wouldn’t install because the image’s sources.list didn’t include the focal-updates repository. The installed libasound2 was 1.2.2-2.1ubuntu2.2, a version from updates that was installed when the image was built, but the only libasound2-dev apt could see was 1.2.2-2.1 from base focal, and that one requires the exact same version of the library. Adding focal-updates back made the matching -dev package available:

echo "deb http://us.archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse" \
    | sudo tee -a /etc/apt/sources.list
sudo apt update && sudo apt install libasound2-dev

The VM got through the setup and the first captures, and then froze in the middle of the lab. After a hard power-off it wouldn’t boot anymore: the Plymouth logo froze and recovery mode hung. A fresh copy of the image froze in exactly the same way, so it wasn’t disk corruption. The problem was more likely the hypervisor or the graphics stack. I didn’t want to keep fighting with it, so I moved the lab to my host machine.

Final environment: Arch Linux, no VM

Everything below runs natively.

  • can-utils 2025.01, from the AUR. I read the PKGBUILD first. It builds from the official linux-can repository at a pinned commit, checks a sha256 sum and uses a plain cmake/ninja build with no custom scripts.
  • SDL2 through Arch’s sdl2-compat (the SDL2 compatibility layer on top of SDL3) and sdl2_image. ICSim builds and links against them without changes.
  • ICSim, cloned from upstream (github.com/zombieCraig/ICSim) and built in the lab folder with make. It’s plain gcc with no install step.

Setting up the virtual CAN interface:

sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0

vcan interfaces are gone after a reboot, so I ran these at the start of every session.

Before running ICSim I had GLM 5.3 review its source, about 2,100 lines of C. According to that review, it only opens PF_CAN raw sockets on the interface you give it, with no IP networking, and it never calls system(), popen or downloads anything. The only file it writes outside the lab folder is /tmp/icsim_seed.txt, which controls reads so that both programs agree on which CAN ID does what. icsim also has -r and -s flags that randomize those IDs. I ran it without them, so the IDs stay the default ones and captures from different sessions can be compared.

Running the simulator

In two terminals:

./ICSim/icsim vcan0      # the instrument cluster (the "oracle")
./ICSim/controls vcan0   # the "driver": generates legitimate traffic

Running candump vcan0 in a third terminal showed constant traffic, around 1,960 frames per second with nobody touching the controls.

The setup: candump showing the live bus on the left, the CANBus Control Panel (the driver’s controls) at the top right, and the IC Simulator cluster below it.

A hang that looked like a crash

During Part 4 the cluster window kept freezing (“not responding”) every time the bus went quiet. It looked like a crash, and it happened again on every restart as long as nothing was sending traffic.

I asked GLM 5.3 to look into it, and it found the problem in the main loop of icsim.c. It calls recvmsg() on the CAN socket without a timeout, so when there’s no traffic the call waits forever and the SDL event loop never gets to run. Its fix, which I applied locally, sets a 10 ms receive timeout on the socket and treats the EAGAIN it returns as a normal empty iteration:

struct timeval rcv_timeout = { .tv_sec = 0, .tv_usec = 10000 };
setsockopt(can, SOL_SOCKET, SO_RCVTIMEO, &rcv_timeout, sizeof(rcv_timeout));
...
nbytes = recvmsg(can, &msg, 0);
if (nbytes < 0) {
  if (errno == EAGAIN || errno == EWOULDBLOCK) continue;
  perror("read");
  return 1;
}

With the patch the cluster keeps responding on a silent bus. All the results in this writeup come from the patched build.

ICSIM PATCH →

The workspace and the helper scripts

CANBus/
├── README.pdf            # lab handout
├── setup.sh              # VM-era setup script (apt-based; kept for reference)
├── ICSim/                # upstream ICSim clone + built binaries
└── lab/
    ├── idstats.py        # per-ID statistics of a candump -L capture
    ├── diffids.py        # compare two captures by ID and payload sets
    ├── filterlog.py      # filter a capture to a subset of IDs (for replay)
    ├── speedscan.py      # per-second raw value of a candidate ID (speed analysis)
    ├── capture.sh        # timed capture wrapper (candump -L, N seconds)
    ├── bisect.sh         # split candidate ID set into two replayable halves
    ├── sendloop.sh       # send one frame repeatedly (defeats overwrite)
    └── *.log             # captures (idle1, idle2, left, right, speed1-4, ...)

Python helpers

The lab was supposed to come with three Python helpers, but they were never handed out (the README was the only thing we got), so I wrote them. They all read candump -L logs, where each line looks like (timestamp) interface ID#DATA.

  • idstats.py <log> groups the frames by CAN ID and prints, for each one, the number of frames, the average rate, the median time between frames and how many different payloads it has. I used it to describe the bus at idle.
  • diffids.py <a> <b> compares two captures. It lists the IDs that appear in only one of them, and for the IDs in both, whether their sets of payloads are different. I used it to measure the noise between two idle captures and to find the IDs that react to a button press.
  • filterlog.py <log> <ids> keeps only the frames with the given IDs and leaves the timestamps alone, so the result can still be replayed by canplayer with the original timing. I used it for the replay bisection.

I added a fourth one later for the speed analysis in Part 5. speedscan.py <log> [id] [byte] prints the minimum, maximum and last raw 16-bit value of an ID for each second of a capture.

Shell scripts

These are small scripts I wrote to save some typing.

  • capture.sh <name> [seconds] runs candump -L vcan0 for a set number of seconds and then stops it, so all captures have the same length.
  • bisect.sh <log> <id1,id2,...> splits the list of candidate IDs in two, writes subset_A.log and subset_B.log with filterlog.py, and prints the canplayer commands to replay them.
  • sendloop.sh <ID#DATA> [interval] sends the same frame over and over, about 20 times a second by default. The controls program keeps sending its own state frames, which overwrite anything you send just once.

Downloads

Recording and profiling the bus

I took four 20-second captures with capture.sh, all during the same simulator session. Two are at idle (idle1.log and idle2.log, without touching the controls window). In the other two I pressed the LEFT or RIGHT turn signal 3 times, about 2 seconds apart (left.log and right.log). Each capture has around 39,200 frames.

cd lab
./capture.sh idle1 20     # hands off the controls window
./capture.sh idle2 20     # hands off again
./capture.sh left 20      # LEFT turn signal 3x, ~2 s apart
./capture.sh right 20     # RIGHT turn signal 3x, ~2 s apart

Looking at the bus with idstats.py

python3 idstats.py idle1.log finds 36 different CAN IDs, and all of them are periodic. Two lines of its output already say a lot. ID 188 is quiet and never changes, while ID 244 changes all the time.

ID         frames   rate/s      period         distinct  payloads
188            40      2.0    503.5 ms                1  00000000
244          1389     69.4     15.2 ms              255  0000000100, 0000000101, 0000000102 ...

The IDs group neatly by rate:

Period Rate IDs Count
~10 ms 100 Hz 095, 133, 136, 13A, 13F, 143, 158, 161, 164, 166, 17C, 183, 18E, 191 14
~15 ms 65–70 Hz 039, 244 2
~20 ms 50 Hz 1A4, 1AA, 1B0, 1CF, 1D0, 1DC 6
~40 ms 25 Hz 21E, 294 2
~100 ms 10 Hz 305, 309, 320, 324, 333, 37C 6
~300 ms ~3 Hz 405, 40C, 428, 454 4
~500 ms 2 Hz 188 1
~1 s 1 Hz 5A1 1

Q1. How many distinct IDs are on the bus? Which are periodic, and with what period?

There are 36 IDs and every one of them is periodic, since the median time between frames is stable for all of them. Most are at 100 Hz (every 10 ms), and the rest are at 50, 25, 10, about 3, 2 and 1 Hz. ID 188 caught my eye right away. It’s the slowest message that carries a state (2 Hz), and its payload stays at 00000000 the whole time at idle. The 100 Hz messages keep cycling through a few payloads, but 188 doesn’t change at all, which is what you’d expect from a control or state message and not from a sensor.

Q2. Which IDs have many distinct payloads even at idle, and what are they?

Two of them. ID 244 has 255 different payloads in 20 seconds. It looks like a rolling counter (0000000100, 0000000101, 0000000102, …) that goes through all 256 values of its last byte. ID 183 has 64. Both look like counters or sensors, since their payload keeps changing no matter what the driver does. All the other IDs only have 4 to 8 different payloads, which is the simulator’s background noise with a cycling last byte.

Q3. Why compare idle1 with idle2 before analysing a stimulus?

python3 diffids.py idle1.log idle2.log compares two captures taken in the same conditions, with no button pressed in either. This tells you how many false positives to expect. If an ID’s payloads differ between two idle captures, that ID is just noisy, and you can’t trust it when you later compare idle against a button press. In my captures no ID differs between the two idle logs, so the baseline is completely clean.

There’s a catch, though. This method can’t see the counter on ID 244 at all. In any 20-second window the counter goes through all 256 values, so its set of payloads is the same in every capture. Comparing payload sets will never flag an ID like that, so “no difference” doesn’t mean “nothing is happening”.

Comparing against the idle baseline

Since the idle baseline was clean, I compared each button-press capture with idle1.log:

$ python3 diffids.py idle1.log left.log
188  payload sets differ: 1 new payload(s) in B: 01000000

$ python3 diffids.py idle1.log right.log
188  payload sets differ: 1 new payload(s) in B: 02000000

Only one ID reacts in each case, and it’s 188, the same slow and quiet ID from Part 1. Left and right use the same ID with different values. LEFT gives 01000000, RIGHT gives 02000000, and idle is 00000000. So byte 0 is a bitfield, with bit 0 for the left signal and bit 1 for the right one. The right signal doesn’t have an ID of its own.

I also checked live with cansniffer -c vcan0, which highlights the bytes that change. While I pressed the turn signals, 188 was the only ID that reacted.

That leaves a single candidate for the bisection, S = {188}. Part 2 already found the ID, so in Part 3 I used the bisection to confirm it, and to show how the method works on a candidate set I padded on purpose.

Replay-based bisection

I closed the controls window, so the cluster only receives the frames I replay. Part 2 had already left just one candidate (S = {188}), so strictly speaking no bisection rounds were needed (⌈log₂ 1⌉ = 0). I used the replay for two things instead. First to confirm the result, and then to show the method on a padded set, with 188 plus ID 244 as a decoy, since I already knew 244 was noise.

Confirming with a replay

I filtered left.log down to ID 188 and replayed it in a loop:

python3 filterlog.py left.log 188 > subset_188.log
canplayer -I subset_188.log -l i vcan0=vcan0

The left blinker keeps blinking with nobody touching the controls. Replaying recorded traffic is enough to trigger the function.

canplayer looping subset_188.log with the controls closed. The left arrow on the cluster is lit.

subset_188.log →

One round on a padded set

bisect.sh splits S = {188, 244} into A = {188} and B = {244}:

Round Candidate set S Subset replayed Effect observed? New S
1 {188, 244} A = {188} Yes, left blinker blinks {188}
- {188} B = {244} (control) No, cluster does nothing -

That’s one round, as expected from ⌈log₂ 2⌉ = 1. Replaying B as a control shows the effect really comes from 188, and not from replaying traffic in general. So ID 188 is the turn signal.

Decoding the turn-signal message

Once I had ID 188, I compared its payloads in the idle and button-press captures. Then I tried values by hand with cansend and sendloop.sh, one at a time, and watched the cluster:

./sendloop.sh 188#0100000000000000 0.05   # -> left blinker on
./sendloop.sh 188#0200000000000000 0.05   # -> right blinker on
./sendloop.sh 188#0300000000000000 0.05   # -> both blinkers on (hazard lights)
./sendloop.sh 188#0000000000000000 0.05   # -> all off

sendloop.sh sending 188#01… every 50 ms. The left blinker is on.

sendloop.sh sending 188#03…. Both blinkers are on, which is the hazard lights.

Message specification

Property Value
CAN ID 0x188 (decimal 392)
Period ~500 ms (2 Hz) from the driver at idle; state-bearing
Byte 0 bitfield: bit 0 (0x01) = left turn signal, bit 1 (0x02) = right turn signal; 0x00 = off, 0x03 = both (hazard)
Bytes 1–7 unused (zero)

Setting and holding the state

I noticed two things here. With the controls program closed, one cansend is enough to set the state for good. The cluster keeps the last value it got, because nothing else on the bus sends a new one, and it stays that way until another frame changes it. There’s no authentication, no freshness check and no timeout.

With the driver running, though, its own frames (twice a second) overwrite whatever I send within about 500 ms. To keep a state against the real traffic I had to keep sending it, which is what sendloop.sh does at about 20 Hz. Both cases come down to the same thing. The bus has no idea who sent a frame, so the cluster just believes the latest one.

The challenge functions, hazard lights and speed

Hazard lights

The question was whether the hazard lights use a new ID or a combination of values on an existing one. It’s a combination. Byte 0 of ID 188 is a bitfield with bit 0 for left and bit 1 for right, so setting both bits (0x03) turns on both blinkers at the same time. sendloop.sh 188#0300000000000000 does exactly what the hazard button should (the last screenshot in Part 4 shows it). This bus has no separate ID for the hazards.

Speed

Speed is a continuous value, so comparing payload sets, which worked for the turn signal, doesn’t work here. There’s also a second problem. When the car is standing still, the driver randomizes the speed bytes on purpose, so at idle the speed message looks just like counter noise. GLM 5.3 confirmed this later by reading the simulator source, but it explains what I saw: the speed ID was classified as noise in Part 1, and a live cansniffer session is impossible to read because every candidate keeps changing.

What worked was making the speed change and following the value over time. I took four captures while accelerating. The simulator speeds up and slows down linearly, so each log has a steady climb, and then a steady drop after I let go of the key. speedscan.py prints the raw 16-bit value of an ID for every second of a capture. In that output the speed ID is easy to spot, because it’s the only one that climbs steadily with the throttle while all the others keep cycling.

python3 speedscan.py speed1.log 244 3
== speed1.log: 1027 frames of ID 244, 15.0s ==
t= 0s  min=  259 max=  507 last=  500     <- idle: value randomized (noise)
t= 1s  min=  261 max=  510 last=  504
t= 2s  min=  258 max=  506 last=  493
t= 3s  min=   18 max= 1104 last= 1104     <- throttle applied, ramp begins
t= 4s  min= 1122 max= 1919 last= 1919
...
t=13s  min=12329 max=13542 last=13542
t=14s  min=13560 max=14484 last=14484     <- limiter cap (raw 14484 = 90.0 mph)

The cluster with the throttle held down until the limiter. The needle sits at 90 mph.

The highest raw value in each capture, next to what the dial showed at that moment:

Capture Peak raw (data[3]<<8 | data[4]) Dial reading (mph)
speed2 3114 ~20
speed3 7187 ~45
speed4 10627 ~70
speed1 (held to the limiter) 14484 ~90–95

The relationship is linear and goes through zero. raw / 100 gives km/h, and the dial in mph is raw × 0.0062138. The limiter capture confirms it best. The climb stops at raw 14484, which is 144.84 km/h, exactly 90.0 mph, and that matches the MAX_SPEED of 90 that GLM 5.3 found in the simulator source.

Message specification

Property Value
CAN ID 0x244
Period ~15 ms (65–70 Hz), sent continuously by the driver
Bytes data[3] = high byte, data[4] = low byte, big-endian 16-bit
Scaling raw / 100 = km/h; mph = km/h × 0.6213751
At idle value randomized (data[3] = 0x01, data[4] = random), hiding in bus noise

0x244 is the same ID I took for a rolling counter in Part 1. An ID that looks like noise when the car is at rest can still be a real signal, if its idle value is randomized, on purpose or not. Looking at the bus at rest isn’t enough to rule an ID out.

The five questions from the handout

Q1. Why did replay work at all? Which missing security properties made it possible?

Because CAN has none of the things that would stop it. There’s no authentication, so any node can send any ID. There’s no source addressing either. IDs name the message, not the sender, so the cluster can’t tell who sent a frame. There’s no freshness, so a frame recorded 20 seconds ago is as good as a new one. And there’s no check on the values themselves, so anything in range is accepted.

Payloads aren’t encrypted either, but that’s a separate issue. Encryption alone wouldn’t stop a replay, because an encrypted frame can be sent again exactly as it was and still work. What the missing encryption made possible was Part 4: reading the bytes, understanding them and writing new values. Every node on the bus fully trusts every other node. That’s why replay doesn’t need any exploit: you just send valid frames, and a plain canplayer replay controls the cluster as well as the real driver does.

Q2. Our bisection used a human as the oracle. How would you automate it?

By replacing “look at the cluster” with something a program can check. I can think of three ways, each more precise than the one before.

  1. Take screenshots of the cluster window and compare the area around the blinker icons. This detects a change without knowing anything about the protocol.
  2. Since we have the simulator source, patch icsim so it logs every call to update_signal_status() to a file. Then “did the blinker turn on?” becomes a grep.
  3. On a real car, measure the current going to the lamp, or ask the ECU for its state over the bus.

With any of these, the bisection becomes a script that replays a subset, checks the oracle and continues with the half that caused the effect. The whole of Part 3 would take seconds.

Q3. Real vehicles also send counters and checksums. How would these affect the lab, and how would you detect them from traffic alone?

A rolling counter would make replaying old frames fail, since their sequence numbers are stale. A checksum would make modified frames fail, like the ones I sent with cansend, unless you figure out the checksum and recompute it. In this lab, Part 4 would have required reversing the checksum algorithm first, which is usually more work than finding the ID.

That said, neither of them is really a security feature. In real cars they come from functional safety (AUTOSAR E2E protection), where their job is to catch lost, repeated or stuck messages, not attackers. Someone on the bus can read the current counter and send the next value, and a simple checksum (XOR, sum, CRC-8) can be recomputed by anyone who knows the algorithm. They raise the bar a little, but not much.

Both can be found from the traffic alone. A counter goes up by one with each frame and wraps around. In real cars it’s often just 4 bits (0 to 15) sharing a byte with something else, so it’s worth checking nibbles and not only whole bytes. For a checksum, the practical approach is to try the usual algorithms (XOR of the bytes, sum mod 256, CRC-8 SAE J1850) on every frame of an ID until one always matches the suspect byte.

The counter test would have saved me some time on this bus. In Part 1 I took the low byte of 0x244 for a rolling counter, because the sorted list of payloads looked like one. Looking at the values in the order they arrive (129, 17, 103, 255, 116, 1, …) shows they don’t go up by one at all. They’re random, which is exactly what Part 5 found: the randomized idle speed.

Q4. Propose a simple IDS that would detect your replay. What does it rely on?

A monitor that checks, for each known ID, how often it arrives and what values it carries. For 0x188, normal traffic is about 2 frames per second, byte 0 is 0x00, 0x01, 0x02 or 0x03, and bytes 1 to 7 are zero. The IDS keeps track of the time between frames and the value range for each ID, and raises an alarm when something is off.

How well it would have done depends on which of my attacks it was watching. sendloop.sh at 20 frames per second breaks the timing badly and would be caught right away. The canplayer replay in Part 3 would not. canplayer -I keeps the original timestamps, so subset_188.log goes out at the same 2 Hz as the real traffic, with valid values. And since controls was closed, there was no legitimate sender to compare against.

That’s the real condition for staying hidden. As long as the legitimate ECU keeps transmitting, injected frames add to its own, so the rate goes up and the values contradict each other (00, 01, 00, 01…), and the IDS sees that even if the attacker sends at the right rate. To stay invisible, the attacker has to silence or replace the real sender, by compromising that ECU or by forcing it off the bus (a bus-off attack). So the IDS relies on stable periods (every ID in Part 1 was periodic), known value ranges, and the legitimate sender still being on the bus. A careful attacker who takes over the sender needs other checks, like physical consistency: “turn signal on while the steering angle says the car is going straight”.

Q5. How does a MAC with a freshness value (as in AUTOSAR SecOC) change the attacker’s task? What costs does it impose on a CAN node?

With SecOC, each protected frame carries a truncated MAC and a freshness value, usually a counter that only goes up. Replay fails because old counter values are rejected, and forging fails because without the key you can’t compute a valid MAC for a new value. The attacker can no longer just send valid frames, which this lab showed is all it takes today. They need the key, by compromising a node, extracting it from an ECU or using side channels. Or they go around the protection: flooding the bus, targeting IDs that aren’t protected, or exploiting timing issues in the freshness window.

It costs the nodes quite a bit:

  • symmetric crypto for every frame, on small embedded CPUs;
  • provisioning and managing keys across a whole fleet of cars;
  • keeping freshness counters in sync between sender and receiver, where losing sync means legitimate frames get dropped, which is a reliability problem;
  • space, because the MAC and the freshness value have to fit in the 64-bit CAN frame together with the data. That forces heavy truncation (24-bit MACs, for example), which weakens the protection you’re adding. CAN FD helps a lot here, with up to 64 bytes of payload per frame, and it’s one of the reasons SecOC is more practical on newer cars.

Adding security to CAN means giving up some of the predictability and simplicity that made it cheap to use in the first place.

What I learned

  • Sending valid frames is all it takes. Replaying a recorded file, or sending a single frame by hand, controlled the cluster as well as the real driver. CAN has no authentication, no sender information and no freshness, so I never needed an exploit.
  • If two captures look the same, it doesn’t mean nothing is happening. A counter that goes through all its values within one capture is invisible when you compare payload sets.
  • Looking at the bus at rest isn’t enough. The speed message, 0x244, looked like a counter at idle because its value is randomized when the car is standing still. I only found it once I made the speed change.
  • Comparing captures finds the ID, and replay confirms it. The comparison alone pointed to 0x188, and replaying it next to a decoy ID proved it.
  • Securing CAN costs something. SecOC-style MACs stop replay and forging, but they take computing power, key management, counter syncing, and space in a 64-bit frame.

Who helped with what

I used GLM 5.3 to help me write the Python helpers (idstats.py, diffids.py, filterlog.py and speedscan.py), which should have come with the lab but didn’t, and to double-check my code and results along the way. It also reviewed the ICSim source before I ran it, found the cause of the freeze bug and wrote the patch, and later confirmed in the source how the simulator handles speed. The shell scripts are my own.

Claude Opus 5.5 helped me turn my report into this page: splitting it into sections, writing the introduction, and polishing the English.

All lab entries