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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file lldb_dfsan-0.1.1.tar.gz.

File metadata

  • Download URL: lldb_dfsan-0.1.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for lldb_dfsan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e4e4e575c87a9ec77c511b97d078c8a16e1512e7f3aee1dd826712f800caab3c
MD5 0e1c1747dac824b7663787f073a0e42c
BLAKE2b-256 20fdf423e9af018dcc835d64ecf2633eaca408f60d42793f83c0929fc30129d7

See more details on using hashes here.

File details

Details for the file lldb_dfsan-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lldb_dfsan-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for lldb_dfsan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59c9423a10deb80c68c364ff91751a7d852bd07481dbd1ee538f01122d713b85
MD5 96460c0b8c624fdc6533e350c707ddb6
BLAKE2b-256 44900bdc3b0db164d1e86e9ad37cdb7c75f739d0e11b5bc0c27a09bbfc18a29d

See more details on using hashes here.

Supported by

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