[traps] BUILD and attribute initialization