char buffer[80]; 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;
u32 pc = reg[15].I; pc -= 4; int count = 20; if(n >= 2) { sscanf(args[1], "%x", &pc);
static void debuggerDisassembleArm(FILE *f, u32 pc, int count){  char buffer[80];  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);    fprintf(f, format, addr, elfGetAddressSymbol(addr), buffer);  }}