Skip to content

eBPF-based security platform

1.0 KB
Raw Blame
% SPDX-License-Identifier: BSD-2-Clause
% Copyright (c) 2026 Authors of shirudo
%
% The runtime image of the default 15 MiB: the stripped target binary
% 12.7 MiB, file system structures, certificates and settings 1.0 MiB,
% and 1.3 MiB free (operate/plan/overhead.rst).
\documentclass[tikz,dvisvgm]{standalone}
\usepackage{shirudo-figure}

\begin{document}
\begin{tikzpicture}
  \useasboundingbox (0,0) rectangle (720,76);

  % One pixel is 15 MiB / 560.
  \fill[fig-s1, bar] (0,8) rectangle ++(471.6,28);
  \fill[fig-s2, bar] (473.6,8) rectangle ++(37.8,28);
  \fill[fig-free, bar] (513.4,8) rectangle ++(46.6,28);
  \node[anchor=base west, text=fig-on, font=\bfseries] at (8,26) {12.7 MiB};
  \node[anchor=base west, note] at (570,26) {1.3 MiB free};

  \foreach \x/\c/\t in {0/fig-s1/{Target binary, stripped},
      191.8/fig-s2/{File system structures, certificates, settings},
      535.4/fig-free/Free} {
    \fill[\c, rounded corners=1.5pt] (\x,57) rectangle ++(10,10);
    \node[anchor=base west, note] at (\x+16,66) {\t};
  }
\end{tikzpicture}
\end{document}