Analyze container_of and offsetof
container_of and offsetof are frequently used in kernel code. If we declare a structrue variable somewhere and know the pointer of the structure’s member, we can access the structure variable...
Hello, Rust!
Rust A language empowering everyone to build reliable and efficient software. Rust is powerful programming language in terms of Performance, Reliality, Productivity. In other words, Rust is a memory-safe language....
The rule of five/zero
C++11부터 이동 생성자, 이동 대입 연산자를 지원함에 따라 컴파일러가 자동으로 생성해 주는 함수(Compiler-generated Functions, 이하 CGF)들이 늘어 났다. 본 글에서는 5가지의 CGF를 작성하는 규칙에 관한 내용이다. 5-CGF destructor copy constructor...
Integer overflow
In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given...
Osquery's Event Framework
본 글은 How RocksDB is used in osquery의 내용 중 Event Framework에 관한 것을 번역 및 추가 해석 한 것이다. Event Framework는 크게 2가지의 주체를 가진다. Event Publisher: Event를 발생시키는...