printf(format, addr, elfGetAddressSymbol(addr), buffer);
fprintf(f, format, addr, elfGetAddressSymbol(addr), buffer);
void debuggerDisassembleArm(int n, char **args){  char buffer[80];  u32 pc = reg[15].I;  pc -= 4;  int count = 20;  if(n >= 2) {    sscanf(args[1], "%x", &pc);  }  if(pc & 3) {    printf("Misaligned address %08x\n", pc);    pc &= 0xfffffffc;  }  if(n >= 3) {    sscanf(args[2], "%d", &count);  }  int i = 0;  int len = 0;  char format[30];  for(i = 0; i < count; i++) {    int l = strlen(elfGetAddressSymbol(pc+4*i));    if(l > len)      len = l;  }  sprintf(format, "%%08x %%-%ds %%s\n", len);  for(i = 0; i < count; i++) {    u32 addr = pc;    pc += disArm(pc, buffer, 2);    printf(format, addr, elfGetAddressSymbol(addr), buffer);  }}