Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/libtools/myalign.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void myStackAlignScanf(x64emu_t* emu, const char* fmt, uint64_t* st, uint64_t* m
case '#':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'n':
case 'p':
case 'S':
Expand Down Expand Up @@ -493,7 +493,7 @@ void myStackAlignScanfW(x64emu_t* emu, const char* fmt, uint64_t* st, uint64_t*
case '#':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'n':
case 'p':
case 'S':
Expand Down Expand Up @@ -1050,7 +1050,7 @@ void myStackAlignScanfValist(x64emu_t* emu, const char* fmt, uint64_t* mystack,
case '#':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'n':
case 'p':
case 'S':
Expand Down Expand Up @@ -1157,7 +1157,7 @@ void myStackAlignScanfWValist(x64emu_t* emu, const char* fmt, uint64_t* mystack,
case '.':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'n':
case 'p':
case 'S':
Expand Down
8 changes: 4 additions & 4 deletions src/libtools/myalign32.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ size_t myStackAlignScanf32(const char* fmt, uint32_t* st, uint64_t* mystack, siz
case '+':
case '-': ++p; break; // formating, ignored
case '[': state += 60; ++p; break;
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'p': state = 30; break; // pointers
case 'S':
case 's': state = 50; break; // string
Expand Down Expand Up @@ -352,7 +352,7 @@ void myStackAlignScanf32_final(const char* fmt, uint32_t* st, uint64_t* mystack,
case '+':
case '-': ++p; break; // formating, ignored
case '[': state += 60; ++p; break;
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'p': state = 30; break; // pointers
case 'S':
case 's': state = 50; break; // strings
Expand Down Expand Up @@ -495,7 +495,7 @@ size_t myStackAlignScanfW32(const char* fmt, uint32_t* st, uint64_t* mystack, si
case '#':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'p': state = 30; break; // pointers
case 'S':
case 's': state = 50; break; // strings
Expand Down Expand Up @@ -622,7 +622,7 @@ void myStackAlignScanfW32_final(const char* fmt, uint32_t* st, uint64_t* mystack
case '#':
case '+':
case '-': ++p; break; // formating, ignored
case 'm': state = 0; ++p; break; // no argument
case 'm': ++p; break; // modifier: does not consume an argument itself
case 'p': state = 30; break; // pointers
case 'S':
case 's': state = 50; break; // string
Expand Down
Loading