An overview of osquery
osquery facebook/osquery Performant endpoint visibility SQL-based operating system instrumentation, monitoring, and analytics framework It is a simple and easy-to-use operating system explorer These tools reveal an operating system as a...
Template Method with Modern c++
Hollywood Principle 템플릿 메소드는 “할리우드 원칙”이라는 역전된 제어 구조를 끌어낸다. 할리우드 원칙이란 할리우드에서 오디션을 보고 거절 할 때 주로 쓰던 말로 “전화하지 마세요. 우리가 연락 할게요(Don’t call us, we’ll call...
Singleton with Modern c++
Singleton Pattern 싱글턴 패턴(Singleton pattern)을 시스템에서 정확히 하나의 인스턴스만 유지해야 하는 클래스에 적용하는 디자인 패턴이다. 기존 C++에서의 싱글톤 패턴 구현은 static 키워드로 구현 되어 하나의 인스턴스를 생성하도록 하였다. 하지만 static...
C&C View in SW Arch Document
Component in Software System 소프트웨어 아키텍처 문서(Software Architecture Document)에서 소프트웨어 시스템이 어떻게 동작하는지 표현하기 위해 C&C View (Component and Connector View)를 사용한다. 전체 시스템을 컴포넌트로 나누고 컴포넌트의 관계를 커넥터로 연결하여...
Random access and sequential access
Container 같은 타입의 객체들을 저장하기 위해서 STL은 컨테이너 클래스를 제공한다. 대표적인 컨테이너 클래스로 std::vector, std::list, std::map과 같은 것 들이 있다. 컨테이너에 저장된 객체들을 순회하기 위해서, 정확히는 접근 하기 위해서 알아야...