detect call to functions and use of asm lock to increase value.