title: How do I edit IDA Pro function xrefs?
body: <p>IDA is very persistent in its mislabeling of a function call I'm making (it's hand-written assembler, but I've verified it in a debugger). It was working before, but as I've been patching in new code to the existing db using python, it seems to have gone a bit wonky.</p>
  
  <p>Now, even though it acknowledges I'm pushing function_a to eax, it insists that my subsequent call eax is a call to function_b. No matter how I try to "refresh" it, it persists. I've tried deleting the function, undefining and redefining the section, even calling DelCodeXref (this last method seems to remove it from the function xrefs list, but the comments still appear next to the call and if i undefine/redefine, it naturally just reappears). </p>
  
  <p>The only fix seems to be writing in a second mov eax, offset function_a above it, but it's hardly elegant to throw in a redundant instruction just to be rid of a misleading comment. Anyone have any suggestions?</p>