Extract binary being tested into a declarared attribute.