mirror of
https://github.com/ptitSeb/box86.git
synced 2025-05-09 05:11:43 +08:00
Some fixed to a few libc wrapped functions so bash can run (a copy is in tests folder)
This commit is contained in:
parent
45d2ac757e
commit
c1eb7cbfa8
@ -2822,8 +2822,10 @@ wrappedlibc:
|
||||
- iFpp:
|
||||
- execvp
|
||||
- lstat
|
||||
- lstat64
|
||||
- scanf
|
||||
- stat
|
||||
- stat64
|
||||
- iFpV:
|
||||
- execl
|
||||
- execle
|
||||
|
@ -126,8 +126,10 @@ typedef int32_t (*iFpLiLppp_t)(void*, uintptr_t, int32_t, uintptr_t, void*, void
|
||||
GO(fstat, iFip_t) \
|
||||
GO(execvp, iFpp_t) \
|
||||
GO(lstat, iFpp_t) \
|
||||
GO(lstat64, iFpp_t) \
|
||||
GO(scanf, iFpp_t) \
|
||||
GO(stat, iFpp_t) \
|
||||
GO(stat64, iFpp_t) \
|
||||
GO(execl, iFpV_t) \
|
||||
GO(execle, iFpV_t) \
|
||||
GO(execlp, iFpV_t) \
|
||||
|
@ -1637,8 +1637,8 @@ GO2(sscanf, iFppV, vsscanf) // sscanf va_list is only pointer, no realign to
|
||||
// ssignal // Weak
|
||||
// sstk
|
||||
GOM(__stack_chk_fail, vFEv) //%%
|
||||
GOM(lstat64, iFpp) //%%,noE
|
||||
GOM(stat64, iFpp) //%%,noE
|
||||
GOM(lstat64, iFEpp)
|
||||
GOM(stat64, iFEpp)
|
||||
GOW(statfs, iFpp)
|
||||
// __statfs
|
||||
GOWM(statfs64, iFpp) //%%,noE
|
||||
|
BIN
tests/bash
Executable file
BIN
tests/bash
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user