Granary / granary

Dynamic binary translation framework for instrumenting the Linux kernel and its modules
Other
76 stars 6 forks source link

Bounds_checker memory corruption issue #6

Open kumarak opened 11 years ago

kumarak commented 11 years ago

How to Reproduce:

1) Set client as bounds_checker 2) Run iozone test in throughput mode with direct i/o enabled. Run with two reader/writer thread. 3) Page fault at bound_policy::visit_reader(...), memory corruption

Related:

Memory corruption is happening because it is trying to instrument a corrupted instruction. it shows size_index more than 5.

The issue is temporarily fixed by not instrumenting the instruction when size_index is more than 5