#!/bin/bash

## Copyright (C) 2020 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

if grep -q "libhardened_malloc-light.so" "/proc/$$/maps"; then
    echo "light"
    exit 0
fi

if grep -q "libhardened_malloc.so" "/proc/$$/maps"; then
    echo "default"
    exit 0
fi

echo "none"
exit 1
