Semantic-Preserving Adversarial Attacks on LLMs: An Adaptive Greedy Binary Search Approach