We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad19f6 commit dc1098dCopy full SHA for dc1098d
crates/libafl_intelpt/src/linux.rs
@@ -119,12 +119,13 @@ impl IntelPT {
119
/// Set filters based on Instruction Pointer (IP)
120
///
121
/// Only instructions in `filters` ranges will be traced.
122
+ /// NOTE: only filters of type `AddrFilterType::FILTER` are supported.
123
fn set_ip_filters(&mut self, filters: &AddrFilters) -> Result<(), Error> {
124
let str_filter = filters
125
.iter()
126
.filter(|f| f.filter_type == AddrFilterType::FILTER)
127
.map(|filter| {
- let size = filter.to - filter.from;
128
+ let size = filter.to - filter.from + 1;
129
format!("filter {:#016x}/{:#016x} ", filter.from, size)
130
})
131
.reduce(|acc, s| acc + &s)
0 commit comments