name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
cmSourceGroupCommand::Clone() | cmCommand* Clone() CM_OVERRIDE { return new cmSourceGroupCommand; } | pushq %rax
movl $0x30, %edi
callq 0x1703e0
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
leaq 0x20(%rax), %rdx
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movb $0x0, 0x20(%rax)
leaq 0x3784d8(%rip), %rcx # 0x68b848
movq %rcx, (%rax)
popq %rcx
retq
nopl (%rax)
| /jdavidberger[P]CMake/Source/cmSourceGroupCommand.h |
cmStringCommand::InitialPass(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, cmExecutionStatus&) | bool cmStringCommand::InitialPass(std::vector<std::string> const& args,
cmExecutionStatus&)
{
if (args.empty()) {
this->SetError("must be called with at least one argument.");
return false;
}
const std::string& subCommand = args[0];
if (subCommand == "REGEX") {
ret... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rsi), %r15
cmpq 0x8(%rsi), %r15
je 0x313648
movq %rsi, %r14
leaq 0x229e54(%rip), %rsi # 0x53d1ef
movq %r15, %rdi
callq 0x171e00
testl %eax, %eax
je 0x3136a8
leaq 0x22a898(%rip), %rsi # 0x53dc4a
movq %r15, %rdi
callq 0x171e00
testl %eax, %eax... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmStringCommand::HandleToUpperLowerCommand(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, bool) | bool cmStringCommand::HandleToUpperLowerCommand(
std::vector<std::string> const& args, bool toUpper)
{
if (args.size() < 3) {
this->SetError("no output variable specified");
return false;
}
std::string const& outvar = args[2];
std::string output;
if (toUpper) {
output = cmSystemTools::UpperCas... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq (%rsi), %r14
movq 0x8(%rsi), %r12
subq %r14, %r12
cmpq $0x40, %r12
jbe 0x313dbe
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x20(%r14), %rsi
testb %dl, %dl
je 0x313e13
leaq 0x20(%rs... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmStringCommand::HandleLengthCommand(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | bool cmStringCommand::HandleLengthCommand(std::vector<std::string> const& args)
{
if (args.size() != 3) {
this->SetError("sub-command LENGTH requires two arguments.");
return false;
}
const std::string& stringValue = args[1];
const std::string& variableName = args[2];
size_t length = stringValue.siz... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x408, %rsp # imm = 0x408
movq %rdi, %rbx
movq (%rsi), %r14
movq 0x8(%rsi), %r12
subq %r14, %r12
cmpq $0x60, %r12
jne 0x3146b8
movl 0x28(%r14), %edx
addq $0x40, %r14
leaq 0x27c88e(%rip), %rsi # 0x590f28
movq %rsp, %r15
movq %r15, %rdi
xorl %eax, %eax
callq... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmStringCommand::HandleConcatCommand(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | bool cmStringCommand::HandleConcatCommand(std::vector<std::string> const& args)
{
if (args.size() < 2) {
this->SetError("sub-command CONCAT requires at least one argument.");
return false;
}
std::string const& variableName = args[1];
std::string value = cmJoin(cmMakeRange(args).advance(2), std::string(... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq (%rsi), %r14
movq 0x8(%rsi), %rax
movq %rax, %r12
subq %r14, %r12
cmpq $0x20, %r12
jbe 0x3149b5
leaq 0x48(%rsp), %rsi
movq %rax, 0x8(%rsi)
leaq 0x40(%r14), %rax
movq %rax, (%rsi)
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmStringCommand::HandleMakeCIdentifierCommand(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | bool cmStringCommand::HandleMakeCIdentifierCommand(
std::vector<std::string> const& args)
{
if (args.size() != 3) {
this->SetError("sub-command MAKE_C_IDENTIFIER requires two arguments.");
return false;
}
const std::string& input = args[1];
const std::string& variableName = args[2];
this->Makefile... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq (%rsi), %r14
movq 0x8(%rsi), %r12
subq %r14, %r12
cmpq $0x60, %r12
jne 0x3158b9
leaq 0x20(%r14), %rsi
addq $0x40, %r14
movq 0x8(%rbx), %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x446b70
movq (%r15), %rdx
movq %rbx, %rdi
movq %r14, %... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmStringCommand::RegexMatch(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | bool cmStringCommand::RegexMatch(std::vector<std::string> const& args)
{
//"STRING(REGEX MATCH <regular_expression> <output variable>
// <input> [<input>...])\n";
std::string const& regex = args[2];
std::string const& outvar = args[3];
this->Makefile->ClearMatches();
// Compile the regular expression.
cm... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
movq 0x8(%rdi), %rdi
callq 0x26ba12
leaq 0x88(%rsp), %rdi
movq $0x0, 0xb8(%rdi)
movq 0x40(%r15), %rsi
callq 0x43ee28
leaq 0x40(%r15), %r12
testb %al, %al
je 0x31... | /jdavidberger[P]CMake/Source/cmStringCommand.cxx |
cmTargetCompileFeaturesCommand::HandleMissingTarget(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void cmTargetCompileFeaturesCommand::HandleMissingTarget(
const std::string& name)
{
std::ostringstream e;
e << "Cannot specify compile features for target \"" << name
<< "\" "
"which is not built by this project.";
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x171ff0
leaq 0x239ce7(%rip), %rsi # 0x5528ff
movl $0x2c, %edx
movq %r15, %rdi
callq 0x172100
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0x17... | /jdavidberger[P]CMake/Source/cmTargetCompileFeaturesCommand.cxx |
cmTargetCompileOptionsCommand::Clone() | cmCommand* Clone() CM_OVERRIDE { return new cmTargetCompileOptionsCommand; } | pushq %rax
movl $0x58, %edi
callq 0x1703e0
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
leaq 0x20(%rax), %rdx
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movb %cl, 0x20(%rax)
leaq 0x40(%rax), %rdx
movq %rdx, 0x30(%rax)
movq %rcx, 0x38(%rax)
movb %cl, 0x40(%rax)
leaq 0x372826(%rip), %rcx # 0x68bad8
movq %rcx, (%rax)
popq %rc... | /jdavidberger[P]CMake/Source/cmTargetCompileOptionsCommand.h |
cmTargetIncludeDirectoriesCommand::HandleImportedTarget(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void cmTargetIncludeDirectoriesCommand::HandleImportedTarget(
const std::string& tgt)
{
std::ostringstream e;
e << "Cannot specify include directories for imported target \"" << tgt
<< "\".";
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x171ff0
leaq 0x23965e(%rip), %rsi # 0x5529ce
movl $0x38, %edx
movq %r15, %rdi
callq 0x172100
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0x17... | /jdavidberger[P]CMake/Source/cmTargetIncludeDirectoriesCommand.cxx |
cmTargetIncludeDirectoriesCommand::HandleMissingTarget(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void cmTargetIncludeDirectoriesCommand::HandleMissingTarget(
const std::string& name)
{
std::ostringstream e;
e << "Cannot specify include directories for target \"" << name
<< "\" "
"which is not built by this project.";
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x171ff0
leaq 0x239589(%rip), %rsi # 0x552a07
movl $0x2f, %edx
movq %r15, %rdi
callq 0x172100
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0x17... | /jdavidberger[P]CMake/Source/cmTargetIncludeDirectoriesCommand.cxx |
cmTargetIncludeDirectoriesCommand::HandleDirectContent(cmTarget*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, bool, bool) | bool cmTargetIncludeDirectoriesCommand::HandleDirectContent(
cmTarget* tgt, const std::vector<std::string>& content, bool prepend,
bool system)
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
tgt->InsertInclude(this->Join(content), lfbt, prepend);
if (system) {
std::string prefix =
this... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %r8d, %ebp
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x8(%rdi), %rsi
leaq 0x78(%rsp), %rdi
callq 0x25c194
movq (%r15), %rax
movq %rsp, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x58(%rax)
movzbl %r12b, ... | /jdavidberger[P]CMake/Source/cmTargetIncludeDirectoriesCommand.cxx |
cmTargetLinkLibrariesCommand::LinkLibraryTypeSpecifierWarning(int, int) | void cmTargetLinkLibrariesCommand::LinkLibraryTypeSpecifierWarning(int left,
int right)
{
std::ostringstream w;
w << "Link library type specifier \"" << this->LinkLibraryTypeNames[left]
<< "\" is followed by specifier \"" << this->LinkLibraryTyp... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x198, %rsp # imm = 0x198
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x171ff0
leaq 0x238334(%rip), %rsi # 0x552d55
movl $0x1d, %edx
movq %r15, %rdi
callq 0x172100
movslq %r14d, %rax
leaq 0x37d3c8(%rip), %r1... | /jdavidberger[P]CMake/Source/cmTargetLinkLibrariesCommand.cxx |
cmTargetLinkLibrariesCommand::Clone() | cmCommand* Clone() CM_OVERRIDE { return new cmTargetLinkLibrariesCommand; } | pushq %rax
movl $0x40, %edi
callq 0x1703e0
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
leaq 0x20(%rax), %rdx
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movb $0x0, 0x20(%rax)
leaq 0x37045e(%rip), %rcx # 0x68bbe8
movq %rcx, (%rax)
popq %rcx
retq
nop
| /jdavidberger[P]CMake/Source/cmTargetLinkLibrariesCommand.h |
cmTargetPropCommandBase::ProcessContentArgs(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, unsigned int&, bool, bool) | bool cmTargetPropCommandBase::ProcessContentArgs(
std::vector<std::string> const& args, unsigned int& argIndex, bool prepend,
bool system)
{
std::string const& scope = args[argIndex];
if (scope != "PUBLIC" && scope != "PRIVATE" && scope != "INTERFACE") {
this->SetError("called with invalid arguments");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movl (%rdx), %r14d
shlq $0x5, %r14
addq (%rsi), %r14
leaq 0x2371bb(%rip), %rsi # 0x552c53
movq %r14, %rdi
callq 0x171e00
testl %eax, %eax
je 0x31bafa
lea... | /jdavidberger[P]CMake/Source/cmTargetPropCommandBase.cxx |
uv_pipe_pending_type | uv_handle_type uv_pipe_pending_type(uv_pipe_t* handle) {
if (!handle->ipc)
return UV_UNKNOWN_HANDLE;
if (handle->accepted_fd == -1)
return UV_UNKNOWN_HANDLE;
else
return uv__handle_type(handle->accepted_fd);
} | cmpl $0x0, 0xf8(%rdi)
je 0x4e1eac
movl 0xec(%rdi), %edi
cmpl $-0x1, %edi
jne 0x4e4be8
xorl %eax, %eax
retq
nop
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/pipe.c |
uv__make_socketpair | int uv__make_socketpair(int fds[2], int flags) {
#if defined(__linux__)
static int no_cloexec;
if (no_cloexec)
goto skip;
if (socketpair(AF_UNIX, SOCK_STREAM | UV__SOCK_CLOEXEC | flags, 0, fds) == 0)
return 0;
/* Retry on EINVAL, it means SOCK_CLOEXEC is not supported.
* Anything else is a genuine... | pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %r14
cmpb $0x0, 0x1bd53c(%rip) # 0x69f640
jne 0x4e2136
movl %ebp, %esi
orl $0x80001, %esi # imm = 0x80001
xorl %ebx, %ebx
movl $0x1, %edi
xorl %edx, %edx
movq %r14, %rcx
callq 0x1728d0
testl %eax, %eax
je 0x4e2199
callq 0x172230
movl (%rax), %ebx
c... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/process.c |
uv__process_child_init | static void uv__process_child_init(const uv_process_options_t* options,
int stdio_count,
int (*pipes)[2],
int error_fd) {
int close_fd;
int use_fd;
int fd;
if (options->flags & UV_PROCESS_DETACHED)
sets... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r13d
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
testb $0x8, 0x28(%rdi)
je 0x4e2957
callq 0x170cc0
testl %ebp, %ebp
jle 0x4e298b
movl %ebp, %ebx
xorl %r12d, %r12d
movl 0x4(%r15,%r12,8), %edi
cmpq %rdi, %r12
jbe 0x4e2983
xorl %e... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/process.c |
uv__signal_global_init | static void uv__signal_global_init(void) {
if (!uv__signal_lock_pipefd[0])
/* pthread_atfork can register before and after handlers, one
* for each child. This only registers one for the child. That
* state is both persistent and cumulative, so if we keep doing
* it the handler functions will be ca... | pushq %rax
cmpl $0x0, 0x1bca55(%rip) # 0x69f64c
jne 0x4e2c0d
leaq 0xb4c(%rip), %rdx # 0x4e374c
xorl %edi, %edi
xorl %esi, %esi
callq 0x52cdf0
testl %eax, %eax
jne 0x4e2c2a
leaq 0x1bca38(%rip), %rdi # 0x69f64c
xorl %esi, %esi
callq 0x4e21a0
testl %eax, %eax
jne 0x4e2c2a
callq 0x4e377a
testl %eax, %eax
jne 0x... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/signal.c |
uv__signal_loop_once_init | static int uv__signal_loop_once_init(uv_loop_t* loop) {
int err;
/* Return if already initialized. */
if (loop->signal_pipefd[0] != -1)
return 0;
err = uv__make_pipe(loop->signal_pipefd, UV__F_NONBLOCK);
if (err)
return err;
uv__io_init(&loop->signal_io_watcher,
uv__signal_event,
... | xorl %eax, %eax
cmpl $-0x1, 0x228(%rdi)
je 0x4e2c77
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x228, %rdi # imm = 0x228
movl $0x800, %esi # imm = 0x800
callq 0x4e21a0
testl %eax, %eax
jne 0x4e2cc1
leaq 0x230(%rbx), %r14
movl 0x228(%rbx), %edx
leaq 0xb13(%rip), %rsi # 0x4e37... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/signal.c |
uv__signal_stop | static void uv__signal_stop(uv_signal_t* handle) {
uv_signal_t* removed_handle;
sigset_t saved_sigmask;
uv_signal_t* first_handle;
int rem_oneshot;
int first_oneshot;
int ret;
/* If the watcher wasn't started, this is a no-op. */
if (handle->signum == 0)
return;
uv__signal_block_and_lock(&saved_... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x120, %rsp # imm = 0x120
cmpl $0x0, 0x68(%rdi)
je 0x4e32dc
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4e38f7
movq 0x70(%rbx), %rax
movq 0x78(%rbx), %rcx
testq %rax, %rax
je 0x4e2e13
testq %rcx, %rcx
je 0x4e2e16
leaq 0x70(%rbx), %rdi
movq %rcx, %rsi
movq 0x70(%rcx), %... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/signal.c |
uv__signal_close | void uv__signal_close(uv_signal_t* handle) {
uv__signal_stop(handle);
/* If there are any caught signals "trapped" in the signal pipe, we can't
* call the close callback yet. Otherwise, add the handle to the finish_close
* queue.
*/
if (handle->caught_signals == handle->dispatched_signals) {
uv__ma... | pushq %rbx
movq %rdi, %rbx
callq 0x4e2d2d
movl 0x90(%rbx), %eax
cmpl 0x94(%rbx), %eax
jne 0x4e3369
movq %rbx, %rdi
popq %rbx
jmp 0x4dfb2a
popq %rbx
retq
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/signal.c |
uv_write2 | int uv_write2(uv_write_t* req,
uv_stream_t* stream,
const uv_buf_t bufs[],
unsigned int nbufs,
uv_stream_t* send_handle,
uv_write_cb cb) {
int empty_queue;
assert(nbufs > 0);
assert((stream->type == UV_TCP ||
stream->type == UV_NAMED... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %ecx, %ecx
je 0x4e4f3c
movq %rsi, %rbx
movl 0x10(%rsi), %eax
cmpl $0xe, %eax
ja 0x4e4f5b
movl %ecx, %ebp
movl $0x5080, %ecx # imm = 0x5080
btl %eax, %ecx
jae 0x4e4f5b
cmpl $0x0, 0xb8(%rbx)
js 0x4e4f12
movq %rdx, %r15
movq %rdi,... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/stream.c |
uv_read_start | int uv_read_start(uv_stream_t* stream,
uv_alloc_cb alloc_cb,
uv_read_cb read_cb) {
assert(stream->type == UV_TCP || stream->type == UV_NAMED_PIPE ||
stream->type == UV_TTY);
if (stream->flags & UV_CLOSING)
return -EINVAL;
/* The UV_STREAM_READING flag is irrelevant ... | pushq %rbx
movl 0x10(%rdi), %eax
cmpl $0xe, %eax
ja 0x4e5602
movl $0x5080, %ecx # imm = 0x5080
btl %eax, %ecx
jae 0x4e5602
movq %rdi, %rbx
movl 0x58(%rdi), %ecx
movl $0xffffffea, %eax # imm = 0xFFFFFFEA
testb $0x1, %cl
jne 0x4e55c2
orl $0x4, %ecx
movl %ecx, 0x58(%rbx)
cmpl $0x0, 0xb8(%rbx)
js 0x4e55c4
t... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/stream.c |
uv_tcp_getsockname | int uv_tcp_getsockname(const uv_tcp_t* handle,
struct sockaddr* name,
int* namelen) {
socklen_t socklen;
if (handle->delayed_error)
return handle->delayed_error;
if (uv__stream_fd(handle) < 0)
return -EINVAL; /* FIXME(bnoordhuis) -EBADF */
/* sizeof(sock... | movl 0xe8(%rdi), %eax
testl %eax, %eax
je 0x4e5c58
retq
movl 0xb8(%rdi), %edi
testl %edi, %edi
js 0x4e5c8a
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movl (%rdx), %eax
leaq 0xc(%rsp), %rdx
movl %eax, (%rdx)
callq 0x170100
testl %eax, %eax
je 0x4e5c90
callq 0x172230
movq %rax, %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/tcp.c |
uv_tcp_nodelay | int uv_tcp_nodelay(uv_tcp_t* handle, int on) {
int err;
if (uv__stream_fd(handle) != -1) {
err = uv__tcp_nodelay(uv__stream_fd(handle), on);
if (err)
return err;
}
if (on)
handle->flags |= UV_TCP_NODELAY;
else
handle->flags &= ~UV_TCP_NODELAY;
return 0;
} | pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl 0xb8(%rdi), %edi
cmpl $-0x1, %edi
je 0x4e5e64
movl %ebp, %esi
callq 0x4e5db0
testl %eax, %eax
jne 0x4e5e7d
xorl %eax, %eax
testl %ebp, %ebp
setne %al
movl $0xfffffbff, %ecx # imm = 0xFFFFFBFF
andl 0x58(%rbx), %ecx
shll $0xa, %eax
orl %ecx, %eax... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/tcp.c |
uv_thread_create | int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) {
int err;
pthread_attr_t* attr;
#if defined(__APPLE__)
pthread_attr_t attr_storage;
struct rlimit lim;
#endif
/* On OSX threads other than the main thread are created with a reduced stack
* size by default, adjust it to RLIMIT_ST... | pushq %rax
movq %rdx, %rcx
movq %rsi, %rdx
xorl %esi, %esi
callq 0x172620
negl %eax
popq %rcx
retq
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/thread.c |
uv_mutex_trylock | int uv_mutex_trylock(uv_mutex_t* mutex) {
int err;
err = pthread_mutex_trylock(mutex);
if (err) {
if (err != EBUSY && err != EAGAIN)
abort();
return -EBUSY;
}
return 0;
} | pushq %rax
callq 0x170d90
testl %eax, %eax
je 0x4e5f5c
cmpl $0xb, %eax
je 0x4e5f57
cmpl $0x10, %eax
jne 0x4e5f5e
movl $0xfffffff0, %eax # imm = 0xFFFFFFF0
popq %rcx
retq
callq 0x1717c0
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/thread.c |
uv_rwlock_trywrlock | int uv_rwlock_trywrlock(uv_rwlock_t* rwlock) {
int err;
err = pthread_rwlock_trywrlock(rwlock);
if (err) {
if (err != EBUSY && err != EAGAIN)
abort();
return -EBUSY;
}
return 0;
} | pushq %rax
callq 0x170800
testl %eax, %eax
je 0x4e5ffd
cmpl $0xb, %eax
je 0x4e5ff8
cmpl $0x10, %eax
jne 0x4e5fff
movl $0xfffffff0, %eax # imm = 0xFFFFFFF0
popq %rcx
retq
callq 0x1717c0
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/thread.c |
uv_cond_init | int uv_cond_init(uv_cond_t* cond) {
pthread_condattr_t attr;
int err;
err = pthread_condattr_init(&attr);
if (err)
return -err;
#if !(defined(__ANDROID__) && defined(HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC))
err = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
if (err)
goto error2;
#endif
err... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x4(%rsp), %rdi
callq 0x171ba0
testl %eax, %eax
je 0x4e60f7
movl %eax, %ebx
jmp 0x4e6127
leaq 0x4(%rsp), %rdi
movl $0x1, %esi
callq 0x171ea0
testl %eax, %eax
jne 0x4e611b
leaq 0x4(%rsp), %rsi
movq %r14, %rdi
callq 0x170c70
testl %eax, %eax
je 0x4e6133
movl %eax, %eb... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/thread.c |
uv_guess_handle | uv_handle_type uv_guess_handle(uv_file file) {
struct sockaddr sa;
struct stat s;
socklen_t len;
int type;
if (file < 0)
return UV_UNKNOWN_HANDLE;
if (isatty(file))
return UV_TTY;
if (fstat(file, &s))
return UV_UNKNOWN_HANDLE;
if (S_ISREG(s.st_mode))
return UV_FILE;
if (S_ISCHR(s.... | testl %edi, %edi
js 0x4e6899
pushq %rbx
subq $0xb0, %rsp
movl %edi, %ebx
callq 0x171e50
movl %eax, %ecx
movl $0xe, %eax
testl %ecx, %ecx
jne 0x4e6890
leaq 0x20(%rsp), %rsi
movl %ebx, %edi
callq 0x171650
testl %eax, %eax
je 0x4e689c
xorl %eax, %eax
addq $0xb0, %rsp
popq %rbx
retq
xorl %eax, %eax
retq
movl $0xf000, %ecx ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/tty.c |
uv__udp_finish_close | void uv__udp_finish_close(uv_udp_t* handle) {
uv_udp_send_t* req;
QUEUE* q;
assert(!uv__io_active(&handle->io_watcher, POLLIN | POLLOUT));
assert(handle->io_watcher.fd == -1);
while (!QUEUE_EMPTY(&handle->write_queue)) {
q = QUEUE_HEAD(&handle->write_queue);
QUEUE_REMOVE(q);
req = QUEUE_DATA(q,... | pushq %rbx
movq %rdi, %rbx
addq $0x80, %rdi
movl $0x5, %esi
callq 0x4e0a35
testl %eax, %eax
jne 0x4e6c9c
cmpl $-0x1, 0xb0(%rbx)
jne 0x4e6cbb
leaq 0xb8(%rbx), %rax
movq 0xb8(%rbx), %rcx
cmpq %rcx, %rax
je 0x4e6c7d
leaq 0xc8(%rbx), %rdx
movq (%rcx), %rsi
movq 0x8(%rcx), %rdi
movq %rsi, (%rdi)
movq (%rcx), %rsi
movq 0x8(%... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/udp.c |
uv__udp_bind | int uv__udp_bind(uv_udp_t* handle,
const struct sockaddr* addr,
unsigned int addrlen,
unsigned int flags) {
int err;
int yes;
int fd;
/* Check for bad flags. */
if (flags & ~(UV_UDP_IPV6ONLY | UV_UDP_REUSEADDR))
return -EINVAL;
/* Cannot set IPv6-only... | movl $0xffffffea, %eax # imm = 0xFFFFFFEA
testl $0xfffffffa, %ecx # imm = 0xFFFFFFFA
je 0x4e6eaf
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
testb $0x1, %r15b
je 0x4e6ed7
cmpw $0xa, (%r14)
jne 0x4e6f93
movl 0xb... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/udp.c |
uv_udp_init | int uv_udp_init(uv_loop_t* loop, uv_udp_t* handle) {
return uv_udp_init_ex(loop, handle, AF_UNSPEC);
} | pushq %rbx
movq %rsi, %rbx
movq %rdi, 0x8(%rsi)
movl $0xf, 0x10(%rsi)
movl $0x2000, 0x58(%rsi) # imm = 0x2000
leaq 0x10(%rdi), %rax
leaq 0x20(%rsi), %rcx
movq %rax, 0x20(%rsi)
movq 0x18(%rdi), %rax
movq %rax, 0x28(%rsi)
movq %rcx, (%rax)
movq %rcx, 0x18(%rdi)
movq $0x0, 0x50(%rsi)
leaq 0x80(%rsi), %rdi
xorps %xmm0,... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/udp.c |
uv__io_poll | void uv__io_poll(uv_loop_t* loop, int timeout) {
/* A bug in kernels < 2.6.37 makes timeouts larger than ~30 minutes
* effectively infinite on 32 bits architectures. To avoid blocking
* indefinitely, we cap the timeout and poll again if necessary.
*
* Note that "30 minutes" is a simplification because it... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30c8, %rsp # imm = 0x30C8
leaq 0x58(%rdi), %r15
cmpl $0x0, 0x74(%rdi)
movq 0x58(%rdi), %r12
je 0x4e80d1
movl %esi, %ebp
movq %rdi, %rbx
cmpq %r12, %r15
movl %esi, 0x8(%rsp)
je 0x4e80a1
leaq 0x34(%rsp), %r14
movq (%r12), %rax
movq 0x8(%r... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/linux-core.c |
uv__inotify_fork | int uv__inotify_fork(uv_loop_t* loop, void* old_watchers) {
/* Open the inotify_fd, and re-arm all the inotify watchers. */
int err;
struct watcher_list* tmp_watcher_list_iter;
struct watcher_list* watcher_list;
struct watcher_list tmp_watcher_list;
QUEUE queue;
QUEUE* q;
uv_fs_event_t* handle;
char* ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, 0x18(%rsp)
testq %rsi, %rsi
je 0x4e91be
movq %rdi, %rbx
movq %rsi, 0x340(%rdi)
leaq 0x40(%rsp), %rax
movq %rax, (%rax)
movq %rax, 0x8(%rax)
leaq 0x18(%rsp), %rax
xorl %ecx, %ecx
movq %rcx, %r13
movq (%rax), %rax
movq %rax, %rc... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/linux-inotify.c |
maybe_free_watcher_list | static void maybe_free_watcher_list(struct watcher_list* w, uv_loop_t* loop) {
/* if the watcher_list->watchers is being iterated over, we can't free it. */
if ((!w->iterating) && QUEUE_EMPTY(&w->watchers)) {
/* No watchers left for this path. Clean up. */
RB_REMOVE(watcher_root, CAST(&loop->inotify_watcher... | pushq %rbx
cmpl $0x0, 0x30(%rdi)
jne 0x4e92aa
movq %rdi, %rbx
leaq 0x20(%rdi), %rax
cmpq 0x20(%rdi), %rax
je 0x4e92ac
popq %rbx
retq
leaq 0x340(%rsi), %rax
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
testq %rcx, %rcx
je 0x4e9350
testq %rdx, %rdx
je 0x4e9353
movq %rdx, %r8
movq (%rdx), %rdx
testq %rdx, %rdx
jne 0x4e92cc
movq... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/linux-inotify.c |
uv__pipe2 | int uv__pipe2(int pipefd[2], int flags) {
#if defined(__NR_pipe2)
int result;
result = syscall(__NR_pipe2, pipefd, flags);
#if MSAN_ACTIVE
if (!result)
__msan_unpoison(pipefd, sizeof(int[2]));
#endif
return result;
#else
return errno = ENOSYS, -1;
#endif
} | movl %esi, %edx
movq %rdi, %rsi
movl $0x125, %edi # imm = 0x125
xorl %eax, %eax
jmp 0x170670
| /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/linux-syscalls.c |
uv_inet_pton | int uv_inet_pton(int af, const char* src, void* dst) {
if (src == NULL || dst == NULL)
return UV_EINVAL;
switch (af) {
case AF_INET:
return (inet_pton4(src, dst));
case AF_INET6: {
int len;
char tmp[UV__INET6_ADDRSTRLEN], *s, *p;
s = (char*) src;
p = strchr(src, '%');
if (p != NULL)... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
testq %rsi, %rsi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
movl $0xffffffea, %eax # imm = 0xFFFFFFEA
jne 0x4ea936
movq %rdx, %rbx
movq %rsi, %r12
cmpl $0xa, %edi
je 0x4ea6cd
movl $0xffffff9f, %eax # imm = 0xFFFFFF9F
cmp... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/inet.c |
uv_queue_work | int uv_queue_work(uv_loop_t* loop,
uv_work_t* req,
uv_work_cb work_cb,
uv_after_work_cb after_work_cb) {
if (work_cb == NULL)
return UV_EINVAL;
uv__req_init(loop, req, UV_WORK);
req->loop = loop;
req->work_cb = work_cb;
req->after_work_cb = after_work... | testq %rdx, %rdx
je 0x4eadfc
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x7, 0x8(%rsi)
leaq 0x20(%rdi), %rax
leaq 0x10(%rsi), %rsi
movq %rax, 0x10(%rbx)
movq 0x28(%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rsi, (%rax)
movq %rsi, 0x28(%rdi)
movq %rdi, 0x40(%rbx)
movq %rdx, 0x48(%rbx)
movq %rcx, ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/threadpool.c |
worker | static void worker(void* arg) {
struct uv__work* w;
QUEUE* q;
(void) arg;
for (;;) {
uv_mutex_lock(&mutex);
while (QUEUE_EMPTY(&wq)) {
idle_threads += 1;
uv_cond_wait(&cond, &mutex);
idle_threads -= 1;
}
q = QUEUE_HEAD(&wq);
if (q == &exit_message)
uv_cond_signal... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x1b4809(%rip), %rbx # 0x69f7a0
leaq 0x1b4862(%rip), %r15 # 0x69f800
leaq 0x1b4823(%rip), %r14 # 0x69f7c8
leaq 0x1b47b4(%rip), %r12 # 0x69f760
movl $0x88, %r13d
movq %rbx, %rdi
callq 0x4e5f32
movq 0x1b483f(%rip), %rbp # 0x6... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/threadpool.c |
uv_fs_chmod | int uv_fs_chmod(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
int mode,
uv_fs_cb cb) {
INIT(CHMOD);
PATH;
req->mode = mode;
POST;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %r8, %r8
je 0x4ebcb1
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rcx, (%rax)
movq ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_close | int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {
INIT(CLOSE);
req->file = file;
POST;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x6, 0x8(%rsi)
testq %rcx, %rcx
je 0x4ebeee
movl $0x6, 0x8(%rbx)
leaq 0x20(%rdi), %rax
leaq 0x10(%rbx), %rsi
movq %rax, 0x10(%rbx)
movq 0x28(%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rsi, (%rax)
movq %rsi, 0x28(%rdi)
leaq 0x150(%rbx), %rsi
xorl %r14d, %r14d
movl $0x2... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_fchown | int uv_fs_fchown(uv_loop_t* loop,
uv_fs_t* req,
uv_file file,
uv_uid_t uid,
uv_gid_t gid,
uv_fs_cb cb) {
INIT(FCHOWN);
req->file = file;
req->uid = uid;
req->gid = gid;
POST;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x6, 0x8(%rsi)
testq %r9, %r9
je 0x4ec028
movl $0x6, 0x8(%rbx)
leaq 0x20(%rdi), %rax
leaq 0x10(%rbx), %rsi
movq %rax, 0x10(%rbx)
movq 0x28(%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rsi, (%rax)
movq %rsi, 0x28(%rdi)
leaq 0x150(%rbx), %rsi
xorl %r14d, %r14d
movl $0x1b,... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_fstat | int uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {
INIT(FSTAT);
req->file = file;
POST;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x6, 0x8(%rsi)
testq %rcx, %rcx
je 0x4ec169
movl $0x6, 0x8(%rbx)
leaq 0x20(%rdi), %rax
leaq 0x10(%rbx), %rsi
movq %rax, 0x10(%rbx)
movq 0x28(%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rsi, (%rax)
movq %rsi, 0x28(%rdi)
leaq 0x150(%rbx), %rsi
xorl %r14d, %r14d
movl $0x8... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_ftruncate | int uv_fs_ftruncate(uv_loop_t* loop,
uv_fs_t* req,
uv_file file,
int64_t off,
uv_fs_cb cb) {
INIT(FTRUNCATE);
req->file = file;
req->off = off;
POST;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x6, 0x8(%rsi)
testq %r8, %r8
je 0x4ec29d
movl $0x6, 0x8(%rbx)
leaq 0x20(%rdi), %rax
leaq 0x10(%rbx), %rsi
movq %rax, 0x10(%rbx)
movq 0x28(%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rsi, (%rax)
movq %rsi, 0x28(%rdi)
leaq 0x150(%rbx), %rsi
xorl %r14d, %r14d
movl $0x9, ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_lstat | int uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) {
INIT(LSTAT);
PATH;
POST;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %rcx, %rcx
je 0x4ec3ef
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rcx, (%rax)
movq %rcx, 0x28(%r14)
movl $0x7, 0x40(%r... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_mkdir | int uv_fs_mkdir(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
int mode,
uv_fs_cb cb) {
INIT(MKDIR);
PATH;
req->mode = mode;
POST;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %r8, %r8
je 0x4ec679
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rcx, (%rax)
movq ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_open | int uv_fs_open(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
int flags,
int mode,
uv_fs_cb cb) {
INIT(OPEN);
PATH;
req->flags = flags;
req->mode = mode;
POST;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r9, %r15
movl %r8d, %ebp
movl %ecx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %r9, %r9
je 0x4ec893
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_scandir | int uv_fs_scandir(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
int flags,
uv_fs_cb cb) {
INIT(SCANDIR);
PATH;
req->flags = flags;
POST;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %r8, %r8
je 0x4ecb25
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rcx, (%rax)
movq ... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_rename | int uv_fs_rename(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
const char* new_path,
uv_fs_cb cb) {
INIT(RENAME);
PATH2;
POST;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r15
movq %rcx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %r8, %r8
je 0x4ece5c
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_utime | int uv_fs_utime(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
double atime,
double mtime,
uv_fs_cb cb) {
INIT(UTIME);
PATH;
req->atime = atime;
req->mtime = mtime;
POST;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x6, 0x8(%rsi)
testq %rcx, %rcx
je 0x4ed52c
movl $0x6, 0x8(%rbx)
leaq 0x20(%r14), %rax
leaq 0x10(%rbx), %rcx
movq %rax, 0x10(%rbx)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rbx)
movq %rcx, (%rax)
movq %rcx, 0x28(%r14)
m... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv_fs_req_cleanup | void uv_fs_req_cleanup(uv_fs_t* req) {
/* Only necessary for asychronous requests, i.e., requests with a callback.
* Synchronous ones don't copy their arguments and have req->path and
* req->new_path pointing to user-owned memory. UV_FS_MKDTEMP is the
* exception to the rule, it always allocates memory.
... | pushq %rbx
movq %rdi, %rbx
movq 0x68(%rdi), %rdi
testq %rdi, %rdi
je 0x4ed7b7
cmpq $0x0, 0x50(%rbx)
jne 0x4ed7b2
cmpl $0x14, 0x40(%rbx)
jne 0x4ed7b7
callq 0x4de701
xorl %eax, %eax
movq %rax, 0x68(%rbx)
movq %rax, 0x110(%rbx)
cmpl $0x16, 0x40(%rbx)
jne 0x4ed7d9
cmpq $0x0, 0x60(%rbx)
je 0x4ed7d9
movq %rbx, %rdi
callq 0x4... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
uv__fs_read | static ssize_t uv__fs_read(uv_fs_t* req) {
#if defined(__linux__)
static int no_preadv;
#endif
ssize_t result;
#if defined(_AIX)
struct stat buf;
if(fstat(req->file, &buf))
return -1;
if(S_ISDIR(buf.st_mode)) {
errno = EISDIR;
return -1;
}
#endif /* defined(_AIX) */
if (req->off < 0) {
if... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x130(%rdi), %rcx
movl 0x124(%rdi), %edx
testq %rcx, %rcx
js 0x4ed90d
cmpl $0x1, %edx
jne 0x4ed93b
movl 0x118(%rbx), %edi
movq 0x128(%rbx), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1719... | /jdavidberger[P]CMake/Utilities/cmlibuv/src/unix/fs.c |
rhash_msg | RHASH_API int rhash_msg(unsigned hash_id, const void* message, size_t length, unsigned char* result)
{
rhash ctx;
hash_id &= RHASH_ALL_HASHES;
ctx = rhash_init(hash_id);
if (ctx == NULL) return -1;
rhash_update(ctx, message, length);
rhash_final(ctx, result);
rhash_free(ctx);
return 0;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
andl $0x3ff, %edi # imm = 0x3FF
callq 0x4edb9c
testq %rax, %rax
je 0x4ee115
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x4edf4d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4edfec
movq... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/rhash.c |
rhash_file | RHASH_API int rhash_file(unsigned hash_id, const char* filepath, unsigned char* result)
{
FILE* fd;
rhash ctx;
int res;
hash_id &= RHASH_ALL_HASHES;
if (hash_id == 0) {
errno = EINVAL;
return -1;
}
if ((fd = fopen(filepath, "rb")) == NULL) return -1;
if ((ctx = rhash_init(hash_id)) == NULL) return -1;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebp
andl $0x3ff, %ebp # imm = 0x3FF
je 0x4ee26a
movq %rdx, %rbx
leaq 0x4023f(%rip), %rax # 0x52e45b
movq %rsi, %rdi
movq %rax, %rsi
callq 0x1723c0
testq %rax, %rax
je 0x4ee275
movq %rax, %r14
movl %ebp, %edi
callq 0x4edb9c
testq %rax, %ra... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/rhash.c |
rhash_md5_init | void rhash_md5_init(md5_ctx *ctx)
{
ctx->length = 0;
/* initialize state */
ctx->hash[0] = 0x67452301;
ctx->hash[1] = 0xefcdab89;
ctx->hash[2] = 0x98badcfe;
ctx->hash[3] = 0x10325476;
} | movq $0x0, 0x40(%rdi)
movaps 0x9fc79(%rip), %xmm0 # 0x58e030
movups %xmm0, 0x48(%rdi)
retq
| /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/md5.c |
rhash_md5_process_block | static void rhash_md5_process_block(unsigned state[4], const unsigned* x)
{
register unsigned a, b, c, d;
a = state[0];
b = state[1];
c = state[2];
d = state[3];
MD5_ROUND1(a, b, c, d, x[ 0], 7, 0xd76aa478);
MD5_ROUND1(d, a, b, c, x[ 1], 12, 0xe8c7b756);
MD5_ROUND1(c, d, a, b, x[ 2], 17, 0x242070db);
MD5_ROU... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r9
movq %rdi, -0x20(%rsp)
movl (%rdi), %r8d
movq %r8, -0x8(%rsp)
movl 0x4(%rdi), %r10d
movl 0x8(%rdi), %edx
movl 0xc(%rdi), %ecx
movl %ecx, %eax
xorl %edx, %eax
andl %r10d, %eax
xorl %ecx, %eax
movq %rcx, %rsi
movq %rcx, -0x10(%rsp)
movl (%r9... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/md5.c |
rhash_sha1_init | void rhash_sha1_init(sha1_ctx *ctx)
{
ctx->length = 0;
/* initialize algorithm state */
ctx->hash[0] = 0x67452301;
ctx->hash[1] = 0xefcdab89;
ctx->hash[2] = 0x98badcfe;
ctx->hash[3] = 0x10325476;
ctx->hash[4] = 0xc3d2e1f0;
} | movq $0x0, 0x40(%rdi)
movaps 0x9f379(%rip), %xmm0 # 0x58e030
movups %xmm0, 0x48(%rdi)
movl $0xc3d2e1f0, 0x58(%rdi) # imm = 0xC3D2E1F0
retq
| /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha1.c |
rhash_sha1_process_block | static void rhash_sha1_process_block(unsigned* hash, const unsigned* block)
{
int t; /* Loop counter */
uint32_t temp; /* Temporary word value */
uint32_t W[80]; /* Word sequence */
uint32_t A, B, C, D, E; /* Word buffers */
/* initialize the f... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
xorl %eax, %eax
movl (%rsi,%rax,4), %ecx
bswapl %ecx
movl %ecx, -0x80(%rsp,%rax,4)
incq %rax
cmpq $0x10, %rax
jne 0x4eedc4
movl $0x10, %eax
movl -0xa0(%rsp,%rax,4), %ecx
xorl -0x8c(%rsp,%rax,4), %ecx
xorl -0xb8(%rsp,%rax,4), %ecx
xorl -0... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha1.c |
rhash_sha256_init | void rhash_sha256_init(sha256_ctx *ctx)
{
/* Initial values. These words were obtained by taking the first 32
* bits of the fractional parts of the square roots of the first
* eight prime numbers. */
static const unsigned SHA256_H0[8] = {
0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,
0x510e527f, 0x9b05688c,... | movq $0x0, 0x40(%rdi)
movl $0x20, 0x68(%rdi)
movaps 0x968c2(%rip), %xmm0 # 0x585960
movups %xmm0, 0x48(%rdi)
movaps 0x968c7(%rip), %xmm0 # 0x585970
movups %xmm0, 0x58(%rdi)
retq
| /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha256.c |
rhash_sha256_update | void rhash_sha256_update(sha256_ctx *ctx, const unsigned char *msg, size_t size)
{
size_t index = (size_t)ctx->length & 63;
ctx->length += size;
/* fill partial block */
if (index) {
size_t left = sha256_block_size - index;
memcpy((char*)ctx->message + index, msg, (size < left ? size : left));
if (size < lef... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x40(%rdi), %rdi
leaq (%rdi,%rdx), %rax
movq %rax, 0x40(%r14)
andq $0x3f, %rdi
je 0x4ef13a
movl $0x40, %r12d
subq %rdi, %r12
addq %r14, %rdi
cmpq %rbx, %r12
movq %rbx, %rdx
cmovbq %r12, %rdx
movq %r15, %rsi
callq... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha256.c |
rhash_sha256_final | void rhash_sha256_final(sha256_ctx *ctx, unsigned char* result)
{
size_t index = ((unsigned)ctx->length & 63) >> 2;
unsigned shift = ((unsigned)ctx->length & 3) * 8;
/* pad message and run for last block */
/* append the byte 0x80 to the message */
ctx->message[index] &= le2me_32(~(0xFFFFFFFFu << shift));
ctx... | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x40(%rdi), %ecx
movl %ecx, %eax
shll $0x3, %ecx
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
shll %cl, %edx
movl $0x80, %edi
shll %cl, %edi
shrl $0x2, %eax
andl $0xf, %eax
notl %edx
andl (%rbx,%rax,4), %edx
movq %rsi, %r14
xorl %edx, %edi
movl %edi, (%rbx,%rax,4... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha256.c |
rhash_sha3_process_block | static void rhash_sha3_process_block(uint64_t hash[25], const uint64_t *block, size_t block_size)
{
/* expanded loop */
hash[ 0] ^= le2me_64(block[ 0]);
hash[ 1] ^= le2me_64(block[ 1]);
hash[ 2] ^= le2me_64(block[ 2]);
hash[ 3] ^= le2me_64(block[ 3]);
hash[ 4] ^= le2me_64(block[ 4]);
hash[ 5] ^= le2me_64(block[ ... | movq (%rsi), %rax
xorq %rax, (%rdi)
movq 0x8(%rsi), %rax
xorq %rax, 0x8(%rdi)
movq 0x10(%rsi), %rax
xorq %rax, 0x10(%rdi)
movq 0x18(%rsi), %rax
xorq %rax, 0x18(%rdi)
movq 0x20(%rsi), %rax
xorq %rax, 0x20(%rdi)
movq 0x28(%rsi), %rax
xorq %rax, 0x28(%rdi)
movq 0x30(%rsi), %rax
xorq %rax, 0x30(%rdi)
movq 0x38(%rsi), %rax
... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha3.c |
rhash_sha512_init | void rhash_sha512_init(sha512_ctx *ctx)
{
/* Initial values. These words were obtained by taking the first 32
* bits of the fractional parts of the square roots of the first
* eight prime numbers. */
static const uint64_t SHA512_H0[8] = {
I64(0x6a09e667f3bcc908), I64(0xbb67ae8584caa73b), I64(0x3c6ef372fe94f82b)... | movq $0x0, 0x80(%rdi)
movl $0x40, 0xc8(%rdi)
movaps 0x9d638(%rip), %xmm0 # 0x58e2e0
movups %xmm0, 0x88(%rdi)
movaps 0x9d63a(%rip), %xmm0 # 0x58e2f0
movups %xmm0, 0x98(%rdi)
movaps 0x9d63c(%rip), %xmm0 # 0x58e300
movups %xmm0, 0xa8(%rdi)
movaps 0x9d63e(%rip), %xmm0 # 0x58e310
movups %xmm0, 0xb8(%rdi)
retq
| /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha512.c |
rhash_sha512_process_block | static void rhash_sha512_process_block(uint64_t hash[8], uint64_t block[16])
{
uint64_t A, B, C, D, E, F, G, H;
uint64_t W[16];
const uint64_t *k;
int i;
A = hash[0], B = hash[1], C = hash[2], D = hash[3];
E = hash[4], F = hash[5], G = hash[6], H = hash[7];
/* Compute SHA using alternate Method: FIPS 180-3 6.1... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq (%rdi), %r12
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %rbx
movq 0x18(%rdi), %r11
movq 0x20(%rdi), %r14
movq 0x28(%rdi), %r10
movq 0x30(%rdi), %r9
movq %r14, %rax
rolq $0x32, %rax
movq %rdi, 0xb0(%rsp)
movq 0x38(%rdi), %rdx
movq %r14, %... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/sha512.c |
rhash_swap_copy_str_to_u32 | void rhash_swap_copy_str_to_u32(void* to, int index, const void* from, size_t length)
{
/* if all pointers and length are 32-bits aligned */
if ( 0 == (( (int)((char*)to - (char*)0) | ((char*)from - (char*)0) | index | length ) & 3) ) {
/* copy memory as 32-bit words */
const uint32_t* src = (const uint32_t*)from... | movslq %esi, %rax
movl %edi, %esi
orl %edx, %esi
movl %eax, %r8d
orl %ecx, %r8d
orl %esi, %r8d
testb $0x3, %r8b
je 0x4f2605
addq %rax, %rcx
cmpq %rax, %rcx
jbe 0x4f2623
movq %rax, %rsi
shlq $0x20, %rsi
movabsq $0x100000000, %r8 # imm = 0x100000000
movb (%rdx), %r9b
incq %rdx
movq %rsi, %r10
sarq $0x20, %r10
xorq ... | /jdavidberger[P]CMake/Utilities/cmlibrhash/librhash/byte_order.c |
curl_easy_unescape | char *curl_easy_unescape(struct Curl_easy *data, const char *string,
int length, int *olen)
{
char *str = NULL;
if(length >= 0) {
size_t inputlen = length;
size_t outputlen;
CURLcode res = Curl_urldecode(data, string, inputlen, &str, &outputlen,
... | pushq %rbx
subq $0x10, %rsp
movq $0x0, (%rsp)
testl %edx, %edx
js 0x4f288e
movq %rcx, %rbx
movl %edx, %edx
movq %rsp, %rcx
leaq 0x8(%rsp), %r8
xorl %r9d, %r9d
callq 0x4f2898
testl %eax, %eax
je 0x4f285d
xorl %eax, %eax
jmp 0x4f2892
testq %rbx, %rbx
je 0x4f288e
movq 0x8(%rsp), %rdi
cmpq $0x7fffffff, %rdi # imm = 0... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/escape.c |
curl_mvsnprintf | int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format,
va_list ap_save)
{
int retcode;
struct nsprintf info;
info.buffer = buffer;
info.length = 0;
info.max = maxlength;
retcode = dprintf_formatf(&info, addbyter, format, ap_save);
if((retcode != -1) && info.max) {
... | pushq %rbx
subq $0x20, %rsp
leaq 0x8(%rsp), %rbx
movq %rdi, (%rbx)
movq $0x0, 0x8(%rbx)
movq %rsi, 0x10(%rbx)
leaq 0x1358(%rip), %rsi # 0x4f3d54
movq %rbx, %rdi
callq 0x4f2a3a
cmpl $-0x1, %eax
setne %dl
movq 0x10(%rbx), %rcx
testq %rcx, %rcx
setne %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x4f2a34
xorl %edx, %edx
cm... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/mprintf.c |
curl_msnprintf | int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...)
{
int retcode;
va_list ap_save; /* argument pointer */
va_start(ap_save, format);
retcode = curl_mvsnprintf(buffer, maxlength, format, ap_save);
va_end(ap_save);
return retcode;
} | subq $0xd8, %rsp
leaq 0x20(%rsp), %r10
movq %rcx, 0x18(%r10)
movq %r8, 0x20(%r10)
movq %r9, 0x28(%r10)
testb %al, %al
je 0x4f3dc8
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/mprintf.c |
alloc_addbyter | static int alloc_addbyter(int output, FILE *data)
{
struct asprintf *infop=(struct asprintf *)data;
unsigned char outc = (unsigned char)output;
if(!infop->buffer) {
infop->buffer = malloc(32);
if(!infop->buffer) {
infop->fail = 1;
return -1; /* fail */
}
infop->alloc = 32;
infop->... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl %edi, %ebp
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x4f3f2a
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
incq %rcx
cmpq %rax, %rcx
jb 0x4f3f77
leaq (%rax,%rax), %r14
testq %rax, %rax
jle 0x4f3f5b
leaq 0x1a4f8d(%rip), %rax # 0x698eb0
movq %r14, %rsi
callq *(%rax)
jmp ... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/mprintf.c |
curl_msprintf | int curl_msprintf(char *buffer, const char *format, ...)
{
va_list ap_save; /* argument pointer */
int retcode;
va_start(ap_save, format);
retcode = dprintf_formatf(&buffer, storebuffer, format, ap_save);
va_end(ap_save);
*buffer=0; /* we terminate this with a zero byte */
return retcode;
} | pushq %rbx
subq $0xe0, %rsp
movq %rsi, %r10
testb %al, %al
je 0x4f405a
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
leaq 0x30(%rsp), %rax
movq %rdx, 0x10(%rax)
movq ... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/mprintf.c |
curl_easy_setopt | CURLcode curl_easy_setopt(struct Curl_easy *data, CURLoption tag, ...)
{
va_list arg;
CURLcode result;
if(!data)
return CURLE_BAD_FUNCTION_ARGUMENT;
va_start(arg, tag);
result = Curl_setopt(data, tag, arg);
va_end(arg);
return result;
} | subq $0xd8, %rsp
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x4f4496
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/easy.c |
curl_easy_cleanup | void curl_easy_cleanup(struct Curl_easy *data)
{
SIGPIPE_VARIABLE(pipe_st);
if(!data)
return;
sigpipe_ignore(data, &pipe_st);
Curl_close(data);
sigpipe_restore(&pipe_st);
} | testq %rdi, %rdi
je 0x4f4739
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x4f473a
movq %rbx, %rdi
callq 0x5045c1
cmpb $0x0, 0x98(%r14)
jne 0x4f472f
leaq 0x8(%rsp), %rsi
movl $0xd, %edi
xorl %edx, %edx
callq 0x1719f0
addq $0xa8, %rsp
popq %rbx
popq %r14
retq
| /jdavidberger[P]CMake/Utilities/cmcurl/lib/easy.c |
curl_easy_send | CURLcode curl_easy_send(struct Curl_easy *data, const void *buffer,
size_t buflen, size_t *n)
{
curl_socket_t sfd;
CURLcode result;
ssize_t n1;
struct connectdata *c = NULL;
result = easy_connection(data, &sfd, &c);
if(result)
return result;
*n = 0;
result = Curl_write(c, s... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x4(%rsp), %rsi
callq 0x4f4c28
movl %eax, %ecx
testl %eax, %eax
je 0x4f4cc2
movl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq $0x0, (%... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/easy.c |
Curl_updateconninfo | void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd)
{
curl_socklen_t len;
struct Curl_sockaddr_storage ssrem;
struct Curl_sockaddr_storage ssloc;
struct Curl_easy *data = conn->data;
if(conn->socktype == SOCK_DGRAM)
/* there's no connection! */
return;
if(!conn->bits.reuse && ... | cmpl $0x2, 0xc4(%rdi)
je 0x4f508d
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
cmpb $0x0, 0x3d2(%rdi)
jne 0x4f4ea8
cmpb $0x0, 0x3ee(%rbx)
je 0x4f4f40
movq (%rbx), %rax
movups 0x1c0(%rbx), %xmm0
movups %xmm0, 0x4fd6(%rax)
movups 0x1b2(%rbx), %xmm0
movups %xmm0, 0... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/connect.c |
Curl_is_connected | CURLcode Curl_is_connected(struct connectdata *conn,
int sockindex,
bool *connected)
{
struct Curl_easy *data = conn->data;
CURLcode result = CURLE_OK;
time_t allow;
int error = 0;
struct timeval now;
int rc;
int i;
DEBUGASSERT(sockindex >= FIRSTSOC... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r15
movq (%rdi), %rbx
movl $0x0, (%rsp)
movb $0x0, (%rdx)
movslq %esi, %rax
cmpb $0x1, 0x3dd(%rdi,%rax)
jne 0x4f5148
movb $0x1, (%r15)
xorl %ebp, %ebp
jmp 0x4f5521
movl %esi, %ebp
movq %rdi, %r14
movq %rax, 0x10(%rsp)
callq 0... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/connect.c |
Curl_tcpnodelay | void Curl_tcpnodelay(struct connectdata *conn, curl_socket_t sockfd)
{
#if defined(TCP_NODELAY)
#if !defined(CURL_DISABLE_VERBOSE_STRINGS)
struct Curl_easy *data = conn->data;
#endif
curl_socklen_t onoff = (curl_socklen_t) 1;
int level = IPPROTO_TCP;
#if 0
/* The use of getprotobyname() is disabled since it is... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq (%rdi), %rbx
leaq 0x4(%rsp), %rcx
movl $0x1, (%rcx)
movl %esi, %edi
movl $0x6, %esi
movl $0x1, %edx
movl $0x4, %r8d
callq 0x170390
testl %eax, %eax
js 0x4f5717
leaq 0x9936a(%rip), %rsi # 0x58ea75
movq %rbx, %rdi
xorl %eax, %eax
callq 0x503813
jmp 0x4f573a
callq ... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/connect.c |
Curl_multi_handle | struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
int chashsize) /* connection hash */
{
struct Curl_multi *multi = calloc(1, sizeof(struct Curl_multi));
if(!multi)
return NULL;
multi->type = CURL_MULTI_HANDLE;
if(Curl_mk_dnscache(&multi->hostcache)... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movl %edi, %r15d
leaq 0x1a2c28(%rip), %rax # 0x698ec0
movl $0x1, %edi
movl $0x1e0, %esi # imm = 0x1E0
callq *(%rax)
testq %rax, %rax
je 0x4f6363
movq %rax, %rbx
movq $0xbab1e, (%rax) # imm = 0xBAB1E
leaq 0x80(%rax), %r14
movq %r... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
curl_multi_remove_handle | CURLMcode curl_multi_remove_handle(struct Curl_multi *multi,
struct Curl_easy *data)
{
struct Curl_easy *easy = data;
bool premature;
bool easy_owns_conn;
struct curl_llist_element *e;
/* First, make some basic checks that the CURLM handle is a good handle */
if(!GOOD_MUL... | movl $0x1, %eax
testq %rdi, %rdi
je 0x4f6904
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpq $0xbab1e, (%rdi) # imm = 0xBAB1E
jne 0x4f68fc
movq %rsi, %r14
movl $0x2, %eax
testq %rsi, %rsi
je 0x4f68fc
cmpl $0xc0dedbad, 0x5058(%r14) # imm = 0xC0DEDBAD
jne 0x4f68fc
cmpq $0x0, 0xa8(%r14)
... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
Curl_expire_clear | void Curl_expire_clear(struct Curl_easy *data)
{
struct Curl_multi *multi = data->multi;
struct timeval *nowp = &data->state.expiretime;
int rc;
/* this is only interesting while there is still an associated multi struct
remaining! */
if(!multi)
return;
if(nowp->tv_sec || nowp->tv_usec) {
/* ... | pushq %r15
pushq %r14
pushq %rbx
movq 0xa8(%rdi), %rdx
testq %rdx, %rdx
je 0x4f69fa
movq %rdi, %rbx
leaq 0x4c30(%rdi), %r15
cmpq $0x0, (%r15)
jne 0x4f6996
cmpq $0x0, 0x4c38(%rbx)
je 0x4f69fa
movq 0xb0(%rdx), %rdi
addq $0xb0, %rdx
leaq 0x4c40(%rbx), %rsi
callq 0x4fa4f9
testl %eax, %eax
je 0x4f69c7
leaq 0x983ae(%rip), %r... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
singlesocket | static void singlesocket(struct Curl_multi *multi,
struct Curl_easy *data)
{
curl_socket_t socks[MAX_SOCKSPEREASYHANDLE];
int i;
struct Curl_sh_entry *entry;
curl_socket_t s;
int num;
unsigned int curraction;
for(i=0; i< MAX_SOCKSPEREASYHANDLE; i++)
socks[i] = CURL_SOCKET_BAD... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rax
movq %rdi, %rbx
pcmpeqd %xmm0, %xmm0
leaq 0x30(%rsp), %rsi
movdqa %xmm0, (%rsi)
movl $0xffffffff, 0x10(%rsi) # imm = 0xFFFFFFFF
movq %rax, 0x8(%rsp)
movq %rax, %rdi
callq 0x4f70c6
movl %eax, %ebp
movq %rbx, 0x20(%rsp)
lea... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
multi_getsock | static int multi_getsock(struct Curl_easy *data,
curl_socket_t *socks, /* points to numsocks number
of sockets */
int numsocks)
{
/* If the pipe broke, or if there's no connection left for this easy handle,
then w... | xorl %eax, %eax
cmpb $0x0, 0x4e89(%rdi)
jne 0x4f716d
movq %rdi, %rcx
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x4f716d
movl 0x48(%rcx), %edx
leal -0x3(%rdx), %r8d
cmpl $0xd, %r8d
ja 0x4f70f5
movq %rcx, (%rdi)
addl $-0x4, %edx
cmpl $0xa, %edx
ja 0x4f716d
leaq 0x97b98(%rip), %rcx # 0x58ec9c
movslq (%rcx,%rdx,4), %rd... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
multi_timeout | static CURLMcode multi_timeout(struct Curl_multi *multi,
long *timeout_ms)
{
static struct timeval tv_zero = {0, 0};
if(multi->timetree) {
/* we have a tree of expire times */
struct timeval now = Curl_tvnow();
/* splay the lowest to the bottom */
multi->timetree = C... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
cmpq $0x0, 0xb0(%rdi)
je 0x4f7486
movq %rdi, %r13
callq 0x4fc164
movq %rax, %r14
movq %rdx, %r15
movq 0xb0(%r13), %rdx
xorl %r12d, %r12d
xorl %edi, %edi
xorl %esi, %esi
callq 0x4fa2d8
movq %rax, 0xb0(%r13)
movq 0x20(%rax), %rdi
cmpq %r14, %rdi
jl 0x... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
add_next_timeout | static CURLMcode add_next_timeout(struct timeval now,
struct Curl_multi *multi,
struct Curl_easy *d)
{
struct timeval *tv = &d->state.expiretime;
struct curl_llist *list = &d->state.timeoutlist;
struct curl_llist_element *e;
struct time_node *n... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x8(%rsp)
leaq 0x4c78(%rcx), %rax
movq %rax, (%rsp)
movq %rcx, 0x10(%rsp)
movq 0x4c78(%rcx), %rbp
testq %rbp, %rbp
je 0x4f89cc
movq %rsi, %r12
movq %rdi, %r13
movq (%rbp), %r14
movq 0x10(%rbp), %r15
movq 0x18(%r14), %rdi
movq ... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
curl_multi_info_read | CURLMsg *curl_multi_info_read(struct Curl_multi *multi, int *msgs_in_queue)
{
struct Curl_message *msg;
*msgs_in_queue = 0; /* default to none */
if(GOOD_MULTI_HANDLE(multi) && Curl_llist_count(&multi->msglist)) {
/* there is one or more messages in the list */
struct curl_llist_element *e;
/* extr... | pushq %r15
pushq %r14
pushq %rbx
movl $0x0, (%rsi)
testq %rdi, %rdi
je 0x4f8c65
movq %rdi, %r15
cmpq $0xbab1e, (%rdi) # imm = 0xBAB1E
jne 0x4f8c65
movq %rsi, %rbx
addq $0x20, %r15
movq %r15, %rdi
callq 0x511133
testq %rax, %rax
je 0x4f8c65
movq (%r15), %rsi
movq (%rsi), %r14
movq %r15, %rdi
xorl %edx, %edx
callq... | /jdavidberger[P]CMake/Utilities/cmcurl/lib/multi.c |
testing::internal::ParameterizedTestFactory<prometheus::(anonymous namespace)::CheckLabelNameTest_trailing_invalid_label_name_Test>::CreateTest() | Test* CreateTest() override {
TestClass::SetParam(¶meter_);
return new TestClass();
} | pushq %r14
pushq %rbx
pushq %rax
addq $0x8, %rdi
movq %rdi, 0x91893(%rip) # 0xb46e0
movl $0x18, %edi
callq 0x14590
movq %rax, %rbx
movq %rax, %rdi
callq 0x53bfa
leaq 0x8be97(%rip), %rax # 0xaed00
movq %rax, (%rbx)
leaq 0x8becd(%rip), %rax # 0xaed40
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq ... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googletest/include/gtest/internal/gtest-param-util.h |
prometheus::(anonymous namespace)::CheckLabelNameTest_reject_le_for_histogram_Test::TestBody() | TEST_P(CheckLabelNameTest, reject_le_for_histogram) {
EXPECT_EQ(GetParam() != MetricType::Histogram, CheckLabelName("le"));
} | pushq %r14
pushq %rbx
subq $0x48, %rsp
callq 0x24710
cmpl $0x4, (%rax)
setne 0x10(%rsp)
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5d289(%rip), %rsi # 0x80a0b
leaq 0x5d284(%rip), %rdx # 0x80a0d
leaq 0x28(%rsp), %rdi
callq 0x22062
callq 0x24710
movl (%rax), %esi
leaq 0x28(%rsp), %rdi
callq 0x40579
leaq ... | /jupp0r[P]prometheus-cpp/core/tests/check_label_name_test.cc |
testing::AssertionResult testing::internal::CmpHelperEQFailure<bool, bool>(char const*, char const*, bool const&, bool const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x24894
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x24894
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googletest/include/gtest/gtest.h |
testing::internal::ValueArray<prometheus::MetricType, prometheus::MetricType, prometheus::MetricType, prometheus::MetricType, prometheus::MetricType, prometheus::MetricType>::operator testing::internal::ParamGenerator<prometheus::MetricType><prometheus::MetricType>() const | operator ParamGenerator<T>() const { // NOLINT
return ValuesIn(MakeVector<T>(MakeIndexSequence<sizeof...(Ts)>()));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x24990
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x249c6
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2496c
callq 0x14550
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq (%rsp), %rd... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googletest/include/gtest/internal/gtest-param-util.h |
testing::internal::SuiteApiResolver<testing::Test>::GetTearDownCaseOrSuite(char const*, int) | static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename,
int line_num) {
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
SetUpTearDownSuiteFuncType test_case_fp =
GetNotDefaultOrNull(&T::TearDownTestCase, &Test::TearDownTestCase);
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r14
movl $0x1, %edi
callq 0x4cabb
testb %al, %al
jne 0x25f0d
leaq 0x54535(%rip), %rdx # 0x7a392
leaq 0xc(%rsp), %rdi
movl $0x3, %esi
movl $0x226, %ecx # imm = 0x226
callq 0x68964
movq 0x8e178(%rip), %rdi # 0xb3ff0
leaq 0x54... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googletest/include/gtest/internal/gtest-internal.h |
prometheus::(anonymous namespace)::FamilyTest_throw_on_invalid_metric_name_Test::TestBody() | TEST(FamilyTest, throw_on_invalid_metric_name) {
auto create_family_with_invalid_name = []() {
return detail::make_unique<Family<Counter>>("", "empty name", Labels{});
};
EXPECT_ANY_THROW(create_family_with_invalid_name());
} | pushq %rbx
subq $0x40, %rsp
callq 0x50468
testb %al, %al
je 0x28d9d
callq 0x50468
testb %al, %al
je 0x28d9d
leaq 0x18(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x5ba9f(%rip), %rsi # 0x84803
leaq... | /jupp0r[P]prometheus-cpp/core/tests/family_test.cc |
testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<prometheus::ClientMetric::Label, prometheus::ClientMetric::Label>>>::~PredicateFormatterFromMatcher() | explicit PredicateFormatterFromMatcher(M m) : matcher_(std::move(m)) {} | pushq %rbx
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
leaq 0x70(%rbx), %rax
cmpq %rax, %rdi
je 0x2a96e
callq 0x14550
movq 0x40(%rbx), %rdi
leaq 0x50(%rbx), %rax
cmpq %rax, %rdi
je 0x2a980
callq 0x14550
movq 0x20(%rbx), %rdi
leaq 0x30(%rbx), %rax
cmpq %rax, %rdi
je 0x2a992
callq 0x14550
movq (%rbx), %rdi
addq $0x10, %rbx
cmp... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googlemock/include/gmock/gmock-matchers.h |
testing::internal::ElementsAreMatcherImpl<std::vector<prometheus::ClientMetric::Label, std::allocator<prometheus::ClientMetric::Label>> const&>::DescribeNegationTo(std::ostream*) const | void DescribeNegationTo(::std::ostream* os) const override {
if (count() == 0) {
*os << "isn't empty";
return;
}
*os << "doesn't have " << Elements(count()) << ", or\n";
for (size_t i = 0; i != count(); ++i) {
*os << "element #" << i << " ";
matchers_[i].DescribeNegationTo(os);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x8(%rdi), %rax
je 0x2b740
movq %rdi, %r14
leaq 0x518a9(%rip), %rsi # 0x7ce98
movl $0xd, %edx
movq %rbx, %rdi
callq 0x146a0
movq 0x10(%r14), %rsi
subq 0x8(%r14), %rsi
sarq $0x3, %rsi
movabsq... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googlemock/include/gmock/gmock-matchers.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<prometheus::Counter*, prometheus::Counter*>(char const*, char const*, prometheus::Counter* const&, prometheus::Counter* const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x2c3bf
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2c3bf
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /jupp0r[P]prometheus-cpp/3rdparty/googletest/googletest/include/gtest/gtest.h |
prometheus::(anonymous namespace)::GaugeTest_inc_negative_value_Test::TestBody() | TEST(GaugeTest, inc_negative_value) {
Gauge gauge;
gauge.Increment(-1.0);
EXPECT_EQ(gauge.Value(), -1.0);
} | pushq %rbx
subq $0x30, %rsp
leaq 0x28(%rsp), %rbx
movq $0x0, (%rbx)
movsd 0x50cd9(%rip), %xmm0 # 0x7df80
movq %rbx, %rdi
callq 0x46638
movq %rbx, %rdi
callq 0x466e4
leaq 0x10(%rsp), %rcx
movsd %xmm0, (%rcx)
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
leaq 0x50d7... | /jupp0r[P]prometheus-cpp/core/tests/gauge_test.cc |
prometheus::(anonymous namespace)::GaugeTest_set_to_current_time_Test::TestBody() | TEST(GaugeTest, set_to_current_time) {
Gauge gauge;
gauge.SetToCurrentTime();
EXPECT_GT(gauge.Value(), 0.0);
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
xorl %r14d, %r14d
leaq 0x20(%rsp), %rbx
movq %r14, (%rbx)
movq %rbx, %rdi
callq 0x466ca
movq %rbx, %rdi
callq 0x466e4
leaq 0x8(%rsp), %rcx
movsd %xmm0, (%rcx)
movq %rsp, %r8
movq %r14, (%r8)
leaq 0x5043a(%rip), %rsi # 0x7e050
leaq 0x4ec0c(%rip), %rdx # 0x7c829
leaq 0x10(%r... | /jupp0r[P]prometheus-cpp/core/tests/gauge_test.cc |
prometheus::(anonymous namespace)::HistogramTest_sample_sum_Test::TestBody() | TEST(HistogramTest, sample_sum) {
Histogram histogram{{1}};
histogram.Observe(0);
histogram.Observe(1);
histogram.Observe(101);
auto metric = histogram.Collect();
auto h = metric.histogram;
EXPECT_EQ(h.sample_sum, 102);
} | pushq %rbx
subq $0x140, %rsp # imm = 0x140
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
leaq 0xb0(%rsp), %rdi
leaq 0x10(%rsp), %rcx
movl $0x1, %edx
callq 0x21d2c
leaq 0x50(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x46828
movq 0xb0(%rsp), %rdi
testq %rdi,... | /jupp0r[P]prometheus-cpp/core/tests/histogram_test.cc |
ccs::SearchState::cacheProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, ccs::Specificity, ccs::Property const*) | void cacheProperty(const std::string &propertyName,
Specificity spec, const Property *property) {
auto it = properties.find(propertyName);
PropertySetting newSetting(spec, property);
if (it == properties.end()) {
// we don't have a local setting for this yet.
auto parentProperty = parent... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbp
movq %rcx, (%rsp)
leaq 0x80(%rdi), %rbx
movq %rbx, %rdi
callq 0x2ae20
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x29160
leaq 0x88(%rbp), %r1... | /hellige[P]ccs-cpp/src/search_state.h |
ccs::PropertySetting::PropertySetting(ccs::Specificity, ccs::Property const*) | PropertySetting(Specificity spec, const Property *value)
: spec(spec),
override(value->override()) {
values.insert(value);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rax
movq %rdx, (%rax)
movq %rsi, (%rdi)
movb 0x9c(%rdx), %cl
movb %cl, 0x8(%rdi)
leaq 0x10(%rdi), %rbx
leaq 0x18(%rdi), %rcx
movl $0x0, 0x18(%rdi)
xorl %edx, %edx
movq %rdx, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq %rcx, 0x30(%rdi)
movq %rdx, 0x38(%rdi)
movq %rbx, %rdi
movq %ra... | /hellige[P]ccs-cpp/src/search_state.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.