added mask mode interface
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  added mask mode interface