mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
parent
2d64b9994b
commit
10fd8bdb70
1397 changed files with 1204 additions and 5031 deletions
2
Makefile
2
Makefile
|
@ -310,10 +310,8 @@ COSMOPOLITAN_OBJECTS = \
|
|||
LIBC_NT_PSAPI \
|
||||
LIBC_NT_POWRPROF \
|
||||
LIBC_NT_PDH \
|
||||
LIBC_NT_SHELL32 \
|
||||
LIBC_NT_GDI32 \
|
||||
LIBC_NT_COMDLG32 \
|
||||
LIBC_NT_NETAPI32 \
|
||||
LIBC_NT_URL \
|
||||
LIBC_NT_USER32 \
|
||||
LIBC_NT_NTDLL \
|
||||
|
|
Binary file not shown.
|
@ -42,7 +42,6 @@ o/$(MODE)/%.o: %.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(
|
|||
o/$(MODE)/%.o: o/$(MODE)/%.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.o: %.cc ; @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.lds: %.lds ; @$(COMPILE) -APREPROCESS $(PREPROCESS.lds) $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.cxx.o: %.c ; @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) -xc++ $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.o: %.greg.c ; @$(COMPILE) -AOBJECTIFY.greg $(OBJECTIFY.greg.c) $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.greg.o: %.greg.c ; @$(COMPILE) -AOBJECTIFY.greg $(OBJECTIFY.greg.c) $(OUTPUT_OPTION) $<
|
||||
o/$(MODE)/%.initabi.o: %.initabi.c ; @$(COMPILE) -AOBJECTIFY.init $(OBJECTIFY.initabi.c) $(OUTPUT_OPTION) $<
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "libc/bits/weaken.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/termios.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "libc/log/internal.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/append.internal.h"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/gc.internal.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "third_party/zlib/zlib.h"
|
||||
|
||||
#define CHUNK 32768
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "libc/log/gdb.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/gc.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/str/str.h"
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
#include "libc/fmt/conv.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
enum { PICOL_OK, PICOL_ERR, PICOL_RETURN, PICOL_BREAK, PICOL_CONTINUE };
|
||||
enum { PT_ESC, PT_STR, PT_CMD, PT_VAR, PT_SEP, PT_EOL, PT_EOF };
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "libc/log/log.h"
|
||||
#include "libc/runtime/gc.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/x/x.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
#include "libc/calls/calls.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/log/check.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/stdio/append.internal.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* @fileoverview Fast Growable Strings Tutorial
|
||||
|
|
|
@ -14,9 +14,11 @@
|
|||
#include "libc/fmt/nf32.h"
|
||||
#include "libc/log/check.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/append.internal.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/itimer.h"
|
||||
#include "libc/sysv/consts/sig.h"
|
||||
#include "libc/time/time.h"
|
||||
|
|
33
libc/calls/_timespec_tonanos.c
Normal file
33
libc/calls/_timespec_tonanos.c
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│
|
||||
│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│
|
||||
╞══════════════════════════════════════════════════════════════════════════════╡
|
||||
│ Copyright 2022 Justine Alexandra Roberts Tunney │
|
||||
│ │
|
||||
│ Permission to use, copy, modify, and/or distribute this software for │
|
||||
│ any purpose with or without fee is hereby granted, provided that the │
|
||||
│ above copyright notice and this permission notice appear in all copies. │
|
||||
│ │
|
||||
│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │
|
||||
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │
|
||||
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │
|
||||
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │
|
||||
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │
|
||||
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │
|
||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/limits.h"
|
||||
|
||||
/**
|
||||
* Converts timespec interval to nanoseconds.
|
||||
*/
|
||||
int64_t _timespec_tonanos(struct timespec x) {
|
||||
int64_t ns;
|
||||
if (!__builtin_mul_overflow(x.tv_sec, 1000000000ul, &ns) &&
|
||||
!__builtin_add_overflow(ns, x.tv_nsec, &ns)) {
|
||||
return ns;
|
||||
} else {
|
||||
return INT64_MAX;
|
||||
}
|
||||
}
|
|
@ -33,6 +33,7 @@
|
|||
* - /tmp/
|
||||
*
|
||||
* This guarantees trailing slash.
|
||||
* We also guarantee `kTmpPath` won't be longer than `PATH_MAX / 2`.
|
||||
*/
|
||||
char kTmpPath[PATH_MAX];
|
||||
|
||||
|
@ -46,7 +47,7 @@ __attribute__((__constructor__)) static void kTmpPathInit(void) {
|
|||
uint32_t n;
|
||||
char16_t path16[PATH_MAX];
|
||||
|
||||
if ((s = getenv("TMPDIR")) && (n = strlen(s)) < PATH_MAX) {
|
||||
if ((s = getenv("TMPDIR")) && (n = strlen(s)) < PATH_MAX / 2) {
|
||||
memcpy(kTmpPath, s, n);
|
||||
if (n && kTmpPath[n - 1] != '/') {
|
||||
kTmpPath[n + 0] = '/';
|
||||
|
|
|
@ -8,6 +8,7 @@ struct timespec {
|
|||
};
|
||||
|
||||
int sys_futex(int *, int, int, const struct timespec *, int *);
|
||||
int64_t _timespec_tonanos(struct timespec) pureconst;
|
||||
int64_t _timespec_tomicros(struct timespec) pureconst;
|
||||
int64_t _timespec_tomillis(struct timespec) pureconst;
|
||||
struct timespec _timespec_frommicros(int64_t) pureconst;
|
||||
|
|
|
@ -93,13 +93,15 @@ _Thread_local static struct {
|
|||
} State;
|
||||
|
||||
static int unveil_final(void) {
|
||||
int rc;
|
||||
int e, rc;
|
||||
struct sock_fprog sandbox = {
|
||||
.filter = kUnveilBlacklist,
|
||||
.len = ARRAYLEN(kUnveilBlacklist),
|
||||
};
|
||||
if ((rc = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) != -1 &&
|
||||
(rc = landlock_restrict_self(State.fd, 0)) != -1 &&
|
||||
e = errno;
|
||||
prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
||||
errno = e;
|
||||
if ((rc = landlock_restrict_self(State.fd, 0)) != -1 &&
|
||||
(rc = sys_close(State.fd)) != -1 &&
|
||||
(rc = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &sandbox)) != -1) {
|
||||
State.fd = 0;
|
||||
|
@ -117,9 +119,11 @@ static int err_close(int rc, int fd) {
|
|||
static int unveil_init(void) {
|
||||
int rc, fd;
|
||||
State.fs_mask = UNVEIL_READ | UNVEIL_WRITE | UNVEIL_EXEC | UNVEIL_CREATE;
|
||||
if ((rc = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION)) <
|
||||
0) {
|
||||
if (errno == EOPNOTSUPP) errno = ENOSYS;
|
||||
if ((rc = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION)) ==
|
||||
-1) {
|
||||
if (errno == EOPNOTSUPP) {
|
||||
errno = ENOSYS;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
if (rc < 2) {
|
||||
|
@ -250,7 +254,7 @@ int sys_unveil_linux(const char *path, const char *permissions) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Restricts filesystem operations, e.g.
|
||||
* Makes files accessible, e.g.
|
||||
*
|
||||
* unveil(".", "r"); // current directory + children are visible
|
||||
* unveil("/etc", "r"); // make /etc readable too
|
||||
|
@ -264,6 +268,10 @@ int sys_unveil_linux(const char *path, const char *permissions) {
|
|||
* should become unhidden. When you're finished, you call `unveil(0,0)`
|
||||
* which commits your policy.
|
||||
*
|
||||
* This function requires OpenBSD or Linux 5.13+. We don't consider lack
|
||||
* of system support to be an ENOSYS error, because the files will still
|
||||
* become unveiled. Therefore we return 0 in such cases.
|
||||
*
|
||||
* There are some differences between unveil() on Linux versus OpenBSD.
|
||||
*
|
||||
* 1. Build your policy and lock it in one go. On OpenBSD, policies take
|
||||
|
@ -333,8 +341,6 @@ int sys_unveil_linux(const char *path, const char *permissions) {
|
|||
* the pledge promise "cpath".
|
||||
*
|
||||
* @return 0 on success, or -1 w/ errno
|
||||
* @raise ENOSYS if host os isn't Linux or OpenBSD
|
||||
* @raise ENOSYS if Landlock isn't supported on this kernel
|
||||
* @raise EINVAL if one argument is set and the other is not
|
||||
* @raise EINVAL if an invalid character in `permissions` was found
|
||||
* @raise EPERM if unveil() is called after locking
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dns/prototxt.h"
|
||||
#include "libc/nt/systeminfo.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
textwindows char *GetNtProtocolsTxtPath(char *pathbuf, uint32_t size) {
|
||||
/* protocol, not plural */
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dns/servicestxt.h"
|
||||
#include "libc/nt/systeminfo.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
textwindows char *GetNtServicesTxtPath(char *pathbuf, uint32_t size) {
|
||||
const char *const kWinHostsPath = "\\drivers\\etc\\services";
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dns/ent.h"
|
||||
#include "libc/dns/prototxt.h"
|
||||
#include "libc/mem/mem.h"
|
||||
|
||||
struct protoent *getprotobyname(const char *name) {
|
||||
static struct protoent *ptr0, pe0;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dns/ent.h"
|
||||
#include "libc/dns/prototxt.h"
|
||||
#include "libc/mem/mem.h"
|
||||
|
||||
struct protoent *getprotobynumber(int proto) {
|
||||
static struct protoent *ptr1, pe1;
|
||||
|
|
|
@ -25,10 +25,13 @@
|
|||
│ OTHER DEALINGS IN THE SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/dns/prototxt.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Opens and searches /etc/protocols to find number for a given name.
|
||||
|
|
|
@ -25,10 +25,13 @@
|
|||
│ OTHER DEALINGS IN THE SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/dns/prototxt.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Opens and searches /etc/protocols to find name for a given number.
|
||||
|
|
|
@ -25,10 +25,13 @@
|
|||
│ OTHER DEALINGS IN THE SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/dns/servicestxt.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Opens and searches /etc/services to find port for a given name.
|
||||
|
|
|
@ -25,10 +25,13 @@
|
|||
│ OTHER DEALINGS IN THE SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/dns/servicestxt.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Opens and searches /etc/services to find name for a given port.
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
int __xpg_strerror_r(int a, char *b, size_t c) {
|
||||
return strerror_r(a, b, c);
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_FMT_PFLINK_H_
|
||||
#define COSMOPOLITAN_LIBC_FMT_PFLINK_H_
|
||||
#include "libc/dce.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/unicode/unicode.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
/**
|
||||
* @fileoverview builtin+preprocessor+linker tricks for printf/scanf.
|
||||
|
@ -23,8 +17,8 @@
|
|||
if (___PFLINK(FMT, strpbrk, "faAeg")) STATIC_YOINK("__fmt_dtoa"); \
|
||||
if (___PFLINK(FMT, strpbrk, "cmrqs")) { \
|
||||
if (___PFLINK(FMT, strstr, "%m")) STATIC_YOINK("strerror"); \
|
||||
if (!IsTiny() && (___PFLINK(FMT, strstr, "%*") || \
|
||||
___PFLINK(FMT, strpbrk, "0123456789"))) { \
|
||||
if (___PFLINK(FMT, strstr, "%*") || \
|
||||
___PFLINK(FMT, strpbrk, "0123456789")) { \
|
||||
STATIC_YOINK("strnwidth"); \
|
||||
STATIC_YOINK("strnwidth16"); \
|
||||
STATIC_YOINK("wcsnwidth"); \
|
||||
|
@ -64,35 +58,6 @@
|
|||
*/
|
||||
#pragma GCC diagnostic ignored "-Wformat-security"
|
||||
#endif /* __GNUC__ + 0 < 6 */
|
||||
#else
|
||||
#define PFLINK(FMT) FMT
|
||||
#define SFLINK(FMT) FMT
|
||||
#ifdef __GNUC__
|
||||
__asm__(".section .yoink\n\t"
|
||||
"nopl\t__fmt_dtoa(%rip)\n\t"
|
||||
"nopl\tkCp437(%rip)\n\t"
|
||||
"nopl\tstrerror(%rip)\n\t"
|
||||
"nopl\tstrnwidth(%rip)\n\t"
|
||||
"nopl\tstrnwidth16(%rip)\n\t"
|
||||
"nopl\twcsnwidth(%rip)\n\t"
|
||||
"nopl\tmalloc(%rip)\n\t"
|
||||
"nopl\tcalloc(%rip)\n\t"
|
||||
"nopl\t__grow(%rip)\n\t"
|
||||
".previous");
|
||||
#else
|
||||
static long __pflink(long x) {
|
||||
x |= kCp437[0];
|
||||
x |= __fmt_dtoa(0, 0, 0, 0, 0, 0);
|
||||
x |= strnwidth(0, 0, 0);
|
||||
x |= strnwidth16(0, 0, 0);
|
||||
x |= wcsnwidth(0, 0, 0);
|
||||
x |= malloc(0);
|
||||
x |= __grow(0, 0, 0, 0);
|
||||
x |= (intptr_t)strerror(0);
|
||||
x |= (intptr_t)calloc(0, 0);
|
||||
return x;
|
||||
}
|
||||
#endif
|
||||
#endif /* __STRICT_ANSI__ */
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_FMT_PFLINK_H_ */
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
static int GetExponent(int c) {
|
||||
switch (c) {
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Converts errno value to string non-reentrantly.
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/nt/runtime.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Converts errno value to string.
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "libc/limits.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
struct SprintfStr {
|
||||
char *p;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "libc/log/log.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/hook/hook.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/nexgen32e/gc.internal.h"
|
||||
#include "libc/nexgen32e/stackframe.h"
|
||||
#include "libc/nt/enum/version.h"
|
||||
|
@ -195,8 +196,7 @@ static uint64_t __asan_roundup2pow(uint64_t x) {
|
|||
static char *__asan_utf8cpy(char *p, unsigned c) {
|
||||
uint64_t z;
|
||||
z = tpenc(c);
|
||||
do
|
||||
*p++ = z;
|
||||
do *p++ = z;
|
||||
while ((z >>= 8));
|
||||
return p;
|
||||
}
|
||||
|
@ -947,8 +947,7 @@ static void __asan_trace(struct AsanTrace *bt, const struct StackFrame *bp) {
|
|||
if (!__asan_checka(SHADOW(bp), sizeof(*bp) >> 3).kind) {
|
||||
addr = bp->addr;
|
||||
if (addr == weakaddr("__gc") && weakaddr("__gc")) {
|
||||
do
|
||||
--gi;
|
||||
do --gi;
|
||||
while ((addr = garbage->p[gi].ret) == weakaddr("__gc"));
|
||||
}
|
||||
bt->p[i] = addr;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_RUNTIME_PTHREAD_H_
|
||||
#define COSMOPOLITAN_LIBC_RUNTIME_PTHREAD_H_
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/dce.h"
|
||||
|
||||
#define PTHREAD_KEYS_MAX 64
|
||||
|
||||
|
@ -84,7 +82,6 @@ int pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *);
|
|||
int pthread_mutex_lock(pthread_mutex_t *);
|
||||
int pthread_mutex_unlock(pthread_mutex_t *);
|
||||
int pthread_mutex_trylock(pthread_mutex_t *);
|
||||
int pthread_mutex_timedlock(pthread_mutex_t *, const struct timespec *);
|
||||
int pthread_mutex_destroy(pthread_mutex_t *);
|
||||
int pthread_mutex_consistent(pthread_mutex_t *);
|
||||
int pthread_mutexattr_init(pthread_mutexattr_t *);
|
||||
|
@ -94,8 +91,6 @@ int pthread_mutexattr_settype(pthread_mutexattr_t *, int);
|
|||
int pthread_cond_init(pthread_cond_t *, const pthread_condattr_t *);
|
||||
int pthread_cond_destroy(pthread_cond_t *);
|
||||
int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
||||
int pthread_cond_timedwait(pthread_cond_t *, pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
int pthread_cond_broadcast(pthread_cond_t *);
|
||||
int pthread_cancel(pthread_t);
|
||||
int pthread_cond_signal(pthread_cond_t *);
|
||||
|
@ -103,10 +98,8 @@ int pthread_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *);
|
|||
int pthread_rwlock_destroy(pthread_rwlock_t *);
|
||||
int pthread_rwlock_rdlock(pthread_rwlock_t *);
|
||||
int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
|
||||
int pthread_rwlock_timedrdlock(pthread_rwlock_t *, const struct timespec *);
|
||||
int pthread_rwlock_wrlock(pthread_rwlock_t *);
|
||||
int pthread_rwlock_trywrlock(pthread_rwlock_t *);
|
||||
int pthread_rwlock_timedwrlock(pthread_rwlock_t *, const struct timespec *);
|
||||
int pthread_rwlock_unlock(pthread_rwlock_t *);
|
||||
int pthread_key_create(pthread_key_t *, pthread_key_dtor);
|
||||
int pthread_key_delete(pthread_key_t);
|
||||
|
@ -139,8 +132,7 @@ void *pthread_getspecific(pthread_key_t);
|
|||
#define pthread_mutex_unlock(mutex) \
|
||||
((mutex)->attr == PTHREAD_MUTEX_NORMAL \
|
||||
? (__atomic_store_n(&(mutex)->lock, 0, __ATOMIC_RELAXED), \
|
||||
((IsLinux() || IsOpenbsd()) && \
|
||||
__atomic_load_n(&(mutex)->waits, __ATOMIC_RELAXED) && \
|
||||
(__atomic_load_n(&(mutex)->waits, __ATOMIC_RELAXED) && \
|
||||
_pthread_mutex_wake(mutex)), \
|
||||
0) \
|
||||
: pthread_mutex_unlock(mutex))
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "libc/assert.h"
|
||||
#include "libc/bits/atomic.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/intrin/pthread.h"
|
||||
|
@ -44,8 +45,7 @@ int(pthread_mutex_unlock)(pthread_mutex_t *mutex) {
|
|||
// fallthrough
|
||||
case PTHREAD_MUTEX_NORMAL:
|
||||
atomic_store_explicit(&mutex->lock, 0, memory_order_relaxed);
|
||||
if ((IsLinux() || IsOpenbsd()) &&
|
||||
atomic_load_explicit(&mutex->waits, memory_order_relaxed) > 0) {
|
||||
if (atomic_load_explicit(&mutex->waits, memory_order_relaxed) > 0) {
|
||||
_pthread_mutex_wake(mutex);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -17,9 +17,15 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/atomic.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/futex.internal.h"
|
||||
#include "libc/intrin/pthread.h"
|
||||
|
||||
int _pthread_mutex_wake(pthread_mutex_t *mutex) {
|
||||
return _futex_wake(&mutex->lock, 1);
|
||||
if ((IsLinux() || IsOpenbsd()) &&
|
||||
atomic_load_explicit(&mutex->waits, memory_order_relaxed)) {
|
||||
return _futex_wake(&mutex->lock, 1);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "libc/nt/enum/formatmessageflags.h"
|
||||
#include "libc/nt/enum/lang.h"
|
||||
#include "libc/nt/process.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Converts errno value to string with explicit windows errno too.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define LIBC_ISYSTEM_STDIO_H_
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/stdio/lock.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/stdio/temp.h"
|
||||
#endif
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "libc/math.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
static double GetTotal(const struct countbranch *p) {
|
||||
return p->total;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "libc/errno.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/**
|
||||
* Writes error messages to standard error.
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "libc/macros.internal.h"
|
||||
#include "libc/runtime/stack.h"
|
||||
#include "libc/runtime/symbols.internal.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/map.h"
|
||||
#include "libc/sysv/consts/prot.h"
|
||||
#include "libc/sysv/consts/sa.h"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "libc/math.h"
|
||||
#include "libc/nexgen32e/nexgen32e.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/lock.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/fileno.h"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp gdi32,__imp_GdiCurrentProcessSplWow64,GdiCurrentProcessSplWow64,1510
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_GetSystemWow64DirectoryA,GetSystemWow64DirectoryA,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_GetSystemWow64DirectoryW,GetSystemWow64DirectoryW,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_IsWow64Process,IsWow64Process,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64DisableWow64FsRedirection,Wow64DisableWow64FsRedirection,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64EnableWow64FsRedirection,Wow64EnableWow64FsRedirection,1545
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64GetThreadContext,Wow64GetThreadContext,1546
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64GetThreadSelectorEntry,Wow64GetThreadSelectorEntry,1547
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64RevertWow64FsRedirection,Wow64RevertWow64FsRedirection,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64SetThreadContext,Wow64SetThreadContext,1549
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_Wow64SuspendThread,Wow64SuspendThread,1550
|
|
@ -667,8 +667,6 @@ imp 'GetSystemTimePreciseAsFileTime' GetSystemTimePreciseAsFileTime kernel3
|
|||
imp 'GetSystemTimes' GetSystemTimes kernel32 0 3
|
||||
imp 'GetSystemWindowsDirectory' GetSystemWindowsDirectoryW kernel32 0
|
||||
imp 'GetSystemWindowsDirectoryA' GetSystemWindowsDirectoryA kernel32 0
|
||||
imp 'GetSystemWow64Directory' GetSystemWow64DirectoryW kernel32 0
|
||||
imp 'GetSystemWow64DirectoryA' GetSystemWow64DirectoryA kernel32 0
|
||||
imp 'GetTapeParameters' GetTapeParameters kernel32 756
|
||||
imp 'GetTapePosition' GetTapePosition kernel32 757
|
||||
imp 'GetTapeStatus' GetTapeStatus kernel32 758
|
||||
|
@ -809,7 +807,6 @@ imp 'IsValidLanguageGroup' IsValidLanguageGroup kernel32 0
|
|||
imp 'IsValidLocale' IsValidLocale kernel32 0
|
||||
imp 'IsValidLocaleName' IsValidLocaleName kernel32 0
|
||||
imp 'IsValidNLSVersion' IsValidNLSVersion kernel32 0
|
||||
imp 'IsWow64Process' IsWow64Process kernel32 0
|
||||
imp 'K32EmptyWorkingSet' K32EmptyWorkingSet kernel32 0
|
||||
imp 'K32EnumDeviceDrivers' K32EnumDeviceDrivers kernel32 0
|
||||
imp 'K32EnumPageFiles' K32EnumPageFilesW kernel32 0
|
||||
|
@ -1305,13 +1302,6 @@ imp 'WerpNotifyLoadStringResourceWorker' WerpNotifyLoadStringResourceWorker
|
|||
imp 'WerpNotifyUseStringResourceWorker' WerpNotifyUseStringResourceWorker kernel32 1541
|
||||
imp 'WideCharToMultiByte' WideCharToMultiByte kernel32 1553 8
|
||||
imp 'WinExec' WinExec kernel32 1543
|
||||
imp 'Wow64DisableWow64FsRedirection' Wow64DisableWow64FsRedirection kernel32 0
|
||||
imp 'Wow64EnableWow64FsRedirection' Wow64EnableWow64FsRedirection kernel32 1545
|
||||
imp 'Wow64GetThreadContext' Wow64GetThreadContext kernel32 1546
|
||||
imp 'Wow64GetThreadSelectorEntry' Wow64GetThreadSelectorEntry kernel32 1547
|
||||
imp 'Wow64RevertWow64FsRedirection' Wow64RevertWow64FsRedirection kernel32 0
|
||||
imp 'Wow64SetThreadContext' Wow64SetThreadContext kernel32 1549
|
||||
imp 'Wow64SuspendThread' Wow64SuspendThread kernel32 1550
|
||||
imp 'WriteConsole' WriteConsoleW kernel32 0 5
|
||||
imp 'WriteConsoleA' WriteConsoleA kernel32 0 5
|
||||
imp 'WriteConsoleInput' WriteConsoleInputW kernel32 0 4
|
||||
|
@ -2598,7 +2588,6 @@ imp 'IsWindowInDestroy' IsWindowInDestroy user32 2087
|
|||
imp 'IsWindowRedirectedForPrint' IsWindowRedirectedForPrint user32 2088
|
||||
imp 'IsWindowUnicode' IsWindowUnicode user32 2089
|
||||
imp 'IsWindowVisible' IsWindowVisible user32 2090 1
|
||||
imp 'IsWow64Message' IsWow64Message user32 2091
|
||||
imp 'IsZoomed' IsZoomed user32 2092 1
|
||||
imp 'KillTimer' KillTimer user32 2093 2
|
||||
imp 'LoadAccelerators' LoadAcceleratorsW user32 2095
|
||||
|
@ -3376,7 +3365,6 @@ imp 'GdiConvertRegion' GdiConvertRegion gdi32 1506
|
|||
imp 'GdiConvertToDevmode' GdiConvertToDevmodeW gdi32 1507
|
||||
imp 'GdiCreateLocalEnhMetaFile' GdiCreateLocalEnhMetaFile gdi32 1508
|
||||
imp 'GdiCreateLocalMetaFilePict' GdiCreateLocalMetaFilePict gdi32 1509
|
||||
imp 'GdiCurrentProcessSplWow64' GdiCurrentProcessSplWow64 gdi32 1510
|
||||
imp 'GdiDeleteLocalDC' GdiDeleteLocalDC gdi32 1511
|
||||
imp 'GdiDeleteSpoolFileHandle' GdiDeleteSpoolFileHandle gdi32 1512
|
||||
imp 'GdiDescribePixelFormat' GdiDescribePixelFormat gdi32 1513
|
||||
|
@ -4095,89 +4083,6 @@ imp 'InitializeProcessForWsWatch' InitializeProcessForWsWatch psapi 0
|
|||
imp 'QueryWorkingSet' QueryWorkingSet psapi 0
|
||||
imp 'QueryWorkingSetEx' QueryWorkingSetEx psapi 0
|
||||
|
||||
# NETAPI32.DLL
|
||||
#
|
||||
# Name Actual DLL Hint Arity
|
||||
imp 'I_BrowserSetNetlogonState' I_BrowserSetNetlogonState netapi32 34
|
||||
imp 'NetAccessAdd' NetAccessAdd netapi32 71
|
||||
imp 'NetAccessDel' NetAccessDel netapi32 72
|
||||
imp 'NetAccessEnum' NetAccessEnum netapi32 73
|
||||
imp 'NetAccessGetInfo' NetAccessGetInfo netapi32 74
|
||||
imp 'NetAccessGetUserPerms' NetAccessGetUserPerms netapi32 75
|
||||
imp 'NetAccessSetInfo' NetAccessSetInfo netapi32 76
|
||||
imp 'NetAlertRaise' NetAlertRaise netapi32 79
|
||||
imp 'NetAlertRaiseEx' NetAlertRaiseEx netapi32 80
|
||||
imp 'NetAuditClear' NetAuditClear netapi32 85
|
||||
imp 'NetAuditRead' NetAuditRead netapi32 86
|
||||
imp 'NetAuditWrite' NetAuditWrite netapi32 87
|
||||
imp 'NetConfigGet' NetConfigGet netapi32 88
|
||||
imp 'NetConfigGetAll' NetConfigGetAll netapi32 89
|
||||
imp 'NetConfigSet' NetConfigSet netapi32 90
|
||||
imp 'NetErrorLogClear' NetErrorLogClear netapi32 124
|
||||
imp 'NetErrorLogRead' NetErrorLogRead netapi32 125
|
||||
imp 'NetErrorLogWrite' NetErrorLogWrite netapi32 126
|
||||
imp 'NetMessageBufferSend' NetMessageBufferSend netapi32 161
|
||||
imp 'NetMessageNameAdd' NetMessageNameAdd netapi32 162
|
||||
imp 'NetMessageNameDel' NetMessageNameDel netapi32 163
|
||||
imp 'NetMessageNameEnum' NetMessageNameEnum netapi32 164
|
||||
imp 'NetMessageNameGetInfo' NetMessageNameGetInfo netapi32 165
|
||||
imp 'NetRegisterDomainNameChangeNotification' NetRegisterDomainNameChangeNotification netapi32 169
|
||||
imp 'NetReplExportDirAdd' NetReplExportDirAdd netapi32 175
|
||||
imp 'NetReplExportDirDel' NetReplExportDirDel netapi32 176
|
||||
imp 'NetReplExportDirEnum' NetReplExportDirEnum netapi32 177
|
||||
imp 'NetReplExportDirGetInfo' NetReplExportDirGetInfo netapi32 178
|
||||
imp 'NetReplExportDirLock' NetReplExportDirLock netapi32 179
|
||||
imp 'NetReplExportDirSetInfo' NetReplExportDirSetInfo netapi32 180
|
||||
imp 'NetReplExportDirUnlock' NetReplExportDirUnlock netapi32 181
|
||||
imp 'NetReplGetInfo' NetReplGetInfo netapi32 182
|
||||
imp 'NetReplImportDirAdd' NetReplImportDirAdd netapi32 183
|
||||
imp 'NetReplImportDirDel' NetReplImportDirDel netapi32 184
|
||||
imp 'NetReplImportDirEnum' NetReplImportDirEnum netapi32 185
|
||||
imp 'NetReplImportDirGetInfo' NetReplImportDirGetInfo netapi32 186
|
||||
imp 'NetReplImportDirLock' NetReplImportDirLock netapi32 187
|
||||
imp 'NetReplImportDirUnlock' NetReplImportDirUnlock netapi32 188
|
||||
imp 'NetReplSetInfo' NetReplSetInfo netapi32 189
|
||||
imp 'NetServerEnum' NetServerEnum netapi32 202
|
||||
imp 'NetServerEnumEx' NetServerEnumEx netapi32 203
|
||||
imp 'NetServiceControl' NetServiceControl netapi32 210
|
||||
imp 'NetServiceEnum' NetServiceEnum netapi32 211
|
||||
imp 'NetServiceGetInfo' NetServiceGetInfo netapi32 212
|
||||
imp 'NetServiceInstall' NetServiceInstall netapi32 213
|
||||
imp 'NetStatisticsGet' NetStatisticsGet netapi32 227
|
||||
imp 'NetUnregisterDomainNameChangeNotification' NetUnregisterDomainNameChangeNotification netapi32 229
|
||||
imp 'NetWkstaGetInfo' NetWkstaGetInfo netapi32 248
|
||||
imp 'NetWkstaSetInfo' NetWkstaSetInfo netapi32 249
|
||||
imp 'Netbios' Netbios netapi32 257
|
||||
imp 'NetpAddTlnFtinfoEntry' NetpAddTlnFtinfoEntry netapi32 258
|
||||
imp 'NetpAllocFtinfoEntry' NetpAllocFtinfoEntry netapi32 259
|
||||
imp 'NetpAssertFailed' NetpAssertFailed netapi32 260
|
||||
imp 'NetpCleanFtinfoContext' NetpCleanFtinfoContext netapi32 261
|
||||
imp 'NetpCloseConfigData' NetpCloseConfigData netapi32 262
|
||||
imp 'NetpCopyFtinfoContext' NetpCopyFtinfoContext netapi32 263
|
||||
imp 'NetpDbgPrint' NetpDbgPrint netapi32 264
|
||||
imp 'NetpGetConfigBool' NetpGetConfigBool netapi32 265
|
||||
imp 'NetpGetConfigDword' NetpGetConfigDword netapi32 266
|
||||
imp 'NetpGetConfigTStrArray' NetpGetConfigTStrArray netapi32 267
|
||||
imp 'NetpGetConfigValue' NetpGetConfigValue netapi32 268
|
||||
imp 'NetpGetFileSecurity' NetpGetFileSecurity netapi32 269
|
||||
imp 'NetpHexDump' NetpHexDump netapi32 270
|
||||
imp 'NetpInitFtinfoContext' NetpInitFtinfoContext netapi32 271
|
||||
imp 'NetpIsUncComputerNameValid' NetpIsUncComputerNameValid netapi32 273
|
||||
imp 'NetpMergeFtinfo' NetpMergeFtinfo netapi32 274
|
||||
imp 'NetpNetBiosReset' NetpNetBiosReset netapi32 275
|
||||
imp 'NetpNetBiosStatusToApiStatus' NetpNetBiosStatusToApiStatus netapi32 276
|
||||
imp 'NetpOpenConfigData' NetpOpenConfigData netapi32 277
|
||||
imp 'NetpSetFileSecurity' NetpSetFileSecurity netapi32 278
|
||||
imp 'RxNetAccessAdd' RxNetAccessAdd netapi32 288
|
||||
imp 'RxNetAccessDel' RxNetAccessDel netapi32 289
|
||||
imp 'RxNetAccessEnum' RxNetAccessEnum netapi32 290
|
||||
imp 'RxNetAccessGetInfo' RxNetAccessGetInfo netapi32 291
|
||||
imp 'RxNetAccessGetUserPerms' RxNetAccessGetUserPerms netapi32 292
|
||||
imp 'RxNetAccessSetInfo' RxNetAccessSetInfo netapi32 293
|
||||
imp 'RxNetServerEnum' RxNetServerEnum netapi32 294
|
||||
imp 'RxNetUserPasswordSet' RxNetUserPasswordSet netapi32 295
|
||||
imp 'RxRemoteApi' RxRemoteApi netapi32 296
|
||||
|
||||
# URL.DLL
|
||||
#
|
||||
# Name Actual DLL Hint Arity
|
||||
|
@ -4192,265 +4097,6 @@ imp 'InetIsOffline' InetIsOffline url 106
|
|||
imp 'MIMEAssociationDialog' MIMEAssociationDialogW url 108
|
||||
imp 'MailToProtocolHandler' MailToProtocolHandler url 109
|
||||
|
||||
# SHELL32.DLL
|
||||
#
|
||||
# Name Actual DLL Hint Arity
|
||||
imp 'AppCompat_RunDLLW' AppCompat_RunDLLW shell32 255
|
||||
imp 'AssocCreateForClasses' AssocCreateForClasses shell32 263
|
||||
imp 'AssocGetDetailsOfPropKey' AssocGetDetailsOfPropKey shell32 267
|
||||
imp 'CDefFolderMenu_Create2' CDefFolderMenu_Create2 shell32 701
|
||||
imp 'CIDLData_CreateFromIDArray' CIDLData_CreateFromIDArray shell32 83
|
||||
imp 'CStorageItem_GetValidatedStorageItemObject' CStorageItem_GetValidatedStorageItemObject shell32 937
|
||||
imp 'CheckEscapes' CheckEscapesW shell32 268
|
||||
imp 'CommandLineToArgv' CommandLineToArgvW shell32 269
|
||||
imp 'Control_RunDLL' Control_RunDLL shell32 272
|
||||
imp 'Control_RunDLLAsUser' Control_RunDLLAsUserW shell32 274
|
||||
imp 'Control_RunDLLW' Control_RunDLLW shell32 275
|
||||
imp 'DAD_AutoScroll' DAD_AutoScroll shell32 129
|
||||
imp 'DAD_DragEnterEx' DAD_DragEnterEx shell32 131
|
||||
imp 'DAD_DragEnterEx2' DAD_DragEnterEx2 shell32 22
|
||||
imp 'DAD_DragLeave' DAD_DragLeave shell32 132
|
||||
imp 'DAD_DragMove' DAD_DragMove shell32 134
|
||||
imp 'DAD_SetDragImage' DAD_SetDragImage shell32 136
|
||||
imp 'DAD_ShowDragImage' DAD_ShowDragImage shell32 137
|
||||
imp 'DllGetActivationFactory' DllGetActivationFactory shell32 277
|
||||
imp 'DllGetVersion' DllGetVersion shell32 279
|
||||
imp 'DllInstall' DllInstall shell32 280
|
||||
imp 'DllRegisterServer' DllRegisterServer shell32 281
|
||||
imp 'DllUnregisterServer' DllUnregisterServer shell32 282
|
||||
imp 'DoEnvironmentSubst' DoEnvironmentSubstW shell32 284
|
||||
imp 'DragAcceptFiles' DragAcceptFiles shell32 285
|
||||
imp 'DragFinish' DragFinish shell32 286
|
||||
imp 'DragQueryFile' DragQueryFileW shell32 290
|
||||
imp 'DragQueryFileAor' DragQueryFileAorW shell32 289
|
||||
imp 'DragQueryPoint' DragQueryPoint shell32 291
|
||||
imp 'DriveType' DriveType shell32 64
|
||||
imp 'DuplicateIcon' DuplicateIcon shell32 292
|
||||
imp 'ExtractAssociatedIcon' ExtractAssociatedIconW shell32 296
|
||||
imp 'ExtractAssociatedIconEx' ExtractAssociatedIconExW shell32 295
|
||||
imp 'ExtractIcon' ExtractIconW shell32 301
|
||||
imp 'ExtractIconEx' ExtractIconExW shell32 300
|
||||
imp 'FindExecutable' FindExecutableW shell32 303
|
||||
imp 'FreeIconList' FreeIconList shell32 304
|
||||
imp 'GetCurrentProcessExplicitAppUserModelID' GetCurrentProcessExplicitAppUserModelID shell32 305
|
||||
imp 'GetFileNameFromBrowse' GetFileNameFromBrowse shell32 63
|
||||
imp 'GetSystemPersistedStorageItemList' GetSystemPersistedStorageItemList shell32 919
|
||||
imp 'ILAppendID' ILAppendID shell32 154
|
||||
imp 'ILClone' ILClone shell32 18
|
||||
imp 'ILCloneFirst' ILCloneFirst shell32 19
|
||||
imp 'ILCombine' ILCombine shell32 25
|
||||
imp 'ILCreateFromPath' ILCreateFromPathW shell32 190
|
||||
imp 'ILFindChild' ILFindChild shell32 24
|
||||
imp 'ILFindLastID' ILFindLastID shell32 16
|
||||
imp 'ILFree' ILFree shell32 155
|
||||
imp 'ILGetNext' ILGetNext shell32 153
|
||||
imp 'ILGetSize' ILGetSize shell32 152
|
||||
imp 'ILIsEqual' ILIsEqual shell32 21
|
||||
imp 'ILIsParent' ILIsParent shell32 23
|
||||
imp 'ILLoadFromStreamEx' ILLoadFromStreamEx shell32 846
|
||||
imp 'ILRemoveLastID' ILRemoveLastID shell32 17
|
||||
imp 'ILSaveToStream' ILSaveToStream shell32 27
|
||||
imp 'InitNetworkAddressControl' InitNetworkAddressControl shell32 306
|
||||
imp 'InternalExtractIconList' InternalExtractIconListW shell32 308
|
||||
imp 'IsDesktopExplorerProcess' IsDesktopExplorerProcess shell32 942
|
||||
imp 'IsLFNDrive' IsLFNDriveW shell32 42
|
||||
imp 'IsNetDrive' IsNetDrive shell32 66
|
||||
imp 'IsProcessAnExplorer' IsProcessAnExplorer shell32 941
|
||||
imp 'IsUserAnAdmin' IsUserAnAdmin shell32 680
|
||||
imp 'LaunchMSHelp_RunDLLW' LaunchMSHelp_RunDLLW shell32 309
|
||||
imp 'OpenAs_RunDLL' OpenAs_RunDLL shell32 81
|
||||
imp 'OpenAs_RunDLLW' OpenAs_RunDLLW shell32 133
|
||||
imp 'OpenRegStream' OpenRegStream shell32 85
|
||||
imp 'Options_RunDLL' Options_RunDLL shell32 310
|
||||
imp 'Options_RunDLLW' Options_RunDLLW shell32 312
|
||||
imp 'PathCleanupSpec' PathCleanupSpec shell32 171
|
||||
imp 'PathGetShortPath' PathGetShortPath shell32 92
|
||||
imp 'PathIsExe' PathIsExe shell32 43
|
||||
imp 'PathIsSlow' PathIsSlowW shell32 239
|
||||
imp 'PathMakeUniqueName' PathMakeUniqueName shell32 47
|
||||
imp 'PathQualify' PathQualify shell32 49
|
||||
imp 'PathResolve' PathResolve shell32 51
|
||||
imp 'PathYetAnotherMakeUniqueName' PathYetAnotherMakeUniqueName shell32 75
|
||||
imp 'PickIconDlg' PickIconDlg shell32 62
|
||||
imp 'PifMgr_CloseProperties' PifMgr_CloseProperties shell32 13
|
||||
imp 'PifMgr_GetProperties' PifMgr_GetProperties shell32 10
|
||||
imp 'PifMgr_OpenProperties' PifMgr_OpenProperties shell32 9
|
||||
imp 'PifMgr_SetProperties' PifMgr_SetProperties shell32 11
|
||||
imp 'PrepareDiscForBurnRunDll' PrepareDiscForBurnRunDllW shell32 135
|
||||
imp 'PrintersGetCommand_RunDLL' PrintersGetCommand_RunDLL shell32 138
|
||||
imp 'PrintersGetCommand_RunDLLW' PrintersGetCommand_RunDLLW shell32 150
|
||||
imp 'ReadCabinetState' ReadCabinetState shell32 654
|
||||
imp 'RealDriveType' RealDriveType shell32 524
|
||||
imp 'RealShellExecute' RealShellExecuteW shell32 226
|
||||
imp 'RealShellExecuteEx' RealShellExecuteExW shell32 208
|
||||
imp 'RegenerateUserEnvironment' RegenerateUserEnvironment shell32 313
|
||||
imp 'RestartDialog' RestartDialog shell32 59
|
||||
imp 'RestartDialogEx' RestartDialogEx shell32 730
|
||||
imp 'RunAsNewUser_RunDLLW' RunAsNewUser_RunDLLW shell32 314
|
||||
imp 'SHAddDefaultPropertiesByExt' SHAddDefaultPropertiesByExt shell32 315
|
||||
imp 'SHAddFromPropSheetExtArray' SHAddFromPropSheetExtArray shell32 167
|
||||
imp 'SHAddToRecentDocs' SHAddToRecentDocs shell32 316
|
||||
imp 'SHAlloc' SHAlloc shell32 196
|
||||
imp 'SHAppBarMessage' SHAppBarMessage shell32 317
|
||||
imp 'SHAssocEnumHandlers' SHAssocEnumHandlers shell32 318
|
||||
imp 'SHAssocEnumHandlersForProtocolByApplication' SHAssocEnumHandlersForProtocolByApplication shell32 319
|
||||
imp 'SHBindToFolderIDListParent' SHBindToFolderIDListParent shell32 320
|
||||
imp 'SHBindToFolderIDListParentEx' SHBindToFolderIDListParentEx shell32 321
|
||||
imp 'SHBindToObject' SHBindToObject shell32 322
|
||||
imp 'SHBindToParent' SHBindToParent shell32 323
|
||||
imp 'SHBrowseForFolder' SHBrowseForFolderW shell32 326
|
||||
imp 'SHCLSIDFromString' SHCLSIDFromString shell32 147
|
||||
imp 'SHChangeNotification_Lock' SHChangeNotification_Lock shell32 644
|
||||
imp 'SHChangeNotification_Unlock' SHChangeNotification_Unlock shell32 645
|
||||
imp 'SHChangeNotify' SHChangeNotify shell32 327
|
||||
imp 'SHChangeNotifyDeregister' SHChangeNotifyDeregister shell32 4
|
||||
imp 'SHChangeNotifyRegister' SHChangeNotifyRegister shell32 2
|
||||
imp 'SHChangeNotifyRegisterThread' SHChangeNotifyRegisterThread shell32 328
|
||||
imp 'SHChangeNotifySuspendResume' SHChangeNotifySuspendResume shell32 329
|
||||
imp 'SHCloneSpecialIDList' SHCloneSpecialIDList shell32 89
|
||||
imp 'SHCoCreateInstanceWorker' SHCoCreateInstanceWorker shell32 330
|
||||
imp 'SHCreateAssociationRegistration' SHCreateAssociationRegistration shell32 331
|
||||
imp 'SHCreateCategoryEnum' SHCreateCategoryEnum shell32 332
|
||||
imp 'SHCreateDataObject' SHCreateDataObject shell32 333
|
||||
imp 'SHCreateDefaultContextMenu' SHCreateDefaultContextMenu shell32 334
|
||||
imp 'SHCreateDefaultExtractIcon' SHCreateDefaultExtractIcon shell32 335
|
||||
imp 'SHCreateDefaultPropertiesOp' SHCreateDefaultPropertiesOp shell32 336
|
||||
imp 'SHCreateDirectory' SHCreateDirectory shell32 165
|
||||
imp 'SHCreateDirectoryEx' SHCreateDirectoryExW shell32 338
|
||||
imp 'SHCreateDrvExtIcon' SHCreateDrvExtIcon shell32 339
|
||||
imp 'SHCreateFileExtractIcon' SHCreateFileExtractIconW shell32 743
|
||||
imp 'SHCreateItemFromIDList' SHCreateItemFromIDList shell32 340
|
||||
imp 'SHCreateItemFromParsingName' SHCreateItemFromParsingName shell32 341
|
||||
imp 'SHCreateItemFromRelativeName' SHCreateItemFromRelativeName shell32 342
|
||||
imp 'SHCreateItemInKnownFolder' SHCreateItemInKnownFolder shell32 343
|
||||
imp 'SHCreateItemWithParent' SHCreateItemWithParent shell32 344
|
||||
imp 'SHCreateLocalServerRunDll' SHCreateLocalServerRunDll shell32 345
|
||||
imp 'SHCreateProcessAsUser' SHCreateProcessAsUserW shell32 346
|
||||
imp 'SHCreatePropSheetExtArray' SHCreatePropSheetExtArray shell32 168
|
||||
imp 'SHCreateQueryCancelAutoPlayMoniker' SHCreateQueryCancelAutoPlayMoniker shell32 347
|
||||
imp 'SHCreateShellFolderView' SHCreateShellFolderView shell32 256
|
||||
imp 'SHCreateShellFolderViewEx' SHCreateShellFolderViewEx shell32 174
|
||||
imp 'SHCreateShellItem' SHCreateShellItem shell32 348
|
||||
imp 'SHCreateShellItemArray' SHCreateShellItemArray shell32 349
|
||||
imp 'SHCreateShellItemArrayFromDataObject' SHCreateShellItemArrayFromDataObject shell32 350
|
||||
imp 'SHCreateShellItemArrayFromIDLists' SHCreateShellItemArrayFromIDLists shell32 351
|
||||
imp 'SHCreateShellItemArrayFromShellItem' SHCreateShellItemArrayFromShellItem shell32 352
|
||||
imp 'SHCreateStdEnumFmtEtc' SHCreateStdEnumFmtEtc shell32 74
|
||||
imp 'SHDefExtractIcon' SHDefExtractIconW shell32 6
|
||||
imp 'SHDestroyPropSheetExtArray' SHDestroyPropSheetExtArray shell32 169
|
||||
imp 'SHDoDragDrop' SHDoDragDrop shell32 88
|
||||
imp 'SHEmptyRecycleBin' SHEmptyRecycleBinW shell32 487
|
||||
imp 'SHEnableServiceObject' SHEnableServiceObject shell32 488
|
||||
imp 'SHEnumerateUnreadMailAccounts' SHEnumerateUnreadMailAccountsW shell32 489
|
||||
imp 'SHEvaluateSystemCommandTemplate' SHEvaluateSystemCommandTemplate shell32 490
|
||||
imp 'SHExtractIcons' SHExtractIconsW shell32 491
|
||||
imp 'SHFileOperation' SHFileOperationW shell32 494
|
||||
imp 'SHFindFiles' SHFindFiles shell32 90
|
||||
imp 'SHFind_InitMenuPopup' SHFind_InitMenuPopup shell32 149
|
||||
imp 'SHFlushSFCache' SHFlushSFCache shell32 526
|
||||
imp 'SHFormatDrive' SHFormatDrive shell32 495
|
||||
imp 'SHFree' SHFree shell32 195
|
||||
imp 'SHFreeNameMappings' SHFreeNameMappings shell32 496
|
||||
imp 'SHGetAttributesFromDataObject' SHGetAttributesFromDataObject shell32 750
|
||||
imp 'SHGetDataFromIDList' SHGetDataFromIDListW shell32 498
|
||||
imp 'SHGetDesktopFolder' SHGetDesktopFolder shell32 499
|
||||
imp 'SHGetDiskFreeSpaceEx' SHGetDiskFreeSpaceExW shell32 502
|
||||
imp 'SHGetDriveMedia' SHGetDriveMedia shell32 503
|
||||
imp 'SHGetFileInfo' SHGetFileInfoW shell32 506
|
||||
imp 'SHGetFolderLocation' SHGetFolderLocation shell32 507
|
||||
imp 'SHGetFolderPath' SHGetFolderPathW shell32 512
|
||||
imp 'SHGetFolderPathAndSubDir' SHGetFolderPathAndSubDirW shell32 510
|
||||
imp 'SHGetFolderPathEx' SHGetFolderPathEx shell32 511
|
||||
imp 'SHGetIDListFromObject' SHGetIDListFromObject shell32 513
|
||||
imp 'SHGetIconOverlayIndex' SHGetIconOverlayIndexW shell32 515
|
||||
imp 'SHGetImageList' SHGetImageList shell32 727
|
||||
imp 'SHGetInstanceExplorer' SHGetInstanceExplorer shell32 516
|
||||
imp 'SHGetItemFromDataObject' SHGetItemFromDataObject shell32 517
|
||||
imp 'SHGetItemFromObject' SHGetItemFromObject shell32 518
|
||||
imp 'SHGetKnownFolderIDList' SHGetKnownFolderIDList shell32 519
|
||||
imp 'SHGetKnownFolderItem' SHGetKnownFolderItem shell32 527
|
||||
imp 'SHGetKnownFolderPath' SHGetKnownFolderPath shell32 528
|
||||
imp 'SHGetLocalizedName' SHGetLocalizedName shell32 529
|
||||
imp 'SHGetMalloc' SHGetMalloc shell32 530
|
||||
imp 'SHGetNameFromIDList' SHGetNameFromIDList shell32 531
|
||||
imp 'SHGetNewLinkInfo' SHGetNewLinkInfoW shell32 180
|
||||
imp 'SHGetPathFromIDList' SHGetPathFromIDListW shell32 536
|
||||
imp 'SHGetPathFromIDListEx' SHGetPathFromIDListEx shell32 535
|
||||
imp 'SHGetPropertyStoreForWindow' SHGetPropertyStoreForWindow shell32 537
|
||||
imp 'SHGetPropertyStoreFromIDList' SHGetPropertyStoreFromIDList shell32 538
|
||||
imp 'SHGetPropertyStoreFromParsingName' SHGetPropertyStoreFromParsingName shell32 539
|
||||
imp 'SHGetRealIDL' SHGetRealIDL shell32 98
|
||||
imp 'SHGetSetFolderCustomSettings' SHGetSetFolderCustomSettings shell32 709
|
||||
imp 'SHGetSetSettings' SHGetSetSettings shell32 68
|
||||
imp 'SHGetSettings' SHGetSettings shell32 540
|
||||
imp 'SHGetSpecialFolderLocation' SHGetSpecialFolderLocation shell32 541
|
||||
imp 'SHGetSpecialFolderPath' SHGetSpecialFolderPathW shell32 543
|
||||
imp 'SHGetStockIconInfo' SHGetStockIconInfo shell32 544
|
||||
imp 'SHGetTemporaryPropertyForItem' SHGetTemporaryPropertyForItem shell32 545
|
||||
imp 'SHGetUnreadMailCount' SHGetUnreadMailCountW shell32 546
|
||||
imp 'SHHandleUpdateImage' SHHandleUpdateImage shell32 193
|
||||
imp 'SHHelpShortcuts_RunDLL' SHHelpShortcuts_RunDLL shell32 228
|
||||
imp 'SHHelpShortcuts_RunDLLW' SHHelpShortcuts_RunDLLW shell32 238
|
||||
imp 'SHILCreateFromPath' SHILCreateFromPath shell32 28
|
||||
imp 'SHInvokePrinterCommand' SHInvokePrinterCommandW shell32 548
|
||||
imp 'SHIsFileAvailableOffline' SHIsFileAvailableOffline shell32 549
|
||||
imp 'SHLimitInputEdit' SHLimitInputEdit shell32 747
|
||||
imp 'SHLoadInProc' SHLoadInProc shell32 550
|
||||
imp 'SHLoadNonloadedIconOverlayIdentifiers' SHLoadNonloadedIconOverlayIdentifiers shell32 551
|
||||
imp 'SHMapPIDLToSystemImageListIndex' SHMapPIDLToSystemImageListIndex shell32 77
|
||||
imp 'SHMultiFileProperties' SHMultiFileProperties shell32 716
|
||||
imp 'SHObjectProperties' SHObjectProperties shell32 178
|
||||
imp 'SHOpenFolderAndSelectItems' SHOpenFolderAndSelectItems shell32 552
|
||||
imp 'SHOpenPropSheet' SHOpenPropSheetW shell32 80
|
||||
imp 'SHOpenWithDialog' SHOpenWithDialog shell32 553
|
||||
imp 'SHParseDisplayName' SHParseDisplayName shell32 554
|
||||
imp 'SHPathPrepareForWrite' SHPathPrepareForWriteW shell32 556
|
||||
imp 'SHPropStgCreate' SHPropStgCreate shell32 685
|
||||
imp 'SHPropStgReadMultiple' SHPropStgReadMultiple shell32 688
|
||||
imp 'SHPropStgWriteMultiple' SHPropStgWriteMultiple shell32 689
|
||||
imp 'SHQueryRecycleBin' SHQueryRecycleBinW shell32 558
|
||||
imp 'SHQueryUserNotificationState' SHQueryUserNotificationState shell32 559
|
||||
imp 'SHRemoveLocalizedName' SHRemoveLocalizedName shell32 560
|
||||
imp 'SHReplaceFromPropSheetExtArray' SHReplaceFromPropSheetExtArray shell32 170
|
||||
imp 'SHResolveLibrary' SHResolveLibrary shell32 561
|
||||
imp 'SHRestricted' SHRestricted shell32 100
|
||||
imp 'SHSetDefaultProperties' SHSetDefaultProperties shell32 562
|
||||
imp 'SHSetFolderPath' SHSetFolderPathW shell32 232
|
||||
imp 'SHSetInstanceExplorer' SHSetInstanceExplorer shell32 176
|
||||
imp 'SHSetKnownFolderPath' SHSetKnownFolderPath shell32 563
|
||||
imp 'SHSetLocalizedName' SHSetLocalizedName shell32 564
|
||||
imp 'SHSetTemporaryPropertyForItem' SHSetTemporaryPropertyForItem shell32 565
|
||||
imp 'SHSetUnreadMailCount' SHSetUnreadMailCountW shell32 566
|
||||
imp 'SHShellFolderView_Message' SHShellFolderView_Message shell32 73
|
||||
imp 'SHShowManageLibraryUI' SHShowManageLibraryUI shell32 567
|
||||
imp 'SHSimpleIDListFromPath' SHSimpleIDListFromPath shell32 162
|
||||
imp 'SHStartNetConnectionDialog' SHStartNetConnectionDialogW shell32 14
|
||||
imp 'SHTestTokenMembership' SHTestTokenMembership shell32 245
|
||||
imp 'SHUpdateImage' SHUpdateImageW shell32 192
|
||||
imp 'SHUpdateRecycleBinIcon' SHUpdateRecycleBinIcon shell32 568
|
||||
imp 'SHValidateUNC' SHValidateUNC shell32 173
|
||||
imp 'SetCurrentProcessExplicitAppUserModelID' SetCurrentProcessExplicitAppUserModelID shell32 569
|
||||
imp 'SheChangeDirEx' SheChangeDirExW shell32 571
|
||||
imp 'SheSetCurDrive' SheSetCurDrive shell32 573
|
||||
imp 'ShellAbout' ShellAboutW shell32 575
|
||||
imp 'ShellExec_RunDLL' ShellExec_RunDLL shell32 576
|
||||
imp 'ShellExec_RunDLLW' ShellExec_RunDLLW shell32 578
|
||||
imp 'ShellExecute' ShellExecuteW shell32 583
|
||||
imp 'ShellExecuteEx' ShellExecuteExW shell32 582
|
||||
imp 'ShellHookProc' ShellHookProc shell32 584
|
||||
imp 'Shell_GetCachedImageIndex' Shell_GetCachedImageIndexW shell32 586
|
||||
imp 'Shell_GetImageLists' Shell_GetImageLists shell32 71
|
||||
imp 'Shell_MergeMenus' Shell_MergeMenus shell32 67
|
||||
imp 'Shell_NotifyIcon' Shell_NotifyIconW shell32 590
|
||||
imp 'Shell_NotifyIconGetRect' Shell_NotifyIconGetRect shell32 589
|
||||
imp 'SignalFileOpen' SignalFileOpen shell32 103
|
||||
imp 'StgMakeUniqueName' StgMakeUniqueName shell32 682
|
||||
imp 'UsersLibrariesFolderUI_CreateInstance' UsersLibrariesFolderUI_CreateInstance shell32 615
|
||||
imp 'WOWShellExecute' WOWShellExecute shell32 616
|
||||
imp 'WaitForExplorerRestart' WaitForExplorerRestartW shell32 617
|
||||
imp 'Win32DeleteFile' Win32DeleteFile shell32 164
|
||||
imp 'WriteCabinetState' WriteCabinetState shell32 652
|
||||
|
||||
# NTDLL.DLL
|
||||
# BEYOND THE PALE
|
||||
#
|
||||
|
@ -5748,7 +5394,6 @@ imp 'RtlQueryValidationRunlevel' RtlQueryValidationRunlevel ntdll 1311
|
|||
imp 'RtlQueryWnfMetaNotification' RtlQueryWnfMetaNotification ntdll 1312
|
||||
imp 'RtlQueryWnfStateData' RtlQueryWnfStateData ntdll 1313
|
||||
imp 'RtlQueryWnfStateDataWithExplicitScope' RtlQueryWnfStateDataWithExplicitScope ntdll 1314
|
||||
imp 'RtlQueueApcWow64Thread' RtlQueueApcWow64Thread ntdll 1315
|
||||
imp 'RtlQueueWorkItem' RtlQueueWorkItem ntdll 1316
|
||||
imp 'RtlRaiseCustomSystemEventTrigger' RtlRaiseCustomSystemEventTrigger ntdll 1317
|
||||
imp 'RtlRaiseException' RtlRaiseException ntdll 1318
|
||||
|
@ -5971,24 +5616,6 @@ imp 'RtlWeaklyEnumerateEntryHashTable' RtlWeaklyEnumerateEntryHashTable ntdl
|
|||
imp 'RtlWerpReportException' RtlWerpReportException ntdll 1535
|
||||
imp 'RtlWnfCompareChangeStamp' RtlWnfCompareChangeStamp ntdll 1536
|
||||
imp 'RtlWnfDllUnloadCallback' RtlWnfDllUnloadCallback ntdll 1537
|
||||
imp 'RtlWow64CallFunction64' RtlWow64CallFunction64 ntdll 1538
|
||||
imp 'RtlWow64EnableFsRedirection' RtlWow64EnableFsRedirection ntdll 1539
|
||||
imp 'RtlWow64EnableFsRedirectionEx' RtlWow64EnableFsRedirectionEx ntdll 1540
|
||||
imp 'RtlWow64GetCpuAreaInfo' RtlWow64GetCpuAreaInfo ntdll 1541
|
||||
imp 'RtlWow64GetCurrentCpuArea' RtlWow64GetCurrentCpuArea ntdll 1542
|
||||
imp 'RtlWow64GetCurrentMachine' RtlWow64GetCurrentMachine ntdll 1543
|
||||
imp 'RtlWow64GetEquivalentMachineCHPE' RtlWow64GetEquivalentMachineCHPE ntdll 1544
|
||||
imp 'RtlWow64GetProcessMachines' RtlWow64GetProcessMachines ntdll 1545
|
||||
imp 'RtlWow64GetSharedInfoProcess' RtlWow64GetSharedInfoProcess ntdll 1546
|
||||
imp 'RtlWow64GetThreadContext' RtlWow64GetThreadContext ntdll 1547
|
||||
imp 'RtlWow64GetThreadSelectorEntry' RtlWow64GetThreadSelectorEntry ntdll 1548
|
||||
imp 'RtlWow64IsWowGuestMachineSupported' RtlWow64IsWowGuestMachineSupported ntdll 1549
|
||||
imp 'RtlWow64LogMessageInEventLogger' RtlWow64LogMessageInEventLogger ntdll 1550
|
||||
imp 'RtlWow64PopAllCrossProcessWork' RtlWow64PopAllCrossProcessWork ntdll 1551
|
||||
imp 'RtlWow64PopCrossProcessWork' RtlWow64PopCrossProcessWork ntdll 1552
|
||||
imp 'RtlWow64PushCrossProcessWork' RtlWow64PushCrossProcessWork ntdll 1553
|
||||
imp 'RtlWow64SetThreadContext' RtlWow64SetThreadContext ntdll 1554
|
||||
imp 'RtlWow64SuspendThread' RtlWow64SuspendThread ntdll 1555
|
||||
imp 'RtlWriteMemoryStream' RtlWriteMemoryStream ntdll 1556
|
||||
imp 'RtlWriteNonVolatileMemory' RtlWriteNonVolatileMemory ntdll 1557
|
||||
imp 'RtlWriteRegistryValue' RtlWriteRegistryValue ntdll 1558
|
||||
|
@ -6028,7 +5655,6 @@ imp 'RtlpNtOpenKey' RtlpNtOpenKey ntdll 1591
|
|||
imp 'RtlpNtQueryValueKey' RtlpNtQueryValueKey ntdll 1592
|
||||
imp 'RtlpNtSetValueKey' RtlpNtSetValueKey ntdll 1593
|
||||
imp 'RtlpQueryDefaultUILanguage' RtlpQueryDefaultUILanguage ntdll 1594
|
||||
imp 'RtlpQueryProcessDebugInformationFromWow64' RtlpQueryProcessDebugInformationFromWow64 ntdll 1595
|
||||
imp 'RtlpQueryProcessDebugInformationRemote' RtlpQueryProcessDebugInformationRemote ntdll 1596
|
||||
imp 'RtlpRefreshCachedUILanguage' RtlpRefreshCachedUILanguage ntdll 1597
|
||||
imp 'RtlpSetInstallLanguage' RtlpSetInstallLanguage ntdll 1598
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_I_BrowserSetNetlogonState,I_BrowserSetNetlogonState,34
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessAdd,NetAccessAdd,71
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessDel,NetAccessDel,72
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessEnum,NetAccessEnum,73
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessGetInfo,NetAccessGetInfo,74
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessGetUserPerms,NetAccessGetUserPerms,75
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAccessSetInfo,NetAccessSetInfo,76
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAlertRaise,NetAlertRaise,79
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAlertRaiseEx,NetAlertRaiseEx,80
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAuditClear,NetAuditClear,85
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAuditRead,NetAuditRead,86
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetAuditWrite,NetAuditWrite,87
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetConfigGet,NetConfigGet,88
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetConfigGetAll,NetConfigGetAll,89
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetConfigSet,NetConfigSet,90
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetErrorLogClear,NetErrorLogClear,124
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetErrorLogRead,NetErrorLogRead,125
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetErrorLogWrite,NetErrorLogWrite,126
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetMessageBufferSend,NetMessageBufferSend,161
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetMessageNameAdd,NetMessageNameAdd,162
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetMessageNameDel,NetMessageNameDel,163
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetMessageNameEnum,NetMessageNameEnum,164
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetMessageNameGetInfo,NetMessageNameGetInfo,165
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetRegisterDomainNameChangeNotification,NetRegisterDomainNameChangeNotification,169
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirAdd,NetReplExportDirAdd,175
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirDel,NetReplExportDirDel,176
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirEnum,NetReplExportDirEnum,177
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirGetInfo,NetReplExportDirGetInfo,178
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirLock,NetReplExportDirLock,179
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirSetInfo,NetReplExportDirSetInfo,180
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplExportDirUnlock,NetReplExportDirUnlock,181
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplGetInfo,NetReplGetInfo,182
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirAdd,NetReplImportDirAdd,183
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirDel,NetReplImportDirDel,184
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirEnum,NetReplImportDirEnum,185
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirGetInfo,NetReplImportDirGetInfo,186
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirLock,NetReplImportDirLock,187
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplImportDirUnlock,NetReplImportDirUnlock,188
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetReplSetInfo,NetReplSetInfo,189
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServerEnum,NetServerEnum,202
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServerEnumEx,NetServerEnumEx,203
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServiceControl,NetServiceControl,210
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServiceEnum,NetServiceEnum,211
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServiceGetInfo,NetServiceGetInfo,212
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetServiceInstall,NetServiceInstall,213
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetStatisticsGet,NetStatisticsGet,227
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetUnregisterDomainNameChangeNotification,NetUnregisterDomainNameChangeNotification,229
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetWkstaGetInfo,NetWkstaGetInfo,248
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp netapi32,__imp_NetWkstaSetInfo,NetWkstaSetInfo,249
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue