Skip to main content

LLDB plugin for debugging DFSan'd binaries.

Project description

lldb-dfsan status badge

lldb-dfsan is an LLDB plugin that allows inspecting the DFSan labels of variables, structures and memory in the target process.

Installation

pip install lldb-dfsan && echo "command script import lldb_dfsan" >> ~/.lldbinit

How to use

This plugin provides the label VAR command which prints all labels of the references local variable VAR. For example:

Process 38271 stopped
   4    int i[3] = {1, 2, 3};
   5   
   6    dfsan_label i_label = 1;
   7    dfsan_set_label(i_label, &(i[1]), sizeof(int));
(lldb) label i
i : array int[3] {
  [0] : No taint
  [1] : (Taint class 1)
  [2] : No taint
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lldb_dfsan-0.1.1.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

lldb_dfsan-0.1.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page