only add header protected symbol in memory.h