name stringlengths 1 4.98k | code stringlengths 61 2.07M | asm stringlengths 57 12.9M | file stringlengths 18 192 |
|---|---|---|---|
symbol_table::openScope() | void symbol_table::openScope()
{
Scope *s = new Scope();
s->level = curLevel;
s->outer = curScope;
curScope = s;
curLevel++;
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x20, %edi
callq 0x62e0
movq %rax, %rdi
movq %rdi, -0x10(%rbp)
xorl %esi, %esi
movl $0x20, %edx
callq 0x6180
movq -0x10(%rbp), %rdi
callq 0x20b70
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movl 0x2ae5c(%rip), %ecx # 0x4b038
movq -0x8(%rbp), %rax
movl %ecx, 0x18(%r... | Davidc2525[P]Leaf/compiler/symb_tab/symbol_table.cpp |
symbol_table::init() | void symbol_table::init()
{
cout << "; iniciando tabla de simbolos" << endl;
//PROCESS::Native * n = PROCESS::Native::getInstance();
//Obj *o;
cm_sp = 0;
curScope = new Scope();
curScope->outer = NULL;
curLevel = 0;
currMethodStack = (Obj **)malloc(sizeof(Obj *) * 100);
//predeclare... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq 0x29d4e(%rip), %rdi # 0x49fd0
leaq 0x15b54(%rip), %rsi # 0x35ddd
callq 0x62c0
movq %rax, %rdi
movq 0x29d18(%rip), %rsi # 0x49fb0
callq 0x6320
movl $0x0, 0x2ade1(%rip) # 0x4b088
movl $0x20, %edi
callq 0x62e0
movq %rax, %rdi
movq %rdi, -0x28(%rbp)
xorps %xm... | Davidc2525[P]Leaf/compiler/symb_tab/symbol_table.cpp |
Register::Register(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | Register::Register(int id, string *name, int bits, string *word)
{
this->id = id;
this->name = name;
this->bits = bits;
this->word = word;
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movb $0x1, 0x20(%rax)
movl -0xc(%rbp), %ecx
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl -0x1c(%rbp), %ecx
movl %ec... | Davidc2525[P]Leaf/compiler/registers/register.cpp |
Register::Register(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool) | Register::Register(int id, string *name, int bits, string *word, bool reservable)
{
this->id = id;
this->name = name;
this->bits = bits;
this->word = word;
this->reservable = reservable;
} | pushq %rbp
movq %rsp, %rbp
movb %r9b, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movb $0x1, 0x20(%rax)
movl -0xc(%rbp), %ecx
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
... | Davidc2525[P]Leaf/compiler/registers/register.cpp |
Register::dump() | const char *Register::dump()
{
string *d_info = new string("Register@{");
d_info->append("name: ");
d_info->append(name->c_str());
d_info->append(",bits: ");
d_info->append(to_string(bits));
d_info->append("}");
return d_info->c_str();
} | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x58(%rbp)
movq %rax, -0x60(%rbp)
movb $0x1, -0x25(%rbp)
leaq -0x11(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x6500
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rdx
leaq ... | Davidc2525[P]Leaf/compiler/registers/register.cpp |
RegisterManager::addProvider(RegisterProvider*) | int RegisterManager::addProvider(RegisterProvider *provider)
{
int current = this->ids;
this->ids++;
providers[current] = provider;
return current;
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %ecx
movl %ecx, -0x14(%rbp)
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movq -0x10(%rbp), %rdx
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x14(%rbp), %eax
popq %rbp
retq
n... | Davidc2525[P]Leaf/compiler/registers/register_manager.cpp |
RegisterManager::getProviderBy(int) | RegisterProvider *RegisterManager::getProviderBy(int arc)
{
RegisterProvider *provider = NULL;
for (int p = 0; p < ids; p++)
{
if(arc==providers[p]->getArc()){
provider = providers[p];
return provider;
}
}
if(provider == NULL){
throw "Proveedor no exi... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x30(%rbp), %rcx
movl -0x24(%rbp), %eax
cmpl (%rcx), %eax
jge 0x216a4
movq -0x30(%rbp), %rax
movl -0x14(%rbp), %ecx
movl %ecx, -0x34... | Davidc2525[P]Leaf/compiler/registers/register_manager.cpp |
RegisterProvider::lessBussy() | Register *RegisterProvider::lessBussy()
{
Register *less = NULL;
int gtr = 1000000;
for (auto x = registers_.begin(); x != registers_.end(); x++)
{
if ((*reservers)[(*x)->id]->size() < gtr && (*x)->bits == getArc())
{
gtr = (*reservers)[(*x)->id]->size();
less = g... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq $0x0, -0x10(%rbp)
movl $0xf4240, -0x14(%rbp) # imm = 0xF4240
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, -0x28(%rbp)
leaq -0x20(%... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::get(int) | Register *RegisterProvider::get(int id)
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
if (((Register *)*x)->id == id)
{
int dis = distance(it, x);
found ... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
movq $0x0, -0x18(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x58(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, -... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::get_by_name2(char*) | Register *RegisterProvider::get_by_name2(char *name)
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
if (0 == strcmp(name, ((Register *)*x)->getName()))
{
int dis = di... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
movq $0x0, -0x18(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x58(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, ... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::free_by_name2(char*) | void RegisterProvider::free_by_name2(char *name)
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
if (0 == strcmp(name, ((Register *)*x)->getName()))
{
(*reservers)[(*x... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
movq $0x0, -0x18(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x40(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, ... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::reserve() | Register *RegisterProvider::reserve()
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
//cout<<"bussi: "<<isBussy((*x)->id)<<" reg: "<<(*x)->getName()<<" arc: "<< getArc()<<endl;
i... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
movq $0x0, -0x10(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x58(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, -0x28(%rbp)
leaq -0x20(... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::reserve_by_size(int) | Register *RegisterProvider::reserve_by_size(int size)
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
//cout<<"bussi: "<<isBussy((*x)->id)<<" reg: "<<(*x)->getName()<<" arc: "<< getArc()<... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
movq $0x0, -0x18(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x60(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, -... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
RegisterProvider::get_by_size(int) | Register *RegisterProvider::get_by_size(int size)
{
Register *found = NULL;
vector<Register *>::iterator it = registers_.begin();
for (std::vector<Register *>::iterator x = it; x != registers_.end(); x++)
{
//cout<<"bussi: "<<isBussy((*x)->id)<<" reg: "<<(*x)->getName()<<" arc: "<< getArc()<<end... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
movq $0x0, -0x18(%rbp)
addq $0x8, %rdi
callq 0x22330
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x60(%rbp), %rdi
addq $0x8, %rdi
callq 0x223a0
movq %rax, -... | Davidc2525[P]Leaf/compiler/registers/register_provider.cpp |
X86_64RegisterProvider::X86_64RegisterProvider() | X86_64RegisterProvider::X86_64RegisterProvider()
{
//this->registers = (Register **)malloc(sizeof(Register *) * 100);
string *byte = new string("BYTE"); //8
string *word = new string("WORD"); //16
string *dword = new string("DWORD"); //32
string *qword = new string("QWORD"); //64
int count... | pushq %rbp
movq %rsp, %rbp
subq $0xc60, %rsp # imm = 0xC60
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x3e0(%rbp)
callq 0x28f30
movq -0x3e0(%rbp), %rax
leaq 0x24b63(%rip), %rcx # 0x49450
movq %rcx, (%rax)
movl $0x40, 0x30(%rax)
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x3d8(%rbp)
jmp 0x2490... | Davidc2525[P]Leaf/compiler/registers/x86_64_register_provider.cpp |
X86_32RegisterProvider::X86_32RegisterProvider() | X86_32RegisterProvider::X86_32RegisterProvider()
{
string *byte = new string("BYTE"); //8
string *word = new string("WORD"); //16
string *dword = new string("DWORD"); //32
//string *qword = new string("QWORD"); //64
int counter = 0;
registers_.push_back(new Register(counter++, new string("... | pushq %rbp
movq %rsp, %rbp
subq $0x560, %rsp # imm = 0x560
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x1d0(%rbp)
callq 0x28f30
movq -0x1d0(%rbp), %rax
leaq 0x1efdb(%rip), %rcx # 0x49508
movq %rcx, (%rax)
movl $0x20, 0x30(%rax)
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x1c8(%rbp)
jmp 0x2a54... | Davidc2525[P]Leaf/compiler/registers/x86_32_register_provider.cpp |
CODE_GENERATOR::x86_64::StructEq(Struct*, Struct*) | bool StructEq(Struct *o1, Struct *o2)
{
if (o1->elemType != NULL && o2->elemType != NULL)
{
if (o1->kind == o2->kind)
{
StructEq(o1->elemType, o2->elemType);
}
else
{
return false;
}
}
else
{
if (o1->elemType == NULL && ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x2c2c5
movq -0x18(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x2c2c5
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
movq -0x18(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jne 0x2c2bd
movq -0x10(%rbp)... | Davidc2525[P]Leaf/compiler/backend/x86_64/x86_64.cpp |
CODE_GENERATOR::x86_64::DeclFuncNode::load(int) | void DeclFuncNode::load(int R)
{
RegisterProvider *rp = RegisterManager::getInstance()->getProviderBy(64);
loadOpt->effectivea->parts.push_back(new EffectivePart(rp->reserve_by_size(128)->id));
loadOpt->effectivea->parts.push_back(new EffectivePart(rp->reserve_by_size(32)->id));
loadOpt->effectivea->pa... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
callq 0x21500
movq %rax, %rdi
movl $0x40, %esi
callq 0x21620
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, -0x18(%rbp)
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
addq $0x8, %rax
movq ... | Davidc2525[P]Leaf/compiler/backend/x86_64/x86_64.cpp |
CODE_GENERATOR::x86_64::StatementBlockNode::load(int) | void StatementBlockNode::load(int R)
{
for (int x = 0; x < s; x++)
{
//cout<<stms[x]<<endl;
stms[x]->load(1);
if (!stms[x]->obj->_extern)
cout << endl;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x10(%rbp)
movq -0x18(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x48(%rcx), %eax
jge 0x2c72e
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rc... | Davidc2525[P]Leaf/compiler/backend/x86_64/x86_64.cpp |
CODE_GENERATOR::x86_64::x86_64Linux::GenerateCode(NODE*, ExternSymbols*, StringLiterals*) | void x86_64Linux::GenerateCode(AST A, ExternSymbols *es, StringLiterals *sl)
{
cout << ";-----------------------------" << endl;
cout << "section .data" << endl;
sl->dump();
cout << "formato db \"%d\",10,0" << endl;
cout << "formato_real db \"%f\",10,0" << endl;
cout << "formato_string db \"%s\"... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq 0x1d5e1(%rip), %rdi # 0x49fd0
leaq 0x95ac(%rip), %rsi # 0x35fa2
callq 0x62c0
movq %rax, %rdi
movq 0x1d5ab(%rip), %rsi # 0x49fb0
callq 0x6320
movq 0x1d5bf(%rip), %rdi ... | Davidc2525[P]Leaf/compiler/backend/x86_64/x86_64.cpp |
x86_64_linux_generator_visitor::init(LEAF::AST::NODEU*) | void x86_64_linux_generator_visitor::init(ASTU start)
{
cout << "x86_64 linux visitor" << endl;
if (start == nullptr)
return;
assembly->get_program()->section(Sections::global)->add(new DInstruccion("global main"));
assembly->get_program()->section(Sections::_extern)->add(new DInstruccion("exter... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq 0x1bf91(%rip), %rdi # 0x49fd0
leaq 0x80d2(%rip), %rsi # 0x36118
callq 0x62c0
movq %rax, %rdi
movq 0x1bf5b(%rip), %rsi # 0x49fb0
callq 0x6320
cmpq $0x0, -0x10(%rbp)
jne ... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::BinOp*) | void x86_64_linux_generator_visitor::visit(BinOp *bin)
{
UPDATE_STATICS
bin->l->accept(this);
Register *current = this->reg;
reg = rp->reserve();
bin->r->accept1(this);
this->op_reg = reg;
reg = current;
this->ax = bin->op;
bin->r->accept2(this);
rp->free(op_reg->id);
thi... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x20(%rbp)
movl 0x8(%rsi), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsi)
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *(%rax)
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rcx
movq %... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit2(LEAF::AST::BinOp*) | void x86_64_linux_generator_visitor::visit2(BinOp *bin)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
if (this->ax == Store)
throw "can´t store here";
if (this->ax == Plus)
{
DInstruccion *i = new DInstruccion("add");
i->add_operand(new Reg... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, %rcx
movq -0x38(%rbp), %rax
movq %rc... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::FuncDeclStatementNode*) | void x86_64_linux_generator_visitor::visit(FuncDeclStatementNode *func)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
//label of name function
st->add(new Label((char *)func->name->c_str()));
//preamble
DInstruccion *push_rbp = new DInstruccion("push");
p... | pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movl 0x8(%rax), %ecx
incl %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, -0x18(%rbp)
movq... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::BlockStatemntNode*) | void x86_64_linux_generator_visitor::visit(BlockStatemntNode *block)
{
UPDATE_STATICS
//cout<<"block load : "<<block->s<<endl;
vector<ASTU>::iterator x = block->nodos.begin();
for (; x != block->nodos.end(); x++)
{
(*x)->accept(this);
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0xdd70
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0xdc00... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::AssignStatement*) | void x86_64_linux_generator_visitor::visit(AssignStatement *as)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
Register *current_reg = this->reg;
this->ax = Load;
as->right->accept(this);
this->ax = Store;
as->left->accept2(this);
// rp->free(reg->... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq -0x28(%rbp), %rsi
movq %rax, -0x18(%rbp)
m... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit2(LEAF::AST::Ident*) | void x86_64_linux_generator_visitor::visit2(Ident *ident)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
if (this->ax == Load)
{
if(ident->obj->type->kind == symbol_table::floatType->kind){
}
DInstruccion *i = new DInstruccion("mov");
... | pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp # imm = 0x140
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, %rcx
movq ... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit2(LEAF::AST::IntConst*) | void x86_64_linux_generator_visitor::visit2(IntConst *number)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
if (this->ax == Load)
{
DInstruccion *i = new DInstruccion("mov");
InmediateIntOperand *ops = new InmediateIntOperand(number->value);
Reg... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, %rcx
movq -0x60(%rbp), %rax
movq %rc... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::FloatConst*) | void x86_64_linux_generator_visitor::visit(FloatConst *number)
{
UPDATE_STATICS
if (!number->in_data)
{
string *label_data = new string(number->adr_label->c_str());
label_data->append(" dq ");
char *chars_val = new char[20];
sprintf(chars_val, "%.7lf", number->value);
... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
testb $0x1, 0x30(%rax)
jne 0x2f8fc
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x58(%rbp)
movq %rax, -0x60(... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit2(LEAF::AST::FloatConst*) | void x86_64_linux_generator_visitor::visit2(FloatConst *number)
{
UPDATE_STATICS
if (!number->in_data)
{
string *label_data = new string(number->adr_label->c_str());
label_data->append(" dq ");
char *chars_val = new char[20];
sprintf(chars_val, "%.7lf", number->value);
... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
testb $0x1, 0x30(%rax)
jne 0x2fb18
movl $0x20, %edi
callq 0x62e0
movq %rax, -0x... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::TryStatementNode*) | void x86_64_linux_generator_visitor::visit(TryStatementNode *_try_)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
DInstruccion *i = new DInstruccion(";start try ");
i->add_operand(new RegisterOperand(_try_->end_label->c_str()));
st->add(i);
//prepare try inst... | pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp # imm = 0x2A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movl 0x8(%rax), %ecx
incl %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, -0x18(%rbp)
movl... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::CatchStatementNode*) | void x86_64_linux_generator_visitor::visit(CatchStatementNode *_catch_)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
DInstruccion *i = new DInstruccion(";start catch");
st->add(i);
Label *try_label = new Label((char *)_catch_->start_label->c_str());
st->add(... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movl 0x8(%rax), %ecx
incl %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, -0x18(%rbp)
movl $0x28, %edi
callq 0x62e0
... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
x86_64_linux_generator_visitor::visit(LEAF::AST::ThrowStatementNode*) | void x86_64_linux_generator_visitor::visit(ThrowStatementNode *_t_)
{
UPDATE_STATICS
Section *st = assembly->get_program()->section(Sections::text);
DInstruccion *i = new DInstruccion(";throw");
st->add(i);
i = new DInstruccion("_pop_");
st->add(i);
i = new DInstruccion("mov");
i->add_... | pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl 0x8(%rax), %ecx
incl %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rax), %rdi
callq 0xb010
movq %rax, %rdi
movl $0x2, %esi
callq 0x1c3c0
movq %rax, -0x18(%rbp)
movl... | Davidc2525[P]Leaf/compiler/backend/x86_64_linux/generator.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::draw(std::vector<LEAF::HELPER::GRAPH::Edge*, std::allocator<LEAF::HELPER::GRAPH::Edge*>>*) | void ClassHandler::draw(vector<Edge *> *list)
{
string st("");
vector<Edge *>::iterator x = list->begin();
for (; x != list->end(); x++)
{
st.append(" ");
st.append((*x)->nodea->name->c_str());
if ((*x)->rel == IMPLEMENT)
{
st.append(" --> ");
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x6500
movq -0x68(%rbp), %rdx
leaq 0x39e5(%rip), %rsi # 0x35b6d
leaq -0x30(%rbp), %rdi
callq 0xada0
jmp 0x32193
leaq -0x31(%rbp), %rdi
callq 0x6340
movq -0x10(%rbp), %rdi
cal... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::implement(LEAF::HELPER::GRAPH::Node*, LEAF::HELPER::GRAPH::Node*) | void ClassHandler::implement(Node *a, Node *b)
{
if (a->type == CLASS && b->type == INTERFACE)
{
}
else
{
if (b->type == CLASS)
{
cout << "no puede implementar una clase: " << *a->name << " implement " << *b->name << "(class)" << endl;
}
cout << "no puede ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x2, 0x8(%rax)
jne 0x32335
movq -0x18(%rbp), %rax
cmpl $0x1, 0x8(%rax)
jne 0x32335
jmp 0x323ee
movq -0x18(%rbp), %rax
cmpl $0x2, 0x8(%... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::check_implement(LEAF::HELPER::GRAPH::Node*, LEAF::HELPER::GRAPH::Node*) | bool ClassHandler::check_implement(Node *a, Node *b)
{
if (0 == strcmp(a->name->c_str(), b->name->c_str()))
{
throw "no se puede implementar asi misma";
}
if (this->cyclic(b, a))
{
throw "cyclic error (I)";
}
return true;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x6120
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rdi
callq 0x6120
movq -0x20(%rbp), %rdi
movq %rax... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::extend(LEAF::HELPER::GRAPH::Node*, LEAF::HELPER::GRAPH::Node*) | void ClassHandler::extend(Node *a, Node *b)
{
if (a->type == CLASS && b->type == CLASS)
{
}
else
{
if (b->type == CLASS)
{
cout << "no puede heredar: " << *a->name << " -> " << *b->name << "(class)" << endl;
}
cout << "no puede heredar: " << *a->name << " ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x2, 0x8(%rax)
jne 0x32565
movq -0x18(%rbp), %rax
cmpl $0x2, 0x8(%rax)
jne 0x32565
jmp 0x3261e
movq -0x18(%rbp), %rax
cmpl $0x2, 0x8(%... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::check_hierarchy(LEAF::HELPER::GRAPH::Node*, LEAF::HELPER::GRAPH::Node*) | bool ClassHandler::check_hierarchy(Node *a, Node *b)
{
if (0 == strcmp(a->name->c_str(), b->name->c_str()))
{
throw "no se puede heredar asi misma";
}
if (this->cyclic(b, a))
{
throw "cyclic error";
}
return true;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x6120
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rdi
callq 0x6120
movq -0x20(%rbp), %rdi
movq %rax... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::FEACTURE::CLASS::ClassHandler::cyclic(LEAF::HELPER::GRAPH::Node*, LEAF::HELPER::GRAPH::Node*) | bool ClassHandler::cyclic(Node *a, Node *b)
{
bool p = false;
vector<Edge *>::iterator x = edges->begin();
for (; x != edges->end(); x++)
{
if ((0 == strcmp((*x)->nodea->name->c_str(), a->name->c_str())) && (0 == strcmp((*x)->nodeb->name->c_str(), b->name->c_str())))
{
p = t... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
movb $0x0, -0x21(%rbp)
movq (%rax), %rdi
callq 0x32bc0
movq %rax, -0x30(%rbp)
movq -0x98(%rbp), %rax
movq (%rax), %rdi
callq 0x32c30
movq %rax, -0x38(%rbp)
leaq ... | Davidc2525[P]Leaf/compiler/feactures/class/class_handler.cpp |
LEAF::HELPER::GRAPH::Graph::filter_path_from_by_nodea(LEAF::HELPER::GRAPH::Node*, std::vector<LEAF::HELPER::GRAPH::Edge*, std::allocator<LEAF::HELPER::GRAPH::Edge*>>*) | vector<Edge *> *Graph::filter_path_from_by_nodea(Node *n, vector<Edge *> *list)
{
vector<Edge *> *rf = new vector<Edge *>;
vector<Edge *>::iterator x = list->begin();
for (; x != list->end(); x++)
{
if (0 == strcmp((*x)->nodea->name->c_str(), n->name->c_str()))
{
rf->push_ba... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x18, %edi
callq 0x62e0
movq %rax, %rdi
movq %rdi, -0x40(%rbp)
callq 0x32cc0
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x32bc0
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %... | Davidc2525[P]Leaf/compiler/helper/graphs/graph.cpp |
LEAF::HELPER::GRAPH::Graph::path_from(LEAF::HELPER::GRAPH::Node*, std::vector<LEAF::HELPER::GRAPH::Edge*, std::allocator<LEAF::HELPER::GRAPH::Edge*>>*) | void Graph::path_from(Node *a, vector<Edge *> *r)
{
vector<Edge *>::iterator x = edges->begin();
for (; x != edges->end(); x++)
{
if (0 == strcmp((*x)->nodea->name->c_str(), a->name->c_str()))
{
r->push_back((*x));
path_from((*x)->nodeb, r);
}
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq (%rax), %rdi
callq 0x32bc0
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rdi
callq 0x32c30
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0... | Davidc2525[P]Leaf/compiler/helper/graphs/graph.cpp |
main | int main(int argc, char const *argv[])
{
auto num = cplusplus_primer::make_shared<int>(42);
std::cout << *num << std::endl;
// basic_string(size_type count, CharT ch, const Allocator& alloc = Allocator());
auto str = cplusplus_primer::make_shared<std::string>(10, 'c');
std::cout << *str << std::endl;
auto foo =... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x2a, -0x24(%rbp)
leaq -0x20(%rbp), %rdi
movq %rdi, -0x78(%rbp)
leaq -0x24(%rbp), %rsi
callq 0x2400
movq -0x78(%rbp), %rdi
callq 0x2470
movl (%rax), %esi
movq 0x6d15(%rip), %rdi # 0x8fd8
callq 0x211... | iZhangHui[P]CppPrimer/CH16_TemplatesAndGenericProgramming/exercises/make_shared.cc |
main | int main(){
bench(bench_lock);
bench(bench_lock_guard);
bench(bench_atomic);
return 0;
} | pushq %rax
movl $0x0, 0x4(%rsp)
callq 0x23f0
callq 0x2680
callq 0x28f0
callq 0x2b60
callq 0x2dd0
callq 0x3040
callq 0x32b0
callq 0x3520
callq 0x3790
callq 0x3a00
callq 0x3c70
callq 0x3ee0
callq 0x4150
callq 0x43c0
callq 0x4630
callq 0x48a0
callq 0x4b20
callq 0x4e40
callq 0x5160
callq 0x5480
callq 0x57a0
callq 0x5ac0
ca... | wichtounet[P]articles/src/threads/benchmark/bench.cpp |
void bench_lock<1>() | void bench_lock(){
std::mutex mutex;
unsigned long throughput = 0;
for(int i = 0; i < REPEAT; ++i){
std::vector<std::thread> threads;
int counter = 0;
Clock::time_point t0 = Clock::now();
for(int i = 0; i < Threads; ++i){
threads.push_back(std::thread([&](){
... | subq $0xe8, %rsp
leaq 0xc0(%rsp), %rdi
callq 0x6420
movq $0x0, 0xb8(%rsp)
movl $0x0, 0xb4(%rsp)
cmpl $0x5, 0xb4(%rsp)
jge 0x2606
leaq 0x98(%rsp), %rdi
callq 0x6430
movl $0x0, 0x94(%rsp)
callq 0x2030
movq %rax, 0x88(%rsp)
movl $0x0, 0x84(%rsp)
cmpl $0x1, 0x84(%rsp)
jge 0x24f3
leaq 0xc0(%rsp), %rax
movq %rax, 0x68(%rsp)
... | wichtounet[P]articles/src/threads/benchmark/bench.cpp |
void bench_lock_guard<1>() | void bench_lock_guard(){
std::mutex mutex;
unsigned long throughput = 0;
for(int i = 0; i < REPEAT; ++i){
int counter = 0;
std::vector<std::thread> threads;
Clock::time_point t0 = Clock::now();
for(int i = 0; i < Threads; ++i){
threads.push_back(std::thread([&... | subq $0xd8, %rsp
leaq 0xb0(%rsp), %rdi
callq 0x6420
movq $0x0, 0xa8(%rsp)
movl $0x0, 0xa4(%rsp)
cmpl $0x5, 0xa4(%rsp)
jge 0x3991
movl $0x0, 0xa0(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x6430
callq 0x2030
movq %rax, 0x80(%rsp)
movl $0x0, 0x7c(%rsp)
cmpl $0x1, 0x7c(%rsp)
jge 0x3887
leaq 0xb0(%rsp), %rax
movq %rax, 0x60(%rsp)
... | wichtounet[P]articles/src/threads/benchmark/bench.cpp |
void bench_atomic<1>() | void bench_atomic(){
std::mutex mutex;
unsigned long throughput = 0;
for(int i = 0; i < REPEAT; ++i){
std::atomic<int> counter;
counter.store(0);
std::vector<std::thread> threads;
Clock::time_point t0 = Clock::now();
for(int i = 0; i < Threads; ++i){
t... | subq $0xf8, %rsp
leaq 0xb8(%rsp), %rdi
callq 0x6420
movq $0x0, 0xb0(%rsp)
movl $0x0, 0xac(%rsp)
cmpl $0x5, 0xac(%rsp)
jge 0x4dc7
leaq 0xa8(%rsp), %rax
movq %rax, 0xf0(%rsp)
movl $0x0, 0xec(%rsp)
movl $0x5, 0xe8(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x18(%rsp)
movl 0xe8(%rsp), %edi
movl $0xffff, %esi # imm = ... | wichtounet[P]articles/src/threads/benchmark/bench.cpp |
builtins::tss_help(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | int tss_help(std::string name)
{
std::cout << "Tom's simple shell\n"
<< "These shell commands are defined internally. Type 'help' to see this list.\n"
<< "Type 'help name' to find out more about the function 'name'.\n"
<< "The following are built in: "
<< tss_... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq 0x863d(%rip), %rdi # 0xbfc0
leaq 0x468f(%rip), %rsi # 0x8019
callq 0x3240
movq %rax, %rdi
leaq 0x4694(%rip), %rsi # 0x802d
callq 0x3240
movq %rax, %rdi
leaq 0x46d1(%rip), %rsi # 0x8079
callq 0x3240
movq %rax, %rdi
leaq 0x4700(%ri... | frainfreeze[P]tss/./builtins.h |
builtins::tss_get[abi:cxx11]() | std::string tss_get()
{
std::string str;
for(auto elem : funcMap)
str.append("\n " + elem.first);
return str;
} | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0xa8(%rbp)
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
callq 0x3310
leaq 0x87f8(%rip), %rax # 0xc258
movq %rax, -0x18(%rbp)
leaq 0x87ed(%rip), %rdi # 0xc258
callq 0x47f0
movq %rax, -0x20(%rbp)
leaq 0x87dd(%rip), %rd... | frainfreeze[P]tss/./builtins.h |
shell::exec(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | std::string exec(std::string cmd) {
// http://man7.org/linux/man-pages/man3/popen.3.html
std::array<char, 128> buffer;
std::string result;
std::shared_ptr<FILE> pipe(popen(cmd.c_str(), "r"), pclose);
if (!pipe) {
throw std::runtime_error("popen() failed!");
}
while (!feof(pipe.... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rsi, -0xc8(%rbp)
movq %rdi, -0xd8(%rbp)
movq %rdi, %rax
movq %rax, -0xd0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x91(%rbp)
callq 0x3310
movq -0xc8(%rbp), %rdi
callq 0x3110
movq %rax, %rdi
leaq 0x4497(%rip), %rsi # 0x80e4
callq 0x30b0
movq %r... | frainfreeze[P]tss/./shell.h |
shell::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | int parse(std::string input)
{
std::string arg = input.substr(0, input.find(" "));
if(arg=="exit"){
return 0;
}
else if(arg=="help"){
return builtins::funcMap["help"]("");
}
else if(arg=="cd"){
builtins::tss_cd(input.substr(input.find_first_of(" \t")+1));
}
els... | pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp # imm = 0x140
movq %rdi, -0x110(%rbp)
movq %rdi, -0x10(%rbp)
leaq 0x42a0(%rip), %rsi # 0x80dd
xorl %eax, %eax
movl %eax, %edx
movq %rdx, -0x108(%rbp)
callq 0x3440
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
movq %rax, %rcx
leaq -0x30(%rbp), %rdi
movq %rdi... | frainfreeze[P]tss/./shell.h |
main_loop() | void main_loop(){
//clean whoami and hostname strings
if (!whoami.empty() && whoami[whoami.length()-1] == '\n') {
whoami.erase(whoami.length()-1);
}
if (!hostname.empty() && hostname[hostname.length()-1] == '\n') {
hostname.erase(hostname.length()-1);
}
std::string line;
s... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
leaq 0x8116(%rip), %rdi # 0xc288
callq 0x33b0
testb $0x1, %al
jne 0x41c8
leaq 0x8106(%rip), %rdi # 0xc288
callq 0x3350
movq %rax, %rsi
subq $0x1, %rsi
leaq 0x80f3(%rip), %rdi # 0xc288
callq 0x3450
movsbl (%rax), %eax
cmpl $0xa, %eax
jn... | frainfreeze[P]tss/main.cpp |
run() | void
run()
{
long page_size = ::sysconf(_SC_PAGESIZE);
assert(page_size > 0);
std::string ping_name("/gdcq.ping");
std::string pong_name("/gdcq.pong");
#if USE_C_API
F rqf(ping_name, 10 * page_size);
F wqf(pong_name);
bool seed = false;
#else
F wqf(ping_name);
F rqf(pong_name, 10 * page_size);
bool seed = tr... | pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp # imm = 0x200
movl $0x1e, %edi
callq 0x2150
movq %rax, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jle 0x2512
jmp 0x2531
leaq 0x4b23(%rip), %rdi # 0x703c
leaq 0x4b2a(%rip), %rsi # 0x704a
movl $0x34, %edx
leaq 0x4b31(%rip), %rcx # 0x705d
callq 0x2160
leaq -0x29... | dadocolussi[P]gdc-circular_queue/tests/pingpong.cpp |
main | int
main()
{
try
{
run();
}
catch (const std::exception& ex)
{
std::cerr << ex.what() << std::endl;
exit(EXIT_FAILURE);
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
callq 0x24f0
jmp 0x2a5f
jmp 0x2ad9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x8(%rbp)
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x2ae1
movq -0x8(%rbp), %rdi
callq 0x20c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
m... | dadocolussi[P]gdc-circular_queue/tests/pingpong.cpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::circular_queue_factory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, bool, std::function<int (gdc::circular_queue<unsigned long>&)>) | circular_queue_factory(
const std::string& name,
size_type capacity,
bool sync = true,
mdinit_type metadata_initializer = [](Q&) -> int { return 0; }) :
_name(name),
_capacity(capacity),
_sync(sync),
_metadata_initializer(metadata_initializer),
_q(nullptr, null_queue_destroyer)
{
assert(... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %r8, -0x48(%rbp)
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x50(%rbp)
movq %rdi, %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rsi
callq ... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::can_get() const | bool can_get() const
{
if (_q || _name.empty())
{
return true;
}
int fd = ::shm_open(_name.c_str(), O_RDWR, S_IRWXU);
if (fd == -1)
{
return false;
}
::close(fd);
return true;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x20(%rbp)
addq $0x50, %rdi
callq 0x43c0
testb $0x1, %al
jne 0x2e60
movq -0x20(%rbp), %rdi
callq 0x22e0
testb $0x1, %al
jne 0x2e60
jmp 0x2e66
movb $0x1, -0x1(%rbp)
jmp 0x2e9c
movq -0x20(%rbp), %rdi
callq 0x20d0
movq %r... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue<unsigned long>::push(unsigned long const*, unsigned long) | bool push(const_pointer data, size_type nbytes) noexcept
{
auto p = alloc(nbytes);
if (p == nullptr)
{
return false;
}
std::memmove(p, data, nbytes);
commit(nbytes);
return true;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x30(%rbp)
movq -0x20(%rbp), %rsi
callq 0x6200
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x2fb6
movb $0x0, -0x1(%rbp)
jmp 0x2fd8
movq -0x28(%rbp), %rdi
movq -0x18(%... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue.hpp |
gdc::circular_queue<unsigned long>::peek() const | const_pointer peek() const noexcept
{
auto rp = _q.rpos.load(std::memory_order_relaxed);
auto wp = _q.wpos.load(std::memory_order_relaxed);
if (rp == wp)
{
// Queue is empty.
return nullptr;
}
if (_q.properties.sync)
{
// Memory fence after relaxed read.
std::atomic_thread... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x80(%rbp)
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
movl -0x14(%rbp), %edi
movl $0xffff, %esi # imm = 0xFFFF
callq 0x5ca0
movl %eax, -0x18(%rbp)
movl -0x14(%... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::delete_shared(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static void delete_shared(const std::string& name)
{
int status = ::shm_unlink(name.c_str());
if (status == -1 && errno != ENOENT)
{
std::string what("shm_unlink: ");
what.append(::strerror(errno));
throw circular_queue_error(what);
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x20d0
movq %rax, %rdi
callq 0x2360
movl %eax, -0xc(%rbp)
cmpl $-0x1, -0xc(%rbp)
jne 0x3a1b
callq 0x2030
cmpl $0x2, (%rax)
je 0x3a1b
leaq -0x31(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x2320
movq -0x50(%rbp), %rdx
leaq 0x3886... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::create() | void create()
{
static_assert(
std::is_trivially_copyable<Q>::value,
"Q in circular_queue_factory<T,Q> must be trivially copyable");
if (_q)
{
// Already created.
return;
}
if (!_name.empty())
{
// We're dealing with a shared memory queue.
if (_capacity > 0)
{
... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x90(%rbp)
addq $0x50, %rdi
callq 0x43c0
testb $0x1, %al
jne 0x4189
jmp 0x418e
jmp 0x437d
movq -0x90(%rbp), %rdi
callq 0x22e0
testb $0x1, %al
jne 0x4276
movq -0x90(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jbe 0x422d
movq -0x90(... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::create_shared(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, bool, std::function<int (gdc::circular_queue<unsigned long>&)>) | static void create_shared(
const std::string& name,
size_type capacity,
bool sync,
mdinit_type metadata_initializer)
{
// Unlink any old shared memory object with the same name.
int status = ::shm_unlink(name.c_str());
if (status == -1 && errno != ENOENT)
{
std::string what("shm_unlink: ")... | pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp # imm = 0x1C0
movq %rcx, -0x150(%rbp)
movb %dl, %al
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
andb $0x1, %al
movb %al, -0x31(%rbp)
movq %rcx, -0x40(%rbp)
movq -0x28(%rbp), %rdi
callq 0x20d0
movq %rax, %rdi
callq 0x2360
movl %eax, -0x44(%rbp)
cmpl $-0x1, -0x44(... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::map_shared(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static Q* map_shared(const std::string& name)
{
// Ignore size. The true size is defined in the mapped memory.
static long page_size = ::sysconf(_SC_PAGESIZE);
if (page_size == -1)
{
std::string what("sysconf: ");
what.append(::strerror(errno));
throw circular_queue_error(what);
}
assert... | pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp # imm = 0x1F0
movq %rdi, -0x8(%rbp)
cmpb $0x0, 0x66aa(%rip) # 0xb220
jne 0x4ba6
leaq 0x66a1(%rip), %rdi # 0xb220
callq 0x2350
cmpl $0x0, %eax
je 0x4ba6
movl $0x1e, %edi
callq 0x2150
movq %rax, 0x667e(%rip) # 0xb218
leaq 0x667f(%rip), %rdi # 0xb... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::unmap_shared(gdc::circular_queue<unsigned long>*) | static void unmap_shared(Q* q)
{
if (q == nullptr)
{
return;
}
size_type capacity = q->capacity();
size_type fp = footprint(capacity);
if (::munmap(q, fp + capacity) == -1)
{
std::string what("munmap: ");
what.append(::strerror(errno));
throw circular_queue_error(what);
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x54d8
jmp 0x55cf
movq -0x8(%rbp), %rdi
callq 0x5cc0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5b70
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq -0x10(%rbp), %rsi
callq 0x2120
cmpl $-0x1, ... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::create_private(unsigned long, bool, std::function<int (gdc::circular_queue<unsigned long>&)>) | static Q* create_private(
size_type capacity,
bool sync,
mdinit_type metadata_initializer)
{
static std::atomic<int> seq(0);
int unique = seq.fetch_add(1, std::memory_order_relaxed);
pid_t pid = ::getpid();
char tmp_name[32];
std::sprintf(tmp_name, "/.gdcq.%d.%d", pid, unique);
create_share... | pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp # imm = 0x1D0
movq %rdx, -0x188(%rbp)
movb %sil, %al
movq %rdi, -0x20(%rbp)
andb $0x1, %al
movb %al, -0x21(%rbp)
movq %rdx, -0x30(%rbp)
leaq 0x5bef(%rip), %rax # 0xb228
movq %rax, -0x8(%rbp)
movl $0x1, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
movq -0x8(%rbp), %rax
m... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue_factory<unsigned long, gdc::circular_queue<unsigned long>>::footprint(unsigned long) | static size_type footprint(size_type capacity)
{
static long page_size = ::sysconf(_SC_PAGESIZE);
if (page_size == -1)
{
return 0;
}
assert(page_size > 0);
if (capacity == 0)
{
return page_size;
}
// Calculate the smallest multiple of page size such that
// size >= page s... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
cmpb $0x0, 0x568d(%rip) # 0xb210
jne 0x5bb3
leaq 0x5684(%rip), %rdi # 0xb210
callq 0x2350
cmpl $0x0, %eax
je 0x5bb3
movl $0x1e, %edi
callq 0x2150
movq %rax, 0x5661(%rip) # 0xb208
leaq 0x5662(%rip), %rdi # 0xb210
callq 0x2140
cmpq $-0... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue_factory.hpp |
gdc::circular_queue<unsigned long>::alloc(unsigned long) const | pointer alloc(size_type nbytes) const noexcept
{
assert(nbytes > 0);
assert(nbytes < capacity());
if (nbytes > space())
{
return nullptr;
}
auto wp = _q.wpos.load(std::memory_order_relaxed);
auto d = data();
auto p = &d[wp];
auto pp = const_cast<char*>(p);
return reinterpret_... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x30(%rbp)
jbe 0x6224
jmp 0x6243
leaq 0x1292(%rip), %rdi # 0x74bd
leaq 0x1296(%rip), %rsi # 0x74c8
movl $0xf6, %edx
leaq 0x12a5(%rip), %rcx # 0x74e3
callq 0x... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue.hpp |
gdc::circular_queue<unsigned long>::commit(unsigned long) | void commit(size_type nbytes) noexcept
{
assert(nbytes > 0);
assert(nbytes < capacity());
auto wp = _q.wpos.load(std::memory_order_relaxed);
wp = (wp + nbytes) % capacity();
auto mo = _q.properties.sync ? std::memory_order_release : std::memory_order_relaxed;
_q.wpos.store(wp, mo);
} | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x40(%rbp)
movq %rsi, -0x48(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x48(%rbp)
jbe 0x6384
jmp 0x63a3
leaq 0x1132(%rip), %rdi # 0x74bd
leaq 0x1136(%rip), %rsi # 0x74c8
movl $0x108, %edx # imm = 0x108
leaq 0x1206(%rip), %... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue.hpp |
gdc::circular_queue<unsigned long>::space() const | size_type space() const noexcept
{
auto rp = _q.rpos.load(std::memory_order_relaxed);
auto wp = _q.wpos.load(std::memory_order_relaxed);
auto c = capacity();
size_t n;
if (wp >= rp)
{
// _____xxxxx_____
// ^ ^
// rp wp
//
// Scenario 2 (empty):
// _________... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x70(%rbp)
movq %rax, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movl -0xc(%rbp), %edi
movl $0xffff, %esi # imm = 0xFFFF
callq 0x5ca0
movl %eax, -0x10(%rbp)
movl -0xc(%rbp),... | dadocolussi[P]gdc-circular_queue/src/gdc_circular_queue.hpp |
main | int main()
{
string s("a value");
cout << s << endl; // prints a value
get_val(s, 0) = 'A'; // changes s[0] to A
cout << s << endl; // prints A value
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl $0x0, -0x4(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x48(%rbp)
callq 0x10b0
movq -0x48(%rbp), %rdx
leaq 0xd9d(%rip), %rsi # 0x2004
leaq -0x28(%rbp), %rdi
callq 0x1080
jmp 0x1272
leaq -0x29(%rbp), %rdi
callq 0x1070
movq 0x2d56(%rip), %rdi # 0x3fd8
leaq -0x28(%r... | iZhangHui[P]CppPrimer/CH06_Functions/examples/ref-fcn.cc |
Logs::panel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | void Logs::panel(std::string all)
{
Zest::Settings settings;
if (settings.verbose() == true)
std::cout << all << std::endl;
return;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x11(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x2ab0
movq -0x30(%rbp), %rdi
callq 0x2b30
movb %al, -0x25(%rbp)
jmp 0x261f
movb -0x25(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x266d... | Neotoxic-off[P]Zest/src/Logs.cpp |
Zest::Settings::verbose(bool) | bool Zest::Settings::verbose(bool value)
{
this->verbose_t = value;
if (this->verbose_t == value)
return (true);
return (false);
} | pushq %rbp
movq %rsp, %rbp
movb %sil, %al
movq %rdi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rax
movb -0x11(%rbp), %cl
andb $0x1, %cl
movb %cl, (%rax)
movb (%rax), %al
andb $0x1, %al
movzbl %al, %eax
movb -0x11(%rbp), %cl
andb $0x1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
jne 0x2b06
movb $0x1, ... | Neotoxic-off[P]Zest/src/Zest.cpp |
Zest::Zest::check_id_a(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Zest::Zest::check_id_a(std::string id)
{
int index = 0;
for (auto i = this->a_id.begin(); i != this->a_id.end(); i++) {
if (*i == id) {
this->a_id.erase(this->a_id.begin() + index);
return (true);
}
index++;
}
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rsi, -0x68(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x60(%rbp)
movl $0x0, -0x1c(%rbp)
addq $0x8, %rdi
callq 0x3490
movq %rax, -0x28(%rbp)
movq -0x60(%rbp), %rdi
addq $0x8, %rdi
callq 0x3500
movq %rax, -0x30(%rbp)
leaq -0x28(... | Neotoxic-off[P]Zest/src/Zest.cpp |
Zest::Zest::html[abi:cxx11]() | std::string Zest::Zest::html()
{
if (Zest::Zest::check(this->_html_) == true) {
Zest::Zest::set_html(false);
return ("</html>");
}
Zest::Zest::set_html(true);
return ("<html>");
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x40(%rbp)
movq %rdi, %rax
movq %rax, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x30(%rbp)
movb (%rdi), %al
andb $0x1, %al
movzbl %al, %esi
callq 0x2b50
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x2f29
mo... | Neotoxic-off[P]Zest/src/Zest.cpp |
Zest::Zest::a(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | std::string Zest::Zest::a(std::string id)
{
if (Zest::Zest::check_id_a(id) == true) {
return ("</a>");
}
Zest::set_id_a(id);
return ("<a>");
} | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdx, -0x98(%rbp)
movq %rsi, %rax
movq -0x98(%rbp), %rsi
movq %rdi, -0x90(%rbp)
movq %rdi, %rcx
movq %rcx, -0x88(%rbp)
movq %rdi, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x7... | Neotoxic-off[P]Zest/src/Zest.cpp |
Zest::Zest::a(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Attributes::a) | std::string Zest::Zest::a(std::string id, Attributes::a attributes)
{
if (Zest::Zest::check_id_a(id) == true) {
return ("</a>");
}
Zest::set_id_a(id);
return ("<a" + attributes.get_attributes() + ">");
} | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rcx, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq %rsi, %rax
movq -0xe0(%rbp), %rsi
movq %rdi, -0xd8(%rbp)
movq %rdi, %rdx
movq %rdx, -0xd0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%... | Neotoxic-off[P]Zest/src/Zest.cpp |
set_a_att(Attributes::a*) | int set_a_att(Attributes::a *a_attributes)
{
a_attributes->id("my_class");
a_attributes->download("DOWNLOAD");
a_attributes->href("HREF");
a_attributes->media("_test_.mp4");
return (0);
} | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x22f0
movq -0xc0(%rbp), %rdx
leaq 0x9667(%rip), %rsi # 0xe0cf
leaq -0x28(%rbp), %rdi
callq 0x3780
jmp 0x4a73
movq -0xc8(%rbp)... | Neotoxic-off[P]Zest/src/Main.cpp |
main | int main(void)
{
Zest::Settings settings;
Zest::Zest zest;
Attributes::a a_attributes;
Attributes::img img_attributes;
set_a_att(&a_attributes);
set_img_att(&img_attributes);
std::string empty = "";
std::cout << zest.doctype("html") << std::endl;
std::cout << zest.html() << std::e... | pushq %rbp
movq %rsp, %rbp
subq $0x8e0, %rsp # imm = 0x8E0
movl $0x0, -0x4(%rbp)
leaq -0x5(%rbp), %rdi
callq 0x2ab0
leaq -0x28(%rbp), %rdi
callq 0x2a20
jmp 0x4de6
leaq -0x178(%rbp), %rdi
callq 0x5b40
jmp 0x4df4
leaq -0x358(%rbp), %rdi
callq 0x8da0
jmp 0x4e02
leaq -0x178(%rbp), %rdi
callq 0x4a30
jmp 0x4e10
le... | Neotoxic-off[P]Zest/src/Main.cpp |
Attributes::a::a() | Attributes::a::a()
{
Attributes::a::id(EMPTY);
Attributes::a::download(EMPTY);
Attributes::a::href(EMPTY);
Attributes::a::hreflang(EMPTY);
Attributes::a::media(EMPTY);
Attributes::a::ping(EMPTY);
Attributes::a::referrerpolicy(EMPTY);
Attributes::a::rel(EMPTY);
Attributes::a::target(E... | pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp # imm = 0x250
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x1c0(%rbp)
movq %rdi, %rax
movq %rax, -0x208(%rbp)
callq 0x2270
movq -0x1c0(%rbp), %rdi
addq $0x20, %rdi
movq %rdi, -0x200(%rbp)
callq 0x2270
movq -0x1c0(%rbp), %rdi
addq $0x40, %rdi
movq %rdi,... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::id(std::string value)
{
Logs logs;
this->id_t = value;
if (Attributes::a::id() == value) {
logs.done("a attribute id set");
return (true);
}
logs.fail("a attribute id not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x2030
jmp 0x62a3
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x8... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::download(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::download(std::string value)
{
Logs logs;
this->download_t = value;
if (Attributes::a::download() == value) {
logs.done("a attribute download set");
return (true);
}
logs.fail("a attribute download not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x20, %rdi
callq 0x2030
jmp 0x6497
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::href(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::href(std::string value)
{
Logs logs;
this->href_t = value;
if (Attributes::a::href() == value) {
logs.done("a attribute href set");
return (true);
}
logs.fail("a attribute href not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x40, %rdi
callq 0x2030
jmp 0x6687
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::hreflang(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::hreflang(std::string value)
{
Logs logs;
this->hreflang_t = value;
if (Attributes::a::hreflang() == value) {
logs.done("a attribute hreflang set");
return (true);
}
logs.fail("a attribute hreflang not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x60, %rdi
callq 0x2030
jmp 0x6877
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::media(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::media(std::string value)
{
Logs logs;
this->media_t = value;
if (Attributes::a::media() == value) {
logs.done("a attribute media set");
return (true);
}
logs.fail("a attribute media not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
subq $-0x80, %rdi
callq 0x2030
jmp 0x6a67
movq -0xb0(%rbp), %rsi
leaq -0x50(%rb... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::ping(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::ping(std::string value)
{
Logs logs;
this->ping_t = value;
if (Attributes::a::ping() == value) {
logs.done("a attribute ping set");
return (true);
}
logs.fail("a attribute ping not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xa0, %rdi
callq 0x2030
jmp 0x6c5a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::referrerpolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::referrerpolicy(std::string value)
{
Logs logs;
this->referrerpolicy_t = value;
if (Attributes::a::referrerpolicy() == value) {
logs.done("a attribute referrerpolicy set");
return (true);
}
logs.fail("a attribute referrerpolicy not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xc0, %rdi
callq 0x2030
jmp 0x6e4a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::rel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::rel(std::string value)
{
Logs logs;
this->rel_t = value;
if (Attributes::a::rel() == value) {
logs.done("a attribute rel set");
return (true);
}
logs.fail("a attribute rel not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xe0, %rdi
callq 0x2030
jmp 0x703a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::target(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::target(std::string value)
{
Logs logs;
this->target_t = value;
if (Attributes::a::target() == value) {
logs.done("a attribute target set");
return (true);
}
logs.fail("a attribute target not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x100, %rdi # imm = 0x100
callq 0x2030
jmp 0x722a
movq -0xb0(%... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::a::type(std::string value)
{
Logs logs;
this->type_t = value;
if (Attributes::a::type() == value) {
logs.done("a attribute type set");
return (true);
}
logs.fail("a attribute type not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x120, %rdi # imm = 0x120
callq 0x2030
jmp 0x741a
movq -0xb0(%... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::a::get_attributes[abi:cxx11]() | std::string Attributes::a::get_attributes()
{
std::string data = "";
std::string id = Attributes::a::id();
std::string download = Attributes::a::download();
std::string href = Attributes::a::href();
std::string hreflang = Attributes::a::hreflang();
std::string media = Attributes::a::media();
... | pushq %rbp
movq %rsp, %rbp
subq $0x640, %rsp # imm = 0x640
movq %rdi, -0x588(%rbp)
movq %rdi, %rax
movq %rax, -0x598(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x590(%rbp)
movb $0x0, -0x11(%rbp)
leaq -0x12(%rbp), %rdi
movq %rdi, -0x580(%rbp)
callq 0x22f0
movq -0x588... | Neotoxic-off[P]Zest/src/tag/a.cpp |
Attributes::img::img() | Attributes::img::img()
{
Attributes::img::id(EMPTY);
Attributes::img::alt(EMPTY);
Attributes::img::src(EMPTY);
Attributes::img::crossorigin(EMPTY);
Attributes::img::height(EMPTY);
Attributes::img::width(EMPTY);
Attributes::img::jsmap(EMPTY);
Attributes::img::ismap(EMPTY);
Attributes:... | pushq %rbp
movq %rsp, %rbp
subq $0x370, %rsp # imm = 0x370
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x288(%rbp)
movq %rdi, %rax
movq %rax, -0x2f8(%rbp)
callq 0x2270
movq -0x288(%rbp), %rdi
addq $0x20, %rdi
movq %rdi, -0x2f0(%rbp)
callq 0x2270
movq -0x288(%rbp), %rdi
addq $0x40, %rdi
movq %rdi,... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::id(std::string value)
{
Logs logs;
this->id_t = value;
if (Attributes::img::id() == value) {
logs.done("img attribute id set");
return (true);
}
logs.fail("img attribute id not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x2030
jmp 0x98a3
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0xd... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::alt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::alt(std::string value)
{
Logs logs;
this->alt_t = value;
if (Attributes::img::alt() == value) {
logs.done("img attribute alt set");
return (true);
}
logs.fail("img attribute alt not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x20, %rdi
callq 0x2030
jmp 0x9a97
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::src(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::src(std::string value)
{
Logs logs;
this->src_t = value;
if (Attributes::img::src() == value) {
logs.done("img attribute src set");
return (true);
}
logs.fail("img attribute src not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x40, %rdi
callq 0x2030
jmp 0x9c87
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::crossorigin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::crossorigin(std::string value)
{
Logs logs;
this->crossorigin_t = value;
if (Attributes::img::crossorigin() == value) {
logs.done("img attribute crossorigin set");
return (true);
}
logs.fail("img attribute crossorigin not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x60, %rdi
callq 0x2030
jmp 0x9e77
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::height(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::height(std::string value)
{
Logs logs;
this->height_t = value;
if (Attributes::img::height() == value) {
logs.done("img attribute height set");
return (true);
}
logs.fail("img attribute height not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
subq $-0x80, %rdi
callq 0x2030
jmp 0xa067
movq -0xb0(%rbp), %rsi
leaq -0x50(%rb... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::width(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::width(std::string value)
{
Logs logs;
this->width_t = value;
if (Attributes::img::width() == value) {
logs.done("img attribute width set");
return (true);
}
logs.fail("img attribute width not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xa0, %rdi
callq 0x2030
jmp 0xa25a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::jsmap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::jsmap(std::string value)
{
Logs logs;
this->jsmap_t = value;
if (Attributes::img::jsmap() == value) {
logs.done("img attribute jsmap set");
return (true);
}
logs.fail("img attribute jsmap not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xc0, %rdi
callq 0x2030
jmp 0xa44a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::ismap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::ismap(std::string value)
{
Logs logs;
this->ismap_t = value;
if (Attributes::img::ismap() == value) {
logs.done("img attribute ismap set");
return (true);
}
logs.fail("img attribute ismap not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0xe0, %rdi
callq 0x2030
jmp 0xa63a
movq -0xb0(%rbp), %rsi
leaq -0x50(%rbp... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::loading(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::loading(std::string value)
{
Logs logs;
this->loading_t = value;
if (Attributes::img::loading() == value) {
logs.done("img attribute loading set");
return (true);
}
logs.fail("img attribute loading not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x100, %rdi # imm = 0x100
callq 0x2030
jmp 0xa82a
movq -0xb0(%... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::longdesc(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::longdesc(std::string value)
{
Logs logs;
this->longdesc_t = value;
if (Attributes::img::longdesc() == value) {
logs.done("img attribute longdesc set");
return (true);
}
logs.fail("img attribute longdesc not set");
return (false);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x120, %rdi # imm = 0x120
callq 0x2030
jmp 0xaa1a
movq -0xb0(%... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Attributes::img::referrerpolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | bool Attributes::img::referrerpolicy(std::string value)
{
Logs logs;
this->referrerpolicy_t = value;
if (Attributes::img::referrerpolicy() == value) {
logs.done("img attribute referrerpolicy set");
return (true);
}
logs.fail("img attribute referrerpolicy not set");
return (fa... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x19(%rbp), %rdi
callq 0x25d0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
addq $0x140, %rdi # imm = 0x140
callq 0x2030
jmp 0xac0a
movq -0xb0(%... | Neotoxic-off[P]Zest/src/tag/img.cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.