lldb-dfsan 
lldb-dfsan is an LLDB plugin that allows inspecting the DFSan labels of
variables, structures and memory in the target process.
Installation
wget "https://raw.githubusercontent.com/vusec/lldb-dfsan/main/lldb_dfsan.py" ;
sudo mv lldb_dfsan.py (lldb -P) ;
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
}
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.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lldb_dfsan-0.1.tar.gz.
File metadata
- Download URL: lldb_dfsan-0.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b008bd6571b38e6a14e9f371816331cc97aae9fbdd9c8d81ead046e85a75197d
|
|
| MD5 |
f6e2cafb4f8a096e1ed332c5471ebdd0
|
|
| BLAKE2b-256 |
f098a26ac7ec7e57232132175d298731ff45823a6e826a4f81a6bd133726eb4f
|
File details
Details for the file lldb_dfsan-0.1-py3-none-any.whl.
File metadata
- Download URL: lldb_dfsan-0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d285ea8e7c55f6701889beef681b67e8206525668f2f1acc8baa9efbed1be3
|
|
| MD5 |
b7ee75016b5b4987e257e6166850a604
|
|
| BLAKE2b-256 |
3dd63ee84ceb918ee5487e75547259681738d9cdd946e337740bb71d83cbb659
|