projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix memory leak in regexec when input contains illegal sequence
[musl]
/
src
/
string
/
i386
/
memmove.s
1
.global memmove
2
.type memmove,@function
3
memmove:
4
mov 4(%esp),%eax
5
sub 8(%esp),%eax
6
cmp 12(%esp),%eax
7
jae memcpy
8
push %esi
9
push %edi
10
mov 12(%esp),%edi
11
mov 16(%esp),%esi
12
mov 20(%esp),%ecx
13
lea -1(%edi,%ecx),%edi
14
lea -1(%esi,%ecx),%esi
15
std
16
rep movsb
17
cld
18
lea 1(%edi),%eax
19
pop %edi
20
pop %esi
21
ret