An Extensive Study on Adversarial Attack against Pre-trained Models of Code