name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
ParserTestInNewline::ParserTestInNewline() | TEST_F(ParserTest, InNewline) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat_rsp\n"
" command = cat $in_newline > $out\n"
"\n"
"build out: cat_rsp in in2\n"
" rspfile=out.rsp\n"));
ASSERT_EQ(2u, state.bindings_.GetRules().size());
const Rule* rule = state.bindings_.GetRules().begin()->second;
EXPECT_EQ("ca... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac734(%rip), %rcx # 0x1642c8
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestVariables::Create() | TEST_F(ParserTest, Variables) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"l = one-letter-test\n"
"rule link\n"
" command = ld $l $extra $with_under -o $out $in\n"
"\n"
"extra = -pthread\n"
"with_under = -under\n"
"build a: link b c\n"
"nested1 = 1\n"
"nested2 = $nested1/2\n"
"build supernested: link x\n"
" extra = $nes... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7c10
jmp 0xb7bd3
movq -0x18(%rbp), %rax
leaq 0xaeae2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestVariables::ParserTestVariables() | TEST_F(ParserTest, Variables) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"l = one-letter-test\n"
"rule link\n"
" command = ld $l $extra $with_under -o $out $in\n"
"\n"
"extra = -pthread\n"
"with_under = -under\n"
"build a: link b c\n"
"nested1 = 1\n"
"nested2 = $nested1/2\n"
"build supernested: link x\n"
" extra = $nes... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac6e4(%rip), %rcx # 0x164318
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestVariableScope::Create() | TEST_F(ParserTest, VariableScope) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"foo = bar\n"
"rule cmd\n"
" command = cmd $foo $in $out\n"
"\n"
"build inner: cmd a\n"
" foo = baz\n"
"build outer: cmd b\n"
"\n" // Extra newline after build line tickles a regression.
));
ASSERT_EQ(2u, state.edges_.size());
EXPECT_EQ(... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7cb0
jmp 0xb7c73
movq -0x18(%rbp), %rax
leaq 0xaea42(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestVariableScope::ParserTestVariableScope() | TEST_F(ParserTest, VariableScope) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"foo = bar\n"
"rule cmd\n"
" command = cmd $foo $in $out\n"
"\n"
"build inner: cmd a\n"
" foo = baz\n"
"build outer: cmd b\n"
"\n" // Extra newline after build line tickles a regression.
));
ASSERT_EQ(2u, state.edges_.size());
EXPECT_EQ(... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac694(%rip), %rcx # 0x164368
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestContinuation::Create() | TEST_F(ParserTest, Continuation) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule link\n"
" command = foo bar $\n"
" baz\n"
"\n"
"build a: link c $\n"
" d e f\n"));
ASSERT_EQ(2u, state.bindings_.GetRules().size());
const Rule* rule = state.bindings_.GetRules().begin()->second;
EXPECT_EQ("link", rule->name());
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7d50
jmp 0xb7d13
movq -0x18(%rbp), %rax
leaq 0xae9a2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestContinuation::ParserTestContinuation() | TEST_F(ParserTest, Continuation) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule link\n"
" command = foo bar $\n"
" baz\n"
"\n"
"build a: link c $\n"
" d e f\n"));
ASSERT_EQ(2u, state.bindings_.GetRules().size());
const Rule* rule = state.bindings_.GetRules().begin()->second;
EXPECT_EQ("link", rule->name());
... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac644(%rip), %rcx # 0x1643b8
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestBackslash::Create() | TEST_F(ParserTest, Backslash) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"foo = bar\\baz\n"
"foo2 = bar\\ baz\n"
));
EXPECT_EQ("bar\\baz", state.bindings_.LookupVariable("foo"));
EXPECT_EQ("bar\\ baz", state.bindings_.LookupVariable("foo2"));
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7df0
jmp 0xb7db3
movq -0x18(%rbp), %rax
leaq 0xae902(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestBackslash::ParserTestBackslash() | TEST_F(ParserTest, Backslash) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"foo = bar\\baz\n"
"foo2 = bar\\ baz\n"
));
EXPECT_EQ("bar\\baz", state.bindings_.LookupVariable("foo"));
EXPECT_EQ("bar\\ baz", state.bindings_.LookupVariable("foo2"));
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac5f4(%rip), %rcx # 0x164408
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDollars::Create() | TEST_F(ParserTest, Dollars) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule foo\n"
" command = ${out}bar$$baz$$$\n"
"blah\n"
"x = $$dollar\n"
"build $x: foo y\n"
));
EXPECT_EQ("$dollar", state.bindings_.LookupVariable("x"));
#ifdef _WIN32
EXPECT_EQ("$dollarbar$baz$blah", state.edges_[0]->EvaluateCommand());
#else
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7f30
jmp 0xb7ef3
movq -0x18(%rbp), %rax
leaq 0xae7c2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDollars::ParserTestDollars() | TEST_F(ParserTest, Dollars) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule foo\n"
" command = ${out}bar$$baz$$$\n"
"blah\n"
"x = $$dollar\n"
"build $x: foo y\n"
));
EXPECT_EQ("$dollar", state.bindings_.LookupVariable("x"));
#ifdef _WIN32
EXPECT_EQ("$dollarbar$baz$blah", state.edges_[0]->EvaluateCommand());
#else
... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac554(%rip), %rcx # 0x1644a8
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestEscapeSpaces::Create() | TEST_F(ParserTest, EscapeSpaces) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule spaces\n"
" command = something\n"
"build foo$ bar: spaces $$one two$$$ three\n"
));
EXPECT_TRUE(state.LookupNode("foo bar"));
EXPECT_EQ(state.edges_[0]->outputs_[0]->path(), "foo bar");
EXPECT_EQ(state.edges_[0]->inputs_[0]->path(),... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb7fd0
jmp 0xb7f93
movq -0x18(%rbp), %rax
leaq 0xae722(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestEscapeSpaces::ParserTestEscapeSpaces() | TEST_F(ParserTest, EscapeSpaces) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule spaces\n"
" command = something\n"
"build foo$ bar: spaces $$one two$$$ three\n"
));
EXPECT_TRUE(state.LookupNode("foo bar"));
EXPECT_EQ(state.edges_[0]->outputs_[0]->path(), "foo bar");
EXPECT_EQ(state.edges_[0]->inputs_[0]->path(),... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac504(%rip), %rcx # 0x1644f8
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestCanonicalizeFile::Create() | TEST_F(ParserTest, CanonicalizeFile) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat\n"
" command = cat $in > $out\n"
"build out: cat in/1 in//2\n"
"build in/1: cat\n"
"build in/2: cat\n"));
EXPECT_TRUE(state.LookupNode("in/1"));
EXPECT_TRUE(state.LookupNode("in/2"));
EXPECT_FALSE(state.LookupNode("in//1"));... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb8070
jmp 0xb8033
movq -0x18(%rbp), %rax
leaq 0xae682(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestCanonicalizeFile::ParserTestCanonicalizeFile() | TEST_F(ParserTest, CanonicalizeFile) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat\n"
" command = cat $in > $out\n"
"build out: cat in/1 in//2\n"
"build in/1: cat\n"
"build in/2: cat\n"));
EXPECT_TRUE(state.LookupNode("in/1"));
EXPECT_TRUE(state.LookupNode("in/2"));
EXPECT_FALSE(state.LookupNode("in//1"));... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac4b4(%rip), %rcx # 0x164548
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestPathVariables::Create() | TEST_F(ParserTest, PathVariables) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat\n"
" command = cat $in > $out\n"
"dir = out\n"
"build $dir/exe: cat src\n"));
EXPECT_FALSE(state.LookupNode("$dir/exe"));
EXPECT_TRUE(state.LookupNode("out/exe"));
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb8110
jmp 0xb80d3
movq -0x18(%rbp), %rax
leaq 0xae5e2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestPathVariables::ParserTestPathVariables() | TEST_F(ParserTest, PathVariables) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat\n"
" command = cat $in > $out\n"
"dir = out\n"
"build $dir/exe: cat src\n"));
EXPECT_FALSE(state.LookupNode("$dir/exe"));
EXPECT_TRUE(state.LookupNode("out/exe"));
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac464(%rip), %rcx # 0x164598
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDuplicateEdgeWithMultipleOutputsError::Create() | TEST_F(ParserTest, DuplicateEdgeWithMultipleOutputsError) {
const char kInput[] =
"rule cat\n"
" command = cat $in > $out\n"
"build out1 out2: cat in1\n"
"build out1: cat in2\n"
"build final: cat out1\n";
ManifestParserOptions parser_opts;
parser_opts.dupe_edge_action_ = kDupeEdgeActionError;
ManifestParser pa... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb8390
jmp 0xb8353
movq -0x18(%rbp), %rax
leaq 0xae362(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDuplicateEdgeWithMultipleOutputsError::ParserTestDuplicateEdgeWithMultipleOutputsError() | TEST_F(ParserTest, DuplicateEdgeWithMultipleOutputsError) {
const char kInput[] =
"rule cat\n"
" command = cat $in > $out\n"
"build out1 out2: cat in1\n"
"build out1: cat in2\n"
"build final: cat out1\n";
ManifestParserOptions parser_opts;
parser_opts.dupe_edge_action_ = kDupeEdgeActionError;
ManifestParser pa... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac324(%rip), %rcx # 0x1646d8
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDuplicateEdgeInIncludedFile::Create() | TEST_F(ParserTest, DuplicateEdgeInIncludedFile) {
fs_.Create("sub.ninja",
"rule cat\n"
" command = cat $in > $out\n"
"build out1 out2: cat in1\n"
"build out1: cat in2\n"
"build final: cat out1\n");
const char kInput[] =
"subninja sub.ninja\n";
ManifestParserOptions parser_opts;
parser_o... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb8430
jmp 0xb83f3
movq -0x18(%rbp), %rax
leaq 0xae2c2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDuplicateEdgeInIncludedFile::ParserTestDuplicateEdgeInIncludedFile() | TEST_F(ParserTest, DuplicateEdgeInIncludedFile) {
fs_.Create("sub.ninja",
"rule cat\n"
" command = cat $in > $out\n"
"build out1 out2: cat in1\n"
"build out1: cat in2\n"
"build final: cat out1\n");
const char kInput[] =
"subninja sub.ninja\n";
ManifestParserOptions parser_opts;
parser_o... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac2d4(%rip), %rcx # 0x164728
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestPhonySelfReferenceIgnored::Create() | TEST_F(ParserTest, PhonySelfReferenceIgnored) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"build a: phony a\n"
));
Node* node = state.LookupNode("a");
Edge* edge = node->in_edge();
ASSERT_TRUE(edge->inputs_.empty());
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb84d0
jmp 0xb8493
movq -0x18(%rbp), %rax
leaq 0xae222(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestPhonySelfReferenceIgnored::ParserTestPhonySelfReferenceIgnored() | TEST_F(ParserTest, PhonySelfReferenceIgnored) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"build a: phony a\n"
));
Node* node = state.LookupNode("a");
Edge* edge = node->in_edge();
ASSERT_TRUE(edge->inputs_.empty());
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac284(%rip), %rcx # 0x164778
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestMultipleOutputs::ParserTestMultipleOutputs() | TEST_F(ParserTest, MultipleOutputs) {
State local_state;
ManifestParser parser(&local_state, NULL);
string err;
EXPECT_TRUE(parser.ParseTest("rule cc\n command = foo\n depfile = bar\n"
"build a.o b.o: cc c.cc\n",
&err));
EXPECT_EQ("", err);
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xb7700
movq -0x10(%rbp), %rax
leaq 0xac0f4(%rip), %rcx # 0x164908
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestMissingSubNinja::Create() | TEST_F(ParserTest, MissingSubNinja) {
ManifestParser parser(&state, &fs_);
string err;
EXPECT_FALSE(parser.ParseTest("subninja foo.ninja\n", &err));
EXPECT_EQ("input:1: loading 'foo.ninja': No such file or directory\n"
"subninja foo.ninja\n"
" ^ near here"
, ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb89d0
jmp 0xb8993
movq -0x18(%rbp), %rax
leaq 0xadd22(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
ParserTestDefaultStatements::Create() | TEST_F(ParserTest, DefaultStatements) {
ASSERT_NO_FATAL_FAILURE(AssertParse(
"rule cat\n command = cat $in > $out\n"
"build a: cat foo\n"
"build b: cat foo\n"
"build c: cat foo\n"
"build d: cat foo\n"
"third = c\n"
"default a b\n"
"default $third\n"));
string err;
vector<Node*> nodes = state.DefaultNodes(&err);... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x1e8, %edi # imm = 0x1E8
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xb9290
jmp 0xb9253
movq -0x18(%rbp), %rax
leaq 0xad462(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
mo... | /adityavs[P]ninja/src/manifest_parser_test.cc |
StringPieceUtilTestToLowerASCII::StringPieceUtilTestToLowerASCII() | TEST(StringPieceUtilTest, ToLowerASCII) {
EXPECT_EQ('a', ToLowerASCII('A'));
EXPECT_EQ('z', ToLowerASCII('Z'));
EXPECT_EQ('a', ToLowerASCII('a'));
EXPECT_EQ('z', ToLowerASCII('z'));
EXPECT_EQ('/', ToLowerASCII('/'));
EXPECT_EQ('1', ToLowerASCII('1'));
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x77c30
movq -0x10(%rbp), %rax
leaq 0xa8bfc(%rip), %rcx # 0x1652b0
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/string_piece_util_test.cc |
StringPieceUtilTestEqualsCaseInsensitiveASCII::Create() | TEST(StringPieceUtilTest, EqualsCaseInsensitiveASCII) {
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "abc"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "ABC"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "aBc"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("AbC", "aBc"));
EXPECT_TRUE(EqualsCaseInsensitiveA... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x10, %edi
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xbc730
jmp 0xbc6f3
movq -0x18(%rbp), %rax
leaq 0xa9fc2(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
movq %rax, %rcx
movl %edx, %... | /adityavs[P]ninja/src/string_piece_util_test.cc |
StringPieceUtilTestEqualsCaseInsensitiveASCII::StringPieceUtilTestEqualsCaseInsensitiveASCII() | TEST(StringPieceUtilTest, EqualsCaseInsensitiveASCII) {
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "abc"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "ABC"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("abc", "aBc"));
EXPECT_TRUE(EqualsCaseInsensitiveASCII("AbC", "aBc"));
EXPECT_TRUE(EqualsCaseInsensitiveA... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x77c30
movq -0x10(%rbp), %rax
leaq 0xa8bac(%rip), %rcx # 0x165300
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/string_piece_util_test.cc |
SubprocessTestBadCommandStderr::Run() | TEST_F(SubprocessTest, BadCommandStderr) {
Subprocess* subproc = subprocs_.Add("cmd /c ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish())... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x59786(%rip), %rsi # 0x115f2d
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbc7... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestNoSuchCommand::Run() | TEST_F(SubprocessTest, NoSuchCommand) {
Subprocess* subproc = subprocs_.Add("ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish());
EXPECT... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x595dd(%rip), %rsi # 0x115f34
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbc9... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptChild::Run() | TEST_F(SubprocessTest, InterruptChild) {
Subprocess* subproc = subprocs_.Add("kill -INT $$");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
subprocs_.DoWork();
}
EXPECT_EQ(ExitInterrupted, subproc->Finish());
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x594fd(%rip), %rsi # 0x116001
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbcb... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptParent::Run() | TEST_F(SubprocessTest, InterruptParent) {
Subprocess* subproc = subprocs_.Add("kill -INT $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupted");
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x593cf(%rip), %rsi # 0x116033
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbcc... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptChildWithSigTerm::Run() | TEST_F(SubprocessTest, InterruptChildWithSigTerm) {
Subprocess* subproc = subprocs_.Add("kill -TERM $$");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
subprocs_.DoWork();
}
EXPECT_EQ(ExitInterrupted, subproc->Finish());
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x592cb(%rip), %rsi # 0x11608f
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbcd... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptParentWithSigTerm::Run() | TEST_F(SubprocessTest, InterruptParentWithSigTerm) {
Subprocess* subproc = subprocs_.Add("kill -TERM $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupt... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x59179(%rip), %rsi # 0x11609d
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbcf... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptChildWithSigHup::Run() | TEST_F(SubprocessTest, InterruptChildWithSigHup) {
Subprocess* subproc = subprocs_.Add("kill -HUP $$");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
subprocs_.DoWork();
}
EXPECT_EQ(ExitInterrupted, subproc->Finish());
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x59034(%rip), %rsi # 0x1160b8
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbd0... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestInterruptParentWithSigHup::Run() | TEST_F(SubprocessTest, InterruptParentWithSigHup) {
Subprocess* subproc = subprocs_.Add("kill -HUP $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupted... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
addq $0x10, %rax
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp), %rdx
leaq 0x58ee1(%rip), %rsi # 0x1160c5
leaq -0x30(%rbp), %rdi
callq 0x265d0
jmp 0xbd1... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestConsole::Run() | TEST_F(SubprocessTest, Console) {
// Skip test if we don't have the console ourselves.
if (isatty(0) && isatty(1) && isatty(2)) {
Subprocess* subproc =
subprocs_.Add("test -t 0 -a -t 1 -a -t 2", /*use_console=*/true);
ASSERT_NE((Subprocess*)0, subproc);
while (!subproc->Done()) {
subprocs... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
xorl %edi, %edi
callq 0x1b950
cmpl $0x0, %eax
je 0xbd496
movl $0x1, %edi
callq 0x1b950
cmpl $0x0, %eax
je 0xbd496
movl $0x2, %edi
callq 0x1b950
cmpl $0x0, %eax
je 0xbd496
movq -0x50(%rbp), %rax
addq $0x10, %ra... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestSetWithSingle::Run() | TEST_F(SubprocessTest, SetWithSingle) {
Subprocess* subproc = subprocs_.Add(kSimpleCommand);
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
subprocs_.DoWork();
}
ASSERT_EQ(ExitSuccess, subproc->Finish());
ASSERT_NE("", subproc->GetOutput());
ASSERT_EQ(1u, subprocs_.finished_.size()... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
addq $0x10, %rax
movq %rax, -0x60(%rbp)
movq 0xa9092(%rip), %rax # 0x166568
movq %rax, -0x58(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
... | /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestSetWithMulti::Run() | TEST_F(SubprocessTest, SetWithMulti) {
Subprocess* processes[3];
const char* kCommands[3] = {
kSimpleCommand,
#ifdef _WIN32
"cmd /c echo hi",
"cmd /c time /t",
#else
"id -u",
"pwd",
#endif
};
for (int i = 0; i < 3; ++i) {
processes[i] = subprocs_.Add(kCommands[i]);
ASSERT_NE((Subpro... | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq 0xa8e47(%rip), %rax # 0x166568
movq %rax, -0x40(%rbp)
leaq 0x58a29(%rip), %rax # 0x116155
movq %rax, -0x38(%rbp)
leaq 0x58a24(%rip), %rax # 0x11615b
movq %rax, -0x30(... | /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestBadCommandStderr::RegisterSubprocessTestBadCommandStderr() | TEST_F(SubprocessTest, BadCommandStderr) {
Subprocess* subproc = subprocs_.Add("cmd /c ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish())... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x62d(%rip), %rdi # 0xbe530
leaq 0x58377(%rip), %rsi # 0x116281
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestNoSuchCommand::RegisterSubprocessTestNoSuchCommand() | TEST_F(SubprocessTest, NoSuchCommand) {
Subprocess* subproc = subprocs_.Add("ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish());
EXPECT... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x69d(%rip), %rdi # 0xbe5d0
leaq 0x58367(%rip), %rsi # 0x1162a1
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestInterruptParent::RegisterSubprocessTestInterruptParent() | TEST_F(SubprocessTest, InterruptParent) {
Subprocess* subproc = subprocs_.Add("kill -INT $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupted");
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x77d(%rip), %rdi # 0xbe710
leaq 0x58342(%rip), %rsi # 0x1162dc
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestInterruptParentWithSigTerm::RegisterSubprocessTestInterruptParentWithSigTerm() | TEST_F(SubprocessTest, InterruptParentWithSigTerm) {
Subprocess* subproc = subprocs_.Add("kill -TERM $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupt... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x85d(%rip), %rdi # 0xbe850
leaq 0x5832a(%rip), %rsi # 0x116324
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestInterruptParentWithSigHup::RegisterSubprocessTestInterruptParentWithSigHup() | TEST_F(SubprocessTest, InterruptParentWithSigHup) {
Subprocess* subproc = subprocs_.Add("kill -HUP $PPID ; sleep 1");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
bool interrupted = subprocs_.DoWork();
if (interrupted)
return;
}
ASSERT_FALSE("We should have been interrupted... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x93d(%rip), %rdi # 0xbe990
leaq 0x5831c(%rip), %rsi # 0x116376
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestConsole::RegisterSubprocessTestConsole() | TEST_F(SubprocessTest, Console) {
// Skip test if we don't have the console ourselves.
if (isatty(0) && isatty(1) && isatty(2)) {
Subprocess* subproc =
subprocs_.Add("test -t 0 -a -t 1 -a -t 2", /*use_console=*/true);
ASSERT_NE((Subprocess*)0, subproc);
while (!subproc->Done()) {
subprocs... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x9ad(%rip), %rdi # 0xbea30
leaq 0x58315(%rip), %rsi # 0x11639f
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestSetWithSingle::RegisterSubprocessTestSetWithSingle() | TEST_F(SubprocessTest, SetWithSingle) {
Subprocess* subproc = subprocs_.Add(kSimpleCommand);
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
subprocs_.DoWork();
}
ASSERT_EQ(ExitSuccess, subproc->Finish());
ASSERT_NE("", subproc->GetOutput());
ASSERT_EQ(1u, subprocs_.finished_.size()... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0xa1d(%rip), %rdi # 0xbead0
leaq 0x582fc(%rip), %rsi # 0x1163b6
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
RegisterSubprocessTestSetWithMulti::RegisterSubprocessTestSetWithMulti() | TEST_F(SubprocessTest, SetWithMulti) {
Subprocess* processes[3];
const char* kCommands[3] = {
kSimpleCommand,
#ifdef _WIN32
"cmd /c echo hi",
"cmd /c time /t",
#else
"id -u",
"pwd",
#endif
};
for (int i = 0; i < 3; ++i) {
processes[i] = subprocs_.Add(kCommands[i]);
ASSERT_NE((Subpro... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0xa6d(%rip), %rdi # 0xbeb70
leaq 0x582ce(%rip), %rsi # 0x1163d8
callq 0xb9890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
| /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestBadCommandStderr::~SubprocessTestBadCommandStderr() | TEST_F(SubprocessTest, BadCommandStderr) {
Subprocess* subproc = subprocs_.Add("cmd /c ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish())... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xbe170
movq -0x10(%rbp), %rdi
movl $0x2c0, %esi # imm = 0x2C0
callq 0x1b4d0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
| /adityavs[P]ninja/src/subprocess_test.cc |
SubprocessTestNoSuchCommand::~SubprocessTestNoSuchCommand() | TEST_F(SubprocessTest, NoSuchCommand) {
Subprocess* subproc = subprocs_.Add("ninja_no_such_command");
ASSERT_NE((Subprocess *) 0, subproc);
while (!subproc->Done()) {
// Pretend we discovered that stderr was ready for writing.
subprocs_.DoWork();
}
EXPECT_EQ(ExitFailure, subproc->Finish());
EXPECT... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0xbdea0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /adityavs[P]ninja/src/subprocess_test.cc |
PathEscapingSensiblePathsAreNotNeedlesslyEscaped::Create() | TEST(PathEscaping, SensiblePathsAreNotNeedlesslyEscaped) {
const char* path = "some/sensible/path/without/crazy/characters.c++";
string result;
GetWin32EscapedString(path, &result);
EXPECT_EQ(path, result);
result.clear();
GetShellEscapedString(path, &result);
EXPECT_EQ(path, result);
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x10, %edi
callq 0x1b4b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x18(%rbp)
callq 0xc51b0
jmp 0xc5173
movq -0x18(%rbp), %rax
leaq 0xa1542(%rip), %rcx # 0x1666c0
movq %rax, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
movq %rax, %rcx
movl %edx, %... | /adityavs[P]ninja/src/util_test.cc |
PathEscapingSensiblePathsAreNotNeedlesslyEscaped::PathEscapingSensiblePathsAreNotNeedlesslyEscaped() | TEST(PathEscaping, SensiblePathsAreNotNeedlesslyEscaped) {
const char* path = "some/sensible/path/without/crazy/characters.c++";
string result;
GetWin32EscapedString(path, &result);
EXPECT_EQ(path, result);
result.clear();
GetShellEscapedString(path, &result);
EXPECT_EQ(path, result);
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x77c30
movq -0x10(%rbp), %rax
leaq 0xa077c(%rip), %rcx # 0x165950
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /adityavs[P]ninja/src/util_test.cc |
BuildLog::Restat(StringPiece, DiskInterface const&, int, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | bool BuildLog::Restat(const StringPiece path,
const DiskInterface& disk_interface,
const int output_count, char** outputs,
std::string* const err) {
METRIC_RECORD(".ninja_log restat");
Close();
std::string temp_path = path.AsString() + ".restat";
... | pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq 0x10(%rbp), %rax
movq %rsi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq %r9, -0x38(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xf8(%rbp)
cmpb $0x0, 0xda45f(%rip) # 0x1a10e8
jne 0... | /adityavs[P]ninja/src/build_log.cc |
MurmurHash2(void const*, unsigned long) | static inline
unsigned int MurmurHash2(const void* key, size_t len) {
static const unsigned int seed = 0xDECAFBAD;
const unsigned int m = 0x5bd1e995;
const int r = 24;
unsigned int h = seed ^ len;
const unsigned char* data = (const unsigned char*)key;
while (len >= 4) {
unsigned int k;
memcpy(&k, da... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x5bd1e995, -0x14(%rbp) # imm = 0x5BD1E995
movl $0x18, -0x18(%rbp)
movabsq $0xdecafbad, %rax # imm = 0xDECAFBAD
xorq -0x10(%rbp), %rax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x4, -0x10(%rbp)
jb 0xc7280... | /adityavs[P]ninja/src/hash_map.h |
LineReader::ReadLine(char**, char**) | bool ReadLine(char** line_start, char** line_end) {
if (line_start_ >= buf_end_ || !line_end_) {
// Buffer empty, refill.
size_t size_read = fread(buf_, 1, sizeof(buf_), file_);
if (!size_read)
return false;
line_start_ = buf_;
buf_end_ = buf_ + size_read;
} else {
//... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, -0x48(%rbp)
movq 0x40010(%rcx), %rax
cmpq 0x40008(%rcx), %rax
jae 0xc752a
movq -0x48(%rbp), %rax
cmpq $0x0, 0x40018(%rax)
jne 0xc7581
movq -0x48(%rbp), %rax
movq %rax, %rdi
... | /adityavs[P]ninja/src/build_log.cc |
BuildStatus::BuildStatus(BuildConfig const&) | BuildStatus::BuildStatus(const BuildConfig& config)
: config_(config), start_time_millis_(GetTimeMillis()), started_edges_(0),
finished_edges_(0), total_edges_(0), progress_status_format_(NULL),
current_rate_(config.parallelism) {
// Don't do anything fancy in verbose mode.
if (config_.verbosity != ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
callq 0xf1420
movq -0x30(%rbp), %rdi
movq %rax, 0x8(%rdi)
movl $0x0, 0x10(%rdi)
movl $0x0, 0x14(%rdi)
movl $0x0, 0x18(%rdi)
addq $0x20, %rdi
movq... | /adityavs[P]ninja/src/build.cc |
BuildStatus::BuildEdgeStarted(Edge const*) | void BuildStatus::BuildEdgeStarted(const Edge* edge) {
assert(running_edges_.find(edge) == running_edges_.end());
int start_time = (int)(GetTimeMillis() - start_time_millis_);
running_edges_.insert(make_pair(edge, start_time));
++started_edges_;
if (edge->use_console() || printer_.is_smart_terminal())
Pr... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
addq $0x20, %rdi
leaq -0x10(%rbp), %rsi
callq 0xcf0e0
movq -0x60(%rbp), %rdi
movq %rax, -0x18(%rbp)
addq $0x20, %rdi
callq 0xcf110
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x2... | /adityavs[P]ninja/src/build.cc |
BuildStatus::PrintStatus(Edge const*, BuildStatus::EdgeStatus) | void BuildStatus::PrintStatus(const Edge* edge, EdgeStatus status) {
if (config_.verbosity == BuildConfig::QUIET)
return;
bool force_full_command = config_.verbosity == BuildConfig::VERBOSE;
string to_print = edge->GetBinding("description");
if (to_print.empty() || force_full_command)
to_print = edge-... | pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x120(%rbp)
movq (%rax), %rax
cmpl $0x1, (%rax)
jne 0xc9cce
jmp 0xc9f12
movq -0x120(%rbp), %rax
movq (%rax), %rax
movl (%rax), %eax
subl $0x2, %eax
... | /adityavs[P]ninja/src/build.cc |
BuildStatus::BuildEdgeFinished(Edge*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int*, int*) | void BuildStatus::BuildEdgeFinished(Edge* edge,
bool success,
const string& output,
int* start_time,
int* end_time) {
int64_t now = GetTimeMillis();
++finished_edges_;
... | pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp # imm = 0x1F0
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1c0(%rbp)
callq 0xf1420
movq -0x1c0(%rbp), %rdi
mov... | /adityavs[P]ninja/src/build.cc |
BuildStatus::BuildLoadDyndeps() | void BuildStatus::BuildLoadDyndeps() {
// The DependencyScan calls EXPLAIN() to print lines explaining why
// it considers a portion of the graph to be out of date. Normally
// this is done before the build starts, but our caller is about to
// load a dyndep file during the build. Doing so may generate more
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0xd6c55(%rip), %rax # 0x1a1120
testb $0x1, (%rax)
je 0xca554
movq -0x48(%rbp), %rax
addq $0x50, %rax
movq %rax, -0x58(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x1b980
movq -0x50(%rbp)... | /adityavs[P]ninja/src/build.cc |
BuildStatus::FormatProgressStatus[abi:cxx11](char const*, BuildStatus::EdgeStatus) const | string BuildStatus::FormatProgressStatus(
const char* progress_status_format, EdgeStatus status) const {
string out;
char buf[32];
int percent;
for (const char* s = progress_status_format; *s != '\0'; ++s) {
if (*s == '%') {
++s;
switch (*s) {
case '%':
out.push_back('%');
... | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0xa0(%rbp)
movq %rdi, %rax
movq %rax, -0x98(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x1b760
movq -0x18(%rb... | /adityavs[P]ninja/src/build.cc |
Plan::AddSubTarget(Node const*, Node const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, std::set<Edge*, std::less<Edge*>, std::allocator<Edge*>>*) | bool Plan::AddSubTarget(const Node* node, const Node* dependent, string* err,
set<Edge*>* dyndep_walk) {
Edge* edge = node->in_edge();
if (!edge) { // Leaf node.
if (node->dirty()) {
string referenced;
if (dependent)
referenced = ", needed by '" + dependent->path() +... | pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp # imm = 0x1C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x18(%rbp), %rdi
callq 0x57880
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x... | /adityavs[P]ninja/src/build.cc |
Plan::ScheduleWork(std::_Rb_tree_iterator<std::pair<Edge* const, Plan::Want>>) | void Plan::ScheduleWork(map<Edge*, Want>::iterator want_e) {
if (want_e->second == kWantToFinish) {
// This edge has already been scheduled. We can get here again if an edge
// and one of its dependencies share an order-only input, or if a node
// duplicates an out edge (see https://github.com/ninja-buil... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq -0x8(%rbp), %rdi
callq 0xcf640
cmpl $0x2, 0x8(%rax)
jne 0xcb03c
jmp 0xcb0ed
leaq -0x8(%rbp), %rdi
callq 0xcf640
cmpl $0x1, 0x8(%rax)
jne 0xcb04d
jmp 0xcb06c
leaq 0x4c5f4(%rip), %rd... | /adityavs[P]ninja/src/build.cc |
Cleaner::CleanRules(int, char**) | int Cleaner::CleanRules(int rule_count, char* rules[]) {
assert(rules);
Reset();
PrintHeader();
LoadDyndeps();
for (int i = 0; i < rule_count; ++i) {
const char* rule_name = rules[i];
const Rule* rule = state_->bindings_.LookupRule(rule_name);
if (rule) {
if (IsVerbose())
printf("Ru... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xd7387
jmp 0xd73a6
leaq 0x407c7(%rip), %rdi # 0x117b55
leaq 0x4065b(%rip), %rsi # 0x1179f0
movl $0xfe, %edx
leaq 0x407ba(%rip), %... | /adityavs[P]ninja/src/clean.cc |
CLParser::FilterShowIncludes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | string CLParser::FilterShowIncludes(const string& line,
const string& deps_prefix) {
const string kDepsPrefixEnglish = "Note: including file: ";
const char* in = line.c_str();
const char* end = in + line.size();
const string& prefix = deps_prefix.empty() ? kDepsPrefixEnglish ... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x88(%rbp)
movq %rdi, %rax
movq %rax, -0x80(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x1b980
movq -0x78(%rbp), %rdx
leaq 0x4001d(%rip), %rsi # 0x117b8a
leaq -0x38(%rbp), %rdi
... | /adityavs[P]ninja/src/clparser.cc |
CLParser::FilterInputFilename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool CLParser::FilterInputFilename(string line) {
transform(line.begin(), line.end(), line.begin(), ToLowerASCII);
// TODO: other extensions, like .asm?
return EndsWith(line, ".c") ||
EndsWith(line, ".cc") ||
EndsWith(line, ".cxx") ||
EndsWith(line, ".cpp");
} | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0xf0(%rbp)
movq %rdi, -0x10(%rbp)
callq 0x1b410
movq -0xf0(%rbp), %rdi
movq %rax, -0x18(%rbp)
callq 0x1b2a0
movq -0xf0(%rbp), %rdi
movq %rax, -0x20(%rbp)
callq 0x1b410
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
m... | /adityavs[P]ninja/src/clparser.cc |
DyndepLoader::LoadDyndeps(Node*, DyndepFile*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) const | bool DyndepLoader::LoadDyndeps(Node* node, DyndepFile* ddf,
std::string* err) const {
// We are loading the dyndep file now so it is no longer pending.
node->set_dyndep_pending(false);
// Load the dyndep information from the file.
EXPLAIN("loading dyndep file '%s'", node->path().... | pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp # imm = 0x1D0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0xd9390
leaq 0xc86c8(%rip), %rax # 0x1a1120
testb $0x1, (%rax)... | /adityavs[P]ninja/src/dyndep.cc |
DyndepLoader::UpdateEdge(Edge*, Dyndeps const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) const | bool DyndepLoader::UpdateEdge(Edge* edge, Dyndeps const* dyndeps,
std::string* err) const {
// Add dyndep-discovered bindings to the edge.
// We know the edge already has its own binding
// scope because it has a "dyndep" binding.
if (dyndeps->restat_)
edge->env_->AddBinding("r... | pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
testb $0x1, 0x1(%rax)
je 0xd90d0
movq -0x18(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x130(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi,... | /adityavs[P]ninja/src/dyndep.cc |
DyndepParser::Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | bool DyndepParser::Parse(const string& filename, const string& input,
string* err) {
lexer_.Start(filename, input);
// Require a supported ninja_dyndep_version value immediately so
// we can exit before encountering any syntactic surprises.
bool haveDyndepVersion = false;
for (;;) {... | pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp # imm = 0x200
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x170(%rbp)
addq $0x18, %rax
movq %rax, -0x168(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0xbc1c0
movq -0x20... | /adityavs[P]ninja/src/dyndep_parser.cc |
DyndepParser::ParseEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | bool DyndepParser::ParseEdge(string* err) {
// Parse one explicit output. We expect it to already have an edge.
// We will record its dynamically-discovered dependency information.
Dyndeps* dyndeps = NULL;
{
EvalString out0;
if (!lexer_.ReadPath(&out0, err))
return false;
if (out0.empty())
... | pushq %rbp
movq %rsp, %rbp
subq $0x690, %rsp # imm = 0x690
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x4b8(%rbp)
movq $0x0, -0x20(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x4b0(%rbp)
callq 0xaa160
movq -0x4b8(%rbp), %rdi
movq -0x4b0(%rbp), %rsi
addq $0x18, %rdi
movq -0x... | /adityavs[P]ninja/src/dyndep_parser.cc |
DyndepParser::ParseLet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, EvalString*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | bool DyndepParser::ParseLet(string* key, EvalString* value, string* err) {
if (!lexer_.ReadIdent(key))
return lexer_.Error("expected variable name", err);
if (!ExpectToken(Lexer::EQUALS, err))
return false;
if (!lexer_.ReadVarValue(value, err))
return false;
return true;
} | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x68(%rbp)
addq $0x18, %rdi
movq -0x18(%rbp), %rsi
callq 0xfea70
testb $0x1, %al
jne 0xdc497
movq -0x68(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x78... | /adityavs[P]ninja/src/dyndep_parser.cc |
main | int main(int argc, char **argv)
{
char *URL;
int result;
#ifdef O_BINARY
# ifdef __HIGHC__
_setmode(stdout, O_BINARY);
# else
setmode(fileno(stdout), O_BINARY);
# endif
#endif
memory_tracking_init();
/*
* Setup proper locale from environment. This is needed to enable locale-
* specific behaviour... | pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x381(%rip), %rsi # 0x31cf
movl $0x6, %edi
callq 0x20a0
cmpl $0x1, %ebp
jg 0x2e81
movq 0x217c(%rip), %rax # 0x4fe0
movq (%rax), %rdi
leaq 0x4cf(%rip), %rsi # 0x333d
xorl %eax, %eax
callq 0x20f0
movl $0x1, %eax
addq $0x8, %rsp
popq %r... | /DarovskikhAndrei[P]curl/tests/libtest/first.c |
curlx_ultouc | unsigned char curlx_ultouc(unsigned long ulnum)
{
#ifdef __INTEL_COMPILER
# pragma warning(push)
# pragma warning(disable:810) /* conversion may lose significant bits */
#endif
DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR);
return (unsigned char)(ulnum & (unsigned long) CURL_MASK_UCHAR);
#ifdef __INTEL_... | movq %rdi, %rax
retq
| /DarovskikhAndrei[P]curl/lib/warnless.c |
curlx_sotouz | size_t curlx_sotouz(curl_off_t sonum)
{
#ifdef __INTEL_COMPILER
# pragma warning(push)
# pragma warning(disable:810) /* conversion may lose significant bits */
#endif
DEBUGASSERT(sonum >= 0);
return (size_t)(sonum & (curl_off_t) CURL_MASK_USIZE_T);
#ifdef __INTEL_COMPILER
# pragma warning(pop)
#endif
} | movq %rdi, %rax
retq
| /DarovskikhAndrei[P]curl/lib/warnless.c |
curlx_sitouz | size_t curlx_sitouz(int sinum)
{
#ifdef __INTEL_COMPILER
# pragma warning(push)
# pragma warning(disable:810) /* conversion may lose significant bits */
#endif
DEBUGASSERT(sinum >= 0);
return (size_t) sinum;
#ifdef __INTEL_COMPILER
# pragma warning(pop)
#endif
} | movslq %edi, %rax
retq
| /DarovskikhAndrei[P]curl/lib/warnless.c |
show_usage | void show_usage(int status) {
fprintf(stderr, "pullseq - a bioinformatics tool for manipulating fasta and fastq files\n");
fprintf(stderr, "\nVersion: %s Name lookup method: %s", PULLSEQ_VERSION, PULLSEQ_SORTMETHOD);
fprintf(stderr, "\n(Written by bct - copyright 2012-2015)\n");
fprintf(stderr, "\nUsag... | pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
movq 0x671f(%rip), %r14 # 0x8ff8
movq (%r14), %rcx
leaq 0x3779(%rip), %rdi # 0x605c
movl $0x47, %esi
movl $0x1, %edx
callq 0x2250
movq (%r14), %rdi
leaq 0x37a8(%rip), %rsi # 0x60a4
leaq 0x37d2(%rip), %rdx # 0x60d5
leaq 0x37d1(%rip), %rcx # 0x60db... | /bcthomas[P]pullseq/src/pullseq.c |
main | int main(int argc, char *argv[]) {
int c;
char *in = NULL,*names = NULL;
FILE *names_fp = NULL;
int min = -1, max = -1;
int names_from_stdin = 0;
int exclude = 0;
int count = 0;
int just_count = 0; /* flag for just counting the output */
int convert = 0;
int length = 50;
long value;
char *end;
char *aStrRe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl $0x0, 0x67f7(%rip) # 0x9360
movq (%rsi), %rax
movq %rax, 0x67e5(%rip) # 0x9358
cmpl $0x4, %edi
jl 0x31cb
movq %rsi, %r15
movl %edi, %r12d
movl $0x32, 0x4(%rsp)
movl $0xffffffff, 0x28(%rsp) # imm = 0xFFFFFFFF
leaq 0x3b01(%r... | /bcthomas[P]pullseq/src/pullseq.c |
print_fastq_seq | void print_fastq_seq(kseq_t *seq)
{
char *qual_str = NULL;
int i=0;
int l=strlen(seq->seq.s) + 1; /* sequence length */
if (seq->qual.s == NULL) { /* just use a default value for the quality code */
qual_str = (char *)malloc(sizeof(char) * l);
for (i=0;i<l;i++) {
qual_str[i] = (char)QUALITY_SCORE;... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %r14
movq 0x40(%rdi), %rbx
movq %rbx, %rdi
callq 0x20b0
movq 0x58(%r14), %r8
testq %r8, %r8
je 0x3a18
cmpq $0x0, 0x18(%r14)
movq 0x10(%r14), %rsi
je 0x3a6f
movq 0x28(%r14), %rdx
leaq 0x315f(%rip), %rdi # 0x6b65
movq %rbx, %rcx
xorl %eax, %eax
popq %... | /bcthomas[P]pullseq/src/output.c |
print_fasta | void print_fasta(FILE *fp, char *name, char *comment, char *seq, size_t colwidth)
{
int l = strlen(seq); /* sequence length */
int x,i=0;
char *seqbuf = NULL;
seqbuf = (char *)malloc(sizeof(char) * (colwidth + 1));
if (seqbuf == NULL) {
fprintf(stderr,"print_seq: out of memory for seqbuf!\n");
exit(EXIT_FAIL... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, (%rsp)
movq %rdi, %r14
movq %rcx, %rdi
callq 0x20b0
movq %rax, %r13
leaq 0x1(%r12), %rdi
callq 0x2180
testq %rax, %rax
je 0x3d12
movq %rax, %rbx
movslq %r13d, %rax
cmpq %r12, %rax
jbe 0... | /bcthomas[P]pullseq/src/output.c |
search_header | int search_header(pcre2_code *re, char *str) {
int pcreExecRet;
pcre2_match_data *match_data;
if (str == NULL) {
return 0;
}
match_data = pcre2_match_data_create_from_pattern(re, NULL); // init structure for result
/* run the match */
pcreExecRet = pcre2_match(re,
str,
strlen(str), // length of hea... | testq %rsi, %rsi
je 0x3d83
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorl %esi, %esi
callq 0x2260
movq %rax, %r15
movq %rbx, %rdi
callq 0x20b0
movq $0x0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %r15, %r9
callq 0x2200
movl %eax, ... | /bcthomas[P]pullseq/src/search_header.c |
parse_name | char *parse_name(char *line)
{
char *word;
char *delims = " \t\n"; /* space, tab, newline */
word = strtok(line, delims);
/* check if the name begins with '>' or '@' and drop it */
if ( *word == '>' || *word == '@' )
word++; /* move the word up one char */
return word;
} | pushq %rax
leaq 0x2da5(%rip), %rsi # 0x6bd9
callq 0x2220
movzbl (%rax), %ecx
cmpl $0x40, %ecx
je 0x3e46
cmpl $0x3e, %ecx
jne 0x3e49
incq %rax
popq %rcx
retq
| /bcthomas[P]pullseq/src/file_read.c |
getlx | int getlx(char **iline,FILE *fp)
{
char *line = *iline;
char *newline = NULL;
char *buf = NULL;
char *eol = NULL;
size_t capacity = sizeof(line); /* reasonable starting point for line length */
size_t remaining = capacity;
size_t used = 0;
buf = line; /* point buf -> line */
line[0] = '\0';
/* re... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rdx
movq (%rdi), %r15
movb $0x0, (%r15)
movq %r15, %rdi
movl $0x8, %esi
movq %rdx, (%rsp)
callq 0x2110
testq %rax, %rax
je 0x400f
movl $0x8, %r13d
movl $0x8, %r12d
movq %r15, %rbp
movq %r15, %rdi
movl $0xa, %esi
callq 0x20d0
testq ... | /bcthomas[P]pullseq/src/file_read.c |
pull_by_name | __KSEQ_READ(static)
/*
extern char const *progname;
extern int verbose_flag;
*/
int pull_by_name(char *input_file, FILE *names_fp, int min, int max, int length, int exclude, int convert, int just_count) {
gzFile fp;
int i,l,capacity=80;
int count=0,excluded=0;
int is_fasta = -1;
char *fasta_name;
char *line;
k... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movl %r8d, 0x14(%rsp)
movl %ecx, 0x10(%rsp)
movl %edx, 0xc(%rsp)
movq %rsi, %r15
movq %rdi, %r14
movl $0x50, %edi
callq 0x2180
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x42eb
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0... | /bcthomas[P]pullseq/src/pull_by_name.c |
kseq_read | __KSEQ_READ(static)
/*
extern char const *progname;
extern int verbose_flag;
*/
int pull_by_re(char *input_file, char *aStrRegex, int min, int max, int length, int exclude, int convert, int just_count) {
gzFile fp;
int count=0,l;
int excluded = 0;
int is_fasta = 0; /* assume fastq */
kseq_t *seq;
/* pcre2 vari... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq 0x68(%rdi), %rbx
cmpl $0x0, 0x60(%rdi)
jne 0x4b4a
movl 0x8(%rbx), %ecx
movl 0xc(%rbx), %eax
movl $0xffffffff, %ebp # imm = 0xFFFFFFFF
cmpl $0x0, 0x10(%rbx)
je 0x4aff
cmpl %eax, %ecx
jge 0x4dc1
movq (%rbx), %rsi
cmpl %eax,... | /bcthomas[P]pullseq/src/pull_by_re.c |
ks_getuntil2 | __KSEQ_READ(static)
/*
extern char const *progname;
extern int verbose_flag;
*/
int pull_by_re(char *input_file, char *aStrRegex, int min, int max, int length, int exclude, int convert, int just_count) {
gzFile fp;
int count=0,l;
int excluded = 0;
int is_fasta = 0; /* assume fastq */
kseq_t *seq;
/* pcre2 vari... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r14
testq %rcx, %rcx
je 0x4df6
movl $0x0, (%r15)
testl %r8d, %r8d
je 0x4e00
movq (%rbx), %rax
jmp 0x4e02
xorl %eax, %eax
movq %rax, (%rbx)
movl 0x8(%r14), %eax
movl 0xc(%r14), ... | /bcthomas[P]pullseq/src/pull_by_re.c |
ks_getuntil2 | __KSEQ_READ(static)
/*
extern char const *progname;
extern int verbose_flag;
*/
int pull_by_size(char *input_file, int min, int max,int length, int convert, int just_count) {
gzFile fp;
int count=0,l;
int hit = 0;
int excluded = 0;
int is_fasta = 0; /* assume fastq */
kseq_t *seq;
/* open fasta file */
fp = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r14
testq %rcx, %rcx
je 0x554e
movl $0x0, (%r15)
testl %r8d, %r8d
je 0x5558
movq (%rbx), %rax
jmp 0x555a
xorl %eax, %eax
movq %rax, (%rbx)
movl 0x8(%r14), %eax
movl 0xc(%r14), ... | /bcthomas[P]pullseq/src/pull_by_size.c |
cppnet::TimerEvent::OnTimer() | void TimerEvent::OnTimer() {
if (GetType() & ET_USER_TIMER) {
_timer_cb(GetData());
} else if (GetType() & ET_TIMER) {
auto sock = GetSocket();
auto rw_sock = std::dynamic_pointer_cast<RWSocket>(sock);
rw_sock->OnTimer();
} else {
LOG_ERROR("invalid timer type. type... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movzwl 0x10(%rdi), %eax
testb $0x10, %al
jne 0xaaee
testb $0x8, %al
jne 0xab14
callq 0x74d4
movzwl 0x10(%r14), %r8d
leaq 0xdaeb(%rip), %rsi # 0x185bb
leaq 0xdb45(%rip), %rcx # 0x1861c
movq %rax, %rdi
movl $0x1b, %edx
xorl %eax, %eax
addq $0x10,... | /caozhiyi[P]CppNet/cppnet/event/timer_event.cpp |
non-virtual thunk to cppnet::TimerEvent::OnTimer() | void TimerEvent::OnTimer() {
if (GetType() & ET_USER_TIMER) {
_timer_cb(GetData());
} else if (GetType() & ET_TIMER) {
auto sock = GetSocket();
auto rw_sock = std::dynamic_pointer_cast<RWSocket>(sock);
rw_sock->OnTimer();
} else {
LOG_ERROR("invalid timer type. type... | addq $-0x28, %rdi
jmp 0xaaa8
nop
| /caozhiyi[P]CppNet/cppnet/event/timer_event.cpp |
cppnet::BufferBlock::GetCanWriteLength() | uint32_t BufferBlock::GetCanWriteLength() {
if (_write > _read) {
return (uint32_t)((_buffer_end - _write) + (_read - _buffer_start));
} else if (_write < _read) {
return (uint32_t)((_read - _write));
} else {
if (_can_read) {
return 0;
} else {
... | movq 0x38(%rdi), %rax
movq 0x40(%rdi), %rcx
cmpq %rax, %rcx
jbe 0x1639d
addl 0x50(%rdi), %eax
addl 0x48(%rdi), %ecx
jmp 0x1639f
jae 0x163a2
subl %ecx, %eax
retq
xorl %eax, %eax
cmpb $0x0, 0x58(%rdi)
jne 0x163a1
movl 0x30(%rdi), %eax
retq
| /caozhiyi[P]CppNet/common/buffer/buffer_block.cpp |
fmt::v9::detail::format_dragon(fmt::v9::detail::basic_fp<unsigned __int128>, unsigned int, int, fmt::v9::detail::buffer<char>&, int&) | FMT_CONSTEXPR20 inline void format_dragon(basic_fp<uint128_t> value,
unsigned flags, int num_digits,
buffer<char>& buf, int& exp10) {
bigint numerator; // 2 * R in (FPP)^2.
bigint denominator; // 2 * S in (FPP)^2.
// lower and... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp # imm = 0x318
movq %rcx, %r13
movq %rdx, 0x8(%rsp)
movl %esi, %ebp
leaq 0x350(%rsp), %rbx
xorl %eax, %eax
leaq 0x58(%rsp), %rcx
movq %rax, 0x10(%rcx)
leaq 0xab097(%rip), %rdx # 0xd12a0
movq %rdx, (%rcx)
movl $0x20, %esi
l... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::operator<<=(int) | bigint& operator<<=(int shift) {
FMT_ASSERT(shift >= 0, "");
exp_ += shift / bigit_bits;
shift %= bigit_bits;
if (shift == 0) return *this;
bigit carry = 0;
for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
bigit c = bigits_[i] >> (bigit_bits - shift);
bigits_[i] = (bigits_[i] << ... | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leal 0x1f(%rsi), %eax
testl %esi, %esi
cmovnsl %esi, %eax
movl %eax, %ecx
sarl $0x5, %ecx
addl %ecx, 0xa8(%rdi)
andl $-0x20, %eax
subl %eax, %esi
je 0x26a02
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0x26a02
movq 0x8(%rbx), %rdi
movl $0x20, %eax
subl %esi, %eax
xorl %r8d,... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::add_compare(fmt::v9::detail::bigint const&, fmt::v9::detail::bigint const&, fmt::v9::detail::bigint const&) | FMT_CONSTEXPR20 int num_bigits() const {
return static_cast<int>(bigits_.size()) + exp_;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0xa8(%rdi), %ecx
movl 0x10(%rdi), %r8d
addl %ecx, %r8d
movl 0xa8(%rsi), %r9d
movl 0x10(%rsi), %r10d
addl %r9d, %r10d
cmpl %r10d, %r8d
movl %r10d, %eax
cmovgl %r8d, %eax
movl 0x10(%rdx), %r14d
movl 0xa8(%rdx), %r11d
leal (%r11,%r14), %ebx
leal 0x1(%r... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::divmod_assign(fmt::v9::detail::bigint const&) | FMT_CONSTEXPR20 int divmod_assign(const bigint& divisor) {
FMT_ASSERT(this != &divisor, "");
if (compare(*this, divisor) < 0) return 0;
FMT_ASSERT(divisor.bigits_[divisor.bigits_.size() - 1u] != 0, "");
align(divisor);
int quotient = 0;
do {
subtract_aligned(divisor);
++quotient;
... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x26c8d
testl %eax, %eax
js 0x26c84
movq %r14, %rdi
movq %rbx, %rsi
callq 0x27274
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x27316
incl %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x26c8d
testl %eax, %eax
jns 0x26c66
jmp 0x26c86
xorl %eb... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::compare(fmt::v9::detail::bigint const&, fmt::v9::detail::bigint const&) | constexpr auto size() const noexcept -> size_t { return size_; } | movq 0x10(%rdi), %r8
movl 0xa8(%rdi), %eax
addl %r8d, %eax
movl 0x10(%rsi), %ecx
movl 0xa8(%rsi), %edx
addl %ecx, %edx
cmpl %edx, %eax
jne 0x26ce3
movl %r8d, %edx
subl %ecx, %r8d
xorl %eax, %eax
testl %r8d, %r8d
cmovgl %r8d, %eax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %rsi
cmpl %edx, %eax
jge 0x26ceb
decl %ecx
movl -0x4(... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/core.h |
fmt::v9::basic_memory_buffer<unsigned int, 32ul, std::allocator<unsigned int>>::grow(unsigned long) | FMT_CONSTEXPR20 void basic_memory_buffer<T, SIZE, Allocator>::grow(
size_t size) {
detail::abort_fuzzing_if(size > 5000);
const size_t max_size = std::allocator_traits<Allocator>::max_size(alloc_);
size_t old_capacity = this->capacity();
size_t new_capacity = old_capacity + old_capacity / 2;
if (size > ne... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r14
addq $0xa0, %rdi
movq 0x18(%r14), %rbx
movq %rbx, %r15
shrq %r15
addq %rbx, %r15
cmpq %rsi, %r15
jae 0x26d2a
movq %rsi, %r15
jmp 0x26d44
movq %r15, %rax
shrq $0x3d, %rax
je 0x26d44
movabsq $0x1fffffffffffffff, %r15 # imm = 0x1FFFFFFFFFFFFFFF
cmpq %r... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
void fmt::v9::detail::bigint::assign<unsigned __int128, 0>(unsigned __int128) | FMT_CONSTEXPR20 void assign(UInt n) {
size_t num_bigits = 0;
do {
bigits_[num_bigits++] = static_cast<bigit>(n);
n >>= bigit_bits;
} while (n != 0);
bigits_.resize(num_bigits);
exp_ = 0;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
xorl %r14d, %r14d
movl %esi, (%rax,%r14,4)
shrdq $0x20, %rdx, %rsi
incq %r14
shrq $0x20, %rdx
movq %rsi, %rcx
orq %rdx, %rcx
jne 0x26dca
movq 0x18(%rbx), %rax
leaq -0x1(%r14), %rcx
cmpq %rcx, %rax
ja 0x26dfe
movq (%rbx), %rax
movq %rbx, %rdi
movq %r1... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
void fmt::v9::detail::bigint::assign<unsigned long, 0>(unsigned long) | FMT_CONSTEXPR20 void assign(UInt n) {
size_t num_bigits = 0;
do {
bigits_[num_bigits++] = static_cast<bigit>(n);
n >>= bigit_bits;
} while (n != 0);
bigits_.resize(num_bigits);
exp_ = 0;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
xorl %r14d, %r14d
movl %esi, (%rax,%r14,4)
incq %r14
shrq $0x20, %rsi
jne 0x26e2a
movq 0x18(%rbx), %rax
leaq -0x1(%r14), %rcx
cmpq %rcx, %rax
ja 0x26e53
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x18(%rbx), %rax
cmpq %r14, ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::square() | FMT_CONSTEXPR20 void square() {
int num_bigits = static_cast<int>(bigits_.size());
int num_result_bigits = 2 * num_bigits;
basic_memory_buffer<bigit, bigits_capacity> n(std::move(bigits_));
bigits_.resize(to_unsigned(num_result_bigits));
auto sum = uint128_t();
for (int bigit_index = 0; bigit_in... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %r15
leal (%r15,%r15), %r14d
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x26ffa
movq 0x18(%rbx), %rax
cmpq %r14, %rax
jae 0x26eaf
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x18(%rbx)... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::align(fmt::v9::detail::bigint const&) | FMT_CONSTEXPR20 void align(const bigint& other) {
int exp_difference = exp_ - other.exp_;
if (exp_difference <= 0) return;
int num_bigits = static_cast<int>(bigits_.size());
bigits_.resize(to_unsigned(num_bigits + exp_difference));
for (int i = num_bigits - 1, j = i + exp_difference; i >= 0; --i, --... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl 0xa8(%rdi), %r15d
subl 0xa8(%rsi), %r15d
jle 0x27309
movq %rdi, %rbx
movl 0x10(%rdi), %r12d
leal (%r15,%r12), %r14d
movq 0x18(%rdi), %rax
cmpq %r14, %rax
jae 0x272af
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x18(%rbx), %rax
cmpq %r1... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_ptr<char, fmt::v9::appender, unsigned long>(fmt::v9::appender, unsigned long, fmt::v9::basic_format_specs<char> const*) | auto write_ptr(OutputIt out, UIntPtr value,
const basic_format_specs<Char>* specs) -> OutputIt {
int num_digits = count_digits<4>(value);
auto size = to_unsigned(num_digits) + size_t(2);
auto write = [=](reserve_iterator<OutputIt> it) {
*it++ = static_cast<Char>('0');
*it++ = static_cast<Ch... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq %rsi, %rcx
movq %rsi, %rax
shrq $0x4, %rax
incq %r15
cmpq $0xf, %rcx
movq %rax, %rcx
ja 0x28115
movq %r14, (%rsp)
movl %r15d, 0x8(%rsp)
testq %rdx, %rdx
je 0x28150
addq $0x2, %r15
movq %rsp, %r8
movq %rbx, %rdi
movq... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.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.