---
title: "Ravidu Priyankara (@ravindupriyankara) | Hashnode"
description: "The compiler hates me. Read the latest articles by Ravidu Priyankara on Hashnode."
url: "https://hashnode.com/@ravindupriyankara"
---

@ravindupriyankara

# Ravidu Priyankara

@ravindupriyankara · Joined May 2026

The compiler hates me.

### [OneLane: Reverse-Engineering Lost Updates in eBPF Per-CPU Counters Under Interrupt Pressure](https://ravindu-priyankara.hashnode.dev/onelane-reverse-engineering-lost-updates-in-ebpf-per-cpu-counters-under-interrupt-pressure?utm_source=hashnode&utm_medium=feed)

Explore how non-atomic eBPF per-CPU counter updates can lose events under interrupt pressure through Linux kernel reverse engineering and JIT assembly

46 min read · [ravindu-priyankara.hashnode.dev](https://ravindu-priyankara.hashnode.dev/onelane-reverse-engineering-lost-updates-in-ebpf-per-cpu-counters-under-interrupt-pressure?utm_source=hashnode&utm_medium=feed)

[Nov 2](https://hashnode.com/posts/onelane-reverse-engineering-lost-updates-in-ebpf-per-cpu-counters-under-interrupt-pressure/6ae89ca2ee878ec9b148a18f)

### [Reverse-Engineering Linux Kernel Crypto: From HMAC Key Preparation to AES Key Memory](https://ravindu-priyankara.hashnode.dev/linux-kernel-crypto-key-reversing?utm_source=hashnode&utm_medium=feed)

Reverse-engineering Linux kernel crypto to trace HMAC and AES key handling, inspect internal hash states, and investigate runtime key modification.

44 min read · [ravindu-priyankara.hashnode.dev](https://ravindu-priyankara.hashnode.dev/linux-kernel-crypto-key-reversing?utm_source=hashnode&utm_medium=feed)

[Oct 13](https://hashnode.com/posts/linux-kernel-crypto-key-reversing/6acdff669951b3221668ab2a)

### [Reverse Engineering Linux's Dummy Kernel Module: Lessons from Binary to Kernel Behaviour](https://ravindu-priyankara.hashnode.dev/reverse-engineering-linux-dummy-kernel-module?utm_source=hashnode&utm_medium=feed)

Lessons from reversing Linux's dummy kernel module using radare2, GDB and QEMU, covering relocations, callbacks, runtime analysis and more.

7 min read · [ravindu-priyankara.hashnode.dev](https://ravindu-priyankara.hashnode.dev/reverse-engineering-linux-dummy-kernel-module?utm_source=hashnode&utm_medium=feed)

[Jul 28](https://hashnode.com/posts/reverse-engineering-linux-dummy-kernel-module/6a6816ce2b8e2bd4071833d8)

### [Squeezing Bytes: How I Optimised an eBPF Driver in Falco](https://ravindu-priyankara.hashnode.dev/squeezing-bytes-how-i-optimised-an-ebpf-driver-in-falco?utm_source=hashnode&utm_medium=feed)

How tracking down a packed struct alignment gap in Clang allowed me to eliminate 32 BPF instructions per invocation in Falco's modern BPF driver.

9 min read · [ravindu-priyankara.hashnode.dev](https://ravindu-priyankara.hashnode.dev/squeezing-bytes-how-i-optimised-an-ebpf-driver-in-falco?utm_source=hashnode&utm_medium=feed)

[Jun 20](https://hashnode.com/posts/squeezing-bytes-how-i-optimised-an-ebpf-driver-in-falco/6a36669afc16c25dc3a5d1cc)

### [The Case of the Disappearing eBPF Instruction: Inside Map FD Relocation and BPF\_LD\_IMM64](https://ravindu-priyankara.hashnode.dev/the-case-of-the-disappearing-ebpf-instruction-inside-map-fd-relocation-and-bpf-ld-imm64?utm_source=hashnode&utm_medium=feed)

Ever notice missing instructions in eBPF disassembly? Inside the deep-dive tracking of how libbpf handles placeholder FDs and dup3 binary surgery.

18 min read · [ravindu-priyankara.hashnode.dev](https://ravindu-priyankara.hashnode.dev/the-case-of-the-disappearing-ebpf-instruction-inside-map-fd-relocation-and-bpf-ld-imm64?utm_source=hashnode&utm_medium=feed)

[Jun 8](https://hashnode.com/posts/the-case-of-the-disappearing-ebpf-instruction-inside-map-fd-relocation-and-bpf-ld-imm64/6a2647a6a310674fdac6096e)
