name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
lys_augment_free
static void lys_augment_free(struct ly_ctx *ctx, struct lys_node_augment *aug, void (*private_destructor)(const struct lys_node *node, void *priv)) { struct lys_node *next, *sub; /* children from a resolved augment are freed under the target node */ if (!aug->target || (aug->flags & LYS_NOTAPPLIED)) { ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx cmpq $0x0, 0x58(%rsi) je 0x5bd57 testb $0x1, 0x18(%r14) jne 0x5bd57 movq (%r14), %rsi movq %rbx, %rdi callq 0xd910 movq 0x8(%r14), %rsi movq %rbx, %rdi callq 0xd910 movq 0x10(%r14), %rsi movq %rbx, %rd...
/RIFTIO[P]libyang/src/tree_schema.c
lys_when_dup
static struct lys_when * lys_when_dup(struct lys_module *mod, struct lys_when *old, struct unres_schema *unres) { struct lys_when *new; if (!old) { return NULL; } new = calloc(1, sizeof *new); if (!new) { LOGMEM; return NULL; } new->cond = lydict_insert(mod->ctx, ol...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 movl $0x1, %edi movl $0x28, %esi callq 0xcb70 testq %rax, %rax je 0x5be0a movq %rax, %rbx movq (%r15), %rdi movq (%r12), %rsi xorl %edx, %edx callq 0xd3f0 movq %rax, (%rbx) movq (%r15)...
/RIFTIO[P]libyang/src/tree_schema.c
ingrouping
static int ingrouping(const struct lys_node *node) { const struct lys_node *iter = node; assert(node); for(iter = node; iter && iter->nodetype != LYS_GROUPING; iter = lys_parent(iter)); if (!iter) { return 0; } else { return 1; } }
testq %rdi, %rdi setne %al je 0x5be8c pushq %rbp movq %rsp, %rbp movl 0x38(%rdi), %ecx cmpl $0x10000, %ecx # imm = 0x10000 je 0x5be68 cmpl $0x800, %ecx # imm = 0x800 je 0x5be8b movq 0x40(%rdi), %rdi testq %rdi, %rdi jne 0x5be72 jmp 0x5be81 cmpb $0x1, 0x1d(%rdi) jne 0x5be81 movq 0x8(%rdi), %rdi cmpl ...
/RIFTIO[P]libyang/src/tree_schema.c
lyd_check_mandatory_subtree
static int lyd_check_mandatory_subtree(struct lyd_node *tree, struct lyd_node *subtree, struct lyd_node *last_parent, struct lys_node *schema, int toplevel, int options) { struct lys_node *siter, *siter_prev; struct lyd_node *iter; struct ly_set *present = NULL; unsigned int ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp testq %rcx, %rcx je 0x5c4f3 movl %r8d, %ebx movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %r12 movq %rdx, -0x48(%rbp) movzwl 0x38(%rcx), %eax testl $0x803d, %eax # imm = 0x803D movl %r9d, -0x2c(%rbp) je 0x5c1f3 mov...
/RIFTIO[P]libyang/src/tree_data.c
lyd_parse_mem
lyd_node * lyd_parse_mem(struct ly_ctx *ctx, const char *data, LYD_FORMAT format, int options, ...) { va_list ap; struct lyd_node *result; va_start(ap, options); result = lyd_parse_data_(ctx, data, format, options, ap); va_end(ap); return result; }
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp leaq -0xd0(%rbp), %r10 movq %r8, 0x20(%r10) movq %r9, 0x28(%r10) testb %al, %al je 0x5c575 movaps %xmm0, -0xa0(%rbp) movaps %xmm1, -0x90(%rbp) movaps %xmm2, -0x80(%rbp) movaps %xmm3, -0x70(%rbp) movaps %xmm4, -0x60(%rbp) movaps %xmm5, -0x50(%rbp) movaps %xmm6, -0x40(%rbp) mov...
/RIFTIO[P]libyang/src/tree_data.c
lyd_parse_data_
static struct lyd_node * lyd_parse_data_(struct ly_ctx *ctx, const char *data, LYD_FORMAT format, int options, va_list ap) { const struct lyd_node *rpc_act = NULL, *data_tree = NULL, *iter; if (lyp_check_options(options)) { LOGERR(LY_EINVAL, "%s: Invalid options (multiple data type flags set).", __func...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r12 movl %ecx, %r14d movl %edx, %r13d movq %rsi, %r15 movq %rdi, %rbx movl %ecx, %edi callq 0xcfd0 testl %eax, %eax je 0x5c5df callq 0xd7a0 movl $0x3, (%rax) leaq 0x334a0(%rip), %rsi # 0x8fa7a jmp 0x5c77a testb $...
/RIFTIO[P]libyang/src/tree_data.c
lyd_parse_fd
lyd_node * lyd_parse_fd(struct ly_ctx *ctx, int fd, LYD_FORMAT format, int options, ...) { struct lyd_node *ret; va_list ap; va_start(ap, options); ret = lyd_parse_fd_(ctx, fd, format, options, ap); va_end(ap); return ret; }
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp leaq -0xd0(%rbp), %r10 movq %r8, 0x20(%r10) movq %r9, 0x28(%r10) testb %al, %al je 0x5c838 movaps %xmm0, -0xa0(%rbp) movaps %xmm1, -0x90(%rbp) movaps %xmm2, -0x80(%rbp) movaps %xmm3, -0x70(%rbp) movaps %xmm4, -0x60(%rbp) movaps %xmm5, -0x50(%rbp) movaps %xmm6, -0x40(%rbp) mov...
/RIFTIO[P]libyang/src/tree_data.c
lyd_parse_path
lyd_node * lyd_parse_path(struct ly_ctx *ctx, const char *path, LYD_FORMAT format, int options, ...) { int fd; struct lyd_node *ret; va_list ap; if (!ctx || !path) { LOGERR(LY_EINVAL, "%s: Invalid parameter.", __func__); return NULL; } fd = open(path, O_RDONLY); if (fd == -...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movl %ecx, %r14d movq %r8, -0xd0(%rbp) movq %r9, -0xc8(%rbp) testb %al, %al je 0x5c97a movaps %xmm0, -0xc0(%rbp) movaps %xmm1, -0xb0(%rbp) movaps %xmm2, -0xa0(%rbp) movaps %xmm3, -0x90(%rbp) movaps %xmm4, -0x80(%rbp) mova...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new
struct lyd_node * _lyd_new(struct lyd_node *parent, const struct lys_node *schema, int dflt) { struct lyd_node *ret; ret = calloc(1, sizeof *ret); if (!ret) { LOGMEM; return NULL; } ret->schema = (struct lys_node *)schema; ret->validity = ly_new_node_validity(schema); if (re...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %edx, %r15d movq %rsi, %r12 movq %rdi, %r14 movl $0x1, %edi movl $0x38, %esi callq 0xcb70 testq %rax, %rax je 0x5cadb movq %rax, %rbx movq %r12, (%rax) movq %r12, %rdi callq 0xc700 movb %al, 0x8(%rbx) movq %r12, %rdi xorl %esi, %esi xorl %edx, ...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new
lyd_node * lyd_new(struct lyd_node *parent, const struct lys_module *module, const char *name) { const struct lys_node *snode = NULL, *siblings; if ((!parent && !module) || !name) { ly_errno = LY_EINVAL; return NULL; } siblings = lyd_new_find_schema(parent, module, 0); if (!sibling...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq $0x0, -0x30(%rbp) movq %rdi, %rax orq %rsi, %rax setne %al testq %rdx, %rdx setne %cl testb %cl, %al je 0x5ccf7 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx xorl %edx, %edx callq 0x5cd13 testq %rax, %rax je 0x5ccf7 movq...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new_leaf
lyd_node * lyd_new_leaf(struct lyd_node *parent, const struct lys_module *module, const char *name, const char *val_str) { const struct lys_node *snode = NULL, *siblings; if ((!parent && !module) || !name) { ly_errno = LY_EINVAL; return NULL; } siblings = lyd_new_find_schema(parent, mo...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq $0x0, -0x30(%rbp) movq %rdi, %rax orq %rsi, %rax setne %al testq %rdx, %rdx setne %cl testb %cl, %al je 0x5ce06 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 xorl %edx, %edx callq 0x5cd13 testq %rax, %rax...
/RIFTIO[P]libyang/src/tree_data.c
lyd_change_leaf
API int lyd_change_leaf(struct lyd_node_leaf_list *leaf, const char *val_str) { const char *backup; lyd_val backup_val; struct lyd_node *parent; struct lys_node_list *slist; LY_DATA_TYPE backup_type; uint32_t i; if (!leaf) { ly_errno = LY_EINVAL; return EXIT_FAILURE; } ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp testq %rdi, %rdi je 0x5d00f movq %rdi, %rbx movq 0x28(%rdi), %rax testq %rax, %rax je 0x5cf1c movq (%rax), %rcx cmpl $0x10, 0x38(%rcx) jne 0x5cf1c movzbl 0x1e(%rcx), %eax testq %rax, %rax je 0x5cf1c movq 0x80(%rcx), %rcx ...
/RIFTIO[P]libyang/src/tree_data.c
check_leaf_list_backlinks
static void check_leaf_list_backlinks(struct lyd_node *node, int op) { struct lyd_node *next, *iter; struct lyd_node_leaf_list *leaf_list; struct ly_set *set, *data; uint32_t i, j; assert((op == 0) || (op == 1) || (op == 2)); /* fix leafrefs */ LY_TREE_DFS_BEGIN(node, next, iter) { ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax cmpl $0x2, %esi ja 0x5d202 testq %rdi, %rdi je 0x5d1ad movl %esi, %r14d movq %rdi, %r15 movq %rdi, -0x30(%rbp) movq (%r15), %rax testb $0xc, 0x38(%rax) je 0x5d155 movq 0x48(%rax), %r13 testq %r13, %r13 je 0x5d155 cmpl $0x0, 0x4...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new_anydata
lyd_node * lyd_new_anydata(struct lyd_node *parent, const struct lys_module *module, const char *name, void *value, LYD_ANYDATA_VALUETYPE value_type) { const struct lys_node *siblings, *snode; if ((!parent && !module) || !name) { ly_errno = LY_EINVAL; return NULL; } sib...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r14 movq %rdi, %rax orq %rsi, %rax setne %al testq %rdx, %rdx setne %cl testb %cl, %al je 0x5d2ae movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %r15 movl %r8d, -0x2c(%rbp) xorl %edx, %edx callq 0x5cd13 testq %rax...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new_output
lyd_node * lyd_new_output(struct lyd_node *parent, const struct lys_module *module, const char *name) { const struct lys_node *snode = NULL, *siblings; if ((!parent && !module) || !name) { ly_errno = LY_EINVAL; return NULL; } siblings = lyd_new_find_schema(parent, module, 1); if (!...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq $0x0, -0x30(%rbp) movq %rdi, %rax orq %rsi, %rax setne %al testq %rdx, %rdx setne %cl testb %cl, %al je 0x5d484 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movl $0x1, %edx callq 0x5cd13 testq %rax, %rax je 0x5d484 movq...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new_output_anydata
lyd_node * lyd_new_output_anydata(struct lyd_node *parent, const struct lys_module *module, const char *name, void *value, LYD_ANYDATA_VALUETYPE value_type) { const struct lys_node *siblings, *snode; if ((!parent && !module) || !name) { ly_errno = LY_EINVAL; return NULL; ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r14 movq %rdi, %rax orq %rsi, %rax setne %al testq %rdx, %rdx setne %cl testb %cl, %al je 0x5d5d9 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %r15 movl %r8d, -0x2c(%rbp) movl $0x1, %edx callq 0x5cd13 testq %rax...
/RIFTIO[P]libyang/src/tree_data.c
lyd_free_withsiblings
API void lyd_free_withsiblings(struct lyd_node *node) { struct lyd_node *iter, *aux; if (!node) { return; } /* optimization - avoid freeing (unlinking) the last node of the siblings list */ /* so, first, free the node's predecessors to the beginning of the list ... */ for(iter = node->...
testq %rdi, %rdi je 0x5e1e6 pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movq %rdi, %rbx movq 0x20(%rdi), %rdi cmpq $0x0, 0x18(%rdi) je 0x5e1c7 movq 0x20(%rdi), %r14 callq 0xd8b0 cmpq $0x0, 0x18(%r14) movq %r14, %rdi jne 0x5e1b2 jmp 0x5e1d4 jmp 0x5e1d4 movq %rbx, %rdi callq 0xd8b0 movq %r14, %rbx testq %rbx, %rbx j...
/RIFTIO[P]libyang/src/tree_data.c
lyd_new_path_list_predicate
static int lyd_new_path_list_predicate(struct lyd_node *list, const char *list_name, const char *predicate, int *parsed) { const char *name, *value; char *key_val; int r, i, nam_len, val_len, has_predicate; struct lys_node_list *slist; slist = (struct lys_node_list *)list->schema; /* is the pr...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, %r12 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, -0x78(%rbp) movq (%rdi), %rax movq %rax, -0x50(%rbp) leaq -0x38(%rbp), %rsi leaq -0x2c(%rbp), %rdx leaq -0x58(%rbp), %rcx leaq -0x40(%rbp), %r8 leaq -0x3c(%rbp), ...
/RIFTIO[P]libyang/src/tree_data.c
lyd_list_pos
API unsigned int lyd_list_pos(const struct lyd_node *node) { unsigned int pos; struct lys_node *schema; if (!node || ((node->schema->nodetype != LYS_LIST) && (node->schema->nodetype != LYS_LEAFLIST))) { return 0; } schema = node->schema; pos = 0; do { if (node->schema == sc...
xorl %eax, %eax testq %rdi, %rdi je 0x5e780 pushq %rbp movq %rsp, %rbp movq (%rdi), %rcx movl 0x38(%rcx), %edx cmpl $0x10, %edx je 0x5e768 cmpl $0x8, %edx jne 0x5e77f xorl %eax, %eax xorl %edx, %edx cmpq %rcx, (%rdi) movq 0x20(%rdi), %rdi sete %dl addl %edx, %eax cmpq $0x0, 0x18(%rdi) jne 0x5e76a popq %rbp retq
/RIFTIO[P]libyang/src/tree_data.c
lyd_create_leaf
static struct lyd_node * lyd_create_leaf(const struct lys_node *schema, const char *val_str, int dflt) { struct lyd_node_leaf_list *ret; ret = calloc(1, sizeof *ret); if (!ret) { LOGMEM; return NULL; } ret->schema = (struct lys_node *)schema; ret->validity = ly_new_node_validity...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %edx, %r14d movq %rsi, %r15 movq %rdi, %r12 movl $0x1, %edi movl $0x48, %esi callq 0xcb70 testq %rax, %rax je 0x5ec12 movq %rax, %rbx movq %r12, (%rax) movq %r12, %rdi callq 0xc700 movb %al, 0x8(%rbx) movq %r12, %rdi xorl %esi, %esi xorl %edx, ...
/RIFTIO[P]libyang/src/tree_data.c
lyd_merge_to_ctx
API int lyd_merge_to_ctx(struct lyd_node **trg, const struct lyd_node *src, int options, struct ly_ctx *ctx) { struct lyd_node *node = NULL, *node2, *target, *trg_merge_start, *src_merge_start = NULL; const struct lyd_node *iter; struct lys_node *src_snode, *sch = NULL; int i, src_depth, depth, first_it...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, -0x38(%rbp) movl %edx, %r15d movq %rsi, %r13 movq %rdi, %r14 callq 0xd7a0 movl $0x0, (%rax) testq %r14, %r14 je 0x5ecc8 movq (%r14), %rbx testq %rbx, %rbx setne %al testq %r13, %r13 setne %cl testb %al, %cl je ...
/RIFTIO[P]libyang/src/tree_data.c
lyd_diff
lyd_difflist * lyd_diff(struct lyd_node *first, struct lyd_node *second, int options) { int rc; struct lyd_node *elem1, *elem2, *iter, *aux, *parent = NULL, *next1, *next2; struct lyd_difflist *result, *result2 = NULL; void *new; unsigned int size, size2, index = 0, index2 = 0, i, j, k; struct m...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movl %edx, -0x3c(%rbp) movq %rsi, %rbx testq %rdi, %rdi je 0x5fc89 movq %rdi, %r14 testq %rbx, %rbx je 0x5fcac btl $0xb, -0x3c(%rbp) jb 0x5fd7b movq 0x28(%r14), %rax testq %rax, %rax je 0x5fc19 movq 0x30(%rax), %rsi jmp 0...
/RIFTIO[P]libyang/src/tree_data.c
lyd_diff_init_difflist
static struct lyd_difflist * lyd_diff_init_difflist(unsigned int *size) { struct lyd_difflist *result; result = malloc(sizeof *result); *size = 1; result->type = calloc(*size, sizeof *result->type); result->first = calloc(*size, sizeof *result->first); result->second = calloc(*size, sizeof *res...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movq %rdi, %rbx movl $0x18, %edi callq 0xced0 movq %rax, %r14 movl $0x1, (%rbx) movl $0x1, %edi movl $0x4, %esi callq 0xcb70 movq %rax, (%r14) movl $0x1, %edi movl $0x8, %esi callq 0xcb70 movq %rax, 0x8(%r14) movl $0x1, %edi movl $0x8, %esi callq 0xcb70 movq %rax, 0x10(%...
/RIFTIO[P]libyang/src/tree_data.c
lyd_diff_equivnode
static int lyd_diff_equivnode(struct lyd_node *first, struct lyd_node *second) { struct lyd_node *iter1, *iter2; for (iter1 = first, iter2 = second; iter1 && iter2; iter1 = iter1->parent, iter2 = iter2->parent) { if (iter1->schema != iter2->schema) { return 0; } if (iter1->s...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x60c30 xorl %r15d, %r15d movq (%r14), %rax cmpq (%rbx), %rax jne 0x60c3c cmpl $0x10, 0x38(%rax) jne 0x60c1e movq %r14, %rdi movq %rbx, %rsi xorl %e...
/RIFTIO[P]libyang/src/tree_data.c
lyv_multicases
int lyv_multicases(struct lyd_node *node, struct lys_node *schemanode, struct lyd_node **first_sibling, int autodelete, struct lyd_node *nodel) { struct lys_node *sparent, *schoice, *scase, *saux; struct lyd_node *next, *iter; assert(node || schemanode); if (!schemanode) { schema...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r8, -0x48(%rbp) movl %ecx, -0x34(%rbp) movq %rdx, -0x30(%rbp) movq %rdi, %rax orq %rsi, %rax je 0x61015 movq %rsi, %r14 movq %rdi, %r15 testq %rsi, %rsi jne 0x60e9b movq (%r15), %r14 movq %r14, %rdi callq 0xca40 mov...
/RIFTIO[P]libyang/src/tree_data.c
lyd_insert_common
int lyd_insert_common(struct lyd_node *parent, struct lyd_node **sibling, struct lyd_node *node, int invalidate) { struct lys_node *par1, *par2; const struct lys_node *siter; struct lyd_node *start, *iter, *ins, *next1, *next2; int invalid = 0, isrpc = 0, clrdflt = 0; struct ly_set *llists = NULL; ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %ecx, -0x3c(%rbp) movq %rdi, %rax orq %rsi, %rax je 0x616a8 movq %rsi, %r14 movq %rdi, %r12 movq %rdx, %r13 testq %rdi, %rdi je 0x61069 movq 0x30(%r12), %rax jmp 0x6107a movq (%r14), %rcx movq %rcx, %rax movq 0x20(%r...
/RIFTIO[P]libyang/src/tree_data.c
lyd_unlink_internal
int lyd_unlink_internal(struct lyd_node *node, int permanent) { struct lyd_node *iter; if (!node) { ly_errno = LY_EINVAL; return EXIT_FAILURE; } if (permanent) { check_leaf_list_backlinks(node, 1); } /* unlink from siblings */ if (node->prev->next) { node->...
pushq %rbp movq %rsp, %rbp pushq %rbx pushq %rax testq %rdi, %rdi je 0x61714 movq %rdi, %rbx testl %esi, %esi je 0x616e6 movq %rbx, %rdi movl $0x1, %esi callq 0x5d077 movq 0x20(%rbx), %rcx cmpq $0x0, 0x18(%rcx) je 0x616f9 movq 0x18(%rbx), %rax movq %rax, 0x18(%rcx) movq 0x18(%rbx), %rax movq %rax, %rdx testq %rax, %rax...
/RIFTIO[P]libyang/src/tree_data.c
lyd_insert_nextto
int lyd_insert_nextto(struct lyd_node *sibling, struct lyd_node *node, int before, int invalidate) { struct lys_node *par1, *par2; struct lyd_node *iter, *start = NULL, *ins, *next1, *next2, *last; struct lyd_node *orig_parent = NULL, *orig_prev = NULL, *orig_next = NULL; int invalid = 0; char *str;...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq $0x0, -0x30(%rbp) testq %rdi, %rdi je 0x61d33 movq %rsi, %rbx testq %rsi, %rsi je 0x61d52 movq %rdi, %r14 cmpq %rbx, %rdi je 0x61d1e movl %ecx, %r12d movl %edx, -0x50(%rbp) movq (%r14), %rdi callq 0xca40 movq %rax, %...
/RIFTIO[P]libyang/src/tree_data.c
lyd_node_pos_cmp
static int lyd_node_pos_cmp(const void *item1, const void *item2) { uint32_t mpos1, mpos2; struct lyd_node_pos *np1, *np2; np1 = (struct lyd_node_pos *)item1; np2 = (struct lyd_node_pos *)item2; /* different modules? */ if (lys_node_module(np1->node->schema) != lys_node_module(np2->node->schem...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax movq (%rax), %rdi callq 0xd830 movq %rax, %r15 movq (%rbx), %rax movq (%rax), %rdi callq 0xd830 cmpq %rax, %r15 je 0x61e20 movq (%r14), %rax movq (%rax), %rdi callq 0xd830 movq %rax, %rdi callq 0x64d...
/RIFTIO[P]libyang/src/tree_data.c
lyd_defaults_add_unres
int lyd_defaults_add_unres(struct lyd_node **root, int options, struct ly_ctx *ctx, const struct lyd_node *data_tree, struct lyd_node *act_notif, struct unres_data *unres) { struct lyd_node *msg_sibling = NULL, *msg_parent = NULL, *data_tree_sibling = NULL, *data_tree_parent = NULL; int r...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, -0x50(%rbp) btl $0x8, %esi jb 0x62a8e testq %rdi, %rdi je 0x62a8e testq %r9, %r9 je 0x62a8e movq %rdx, %r10 movl %esi, %r15d testq %rcx, %rcx je 0x623eb movq 0x20(%rcx), %rax cmpq $0x0, 0x18(%rax) jne 0x62aad bt...
/RIFTIO[P]libyang/src/tree_data.c
lyd_dup_common
static int lyd_dup_common(struct lyd_node *parent, struct lyd_node *new, const struct lyd_node *orig, struct ly_ctx *ctx) { struct lyd_attr *attr; const struct lys_module *trg_mod; /* fill common part */ if (ctx) { /* we are changing the context, so we have to get the correct schema node in the...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq %rcx, -0x40(%rbp) testq %rcx, %rcx movq %rdx, -0x38(%rbp) je 0x62c82 testq %r15, %r15 je 0x62c8a movq (%r15), %rdi callq 0xd830 movq %rax, %r12 movq (%r14), %rax movq 0...
/RIFTIO[P]libyang/src/tree_data.c
ly_set_dup
ly_set * ly_set_dup(const struct ly_set *set) { struct ly_set *new; if (!set) { return NULL; } new = malloc(sizeof *new); new->number = set->number; new->size = set->size; new->set.g = malloc(new->size * sizeof *(new->set.g)); memcpy(new->set.g, set->set.g, new->size * sizeof *...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x64221 movq %rdi, %r14 movl $0x10, %edi callq 0xced0 movq %rax, %rbx movl 0x4(%r14), %eax movl %eax, 0x4(%rbx) movl (%r14), %r15d movl %r15d, (%rbx) shlq $0x3, %r15 movq %r15, %rdi callq 0xced0 movq %rax, 0x8(%rbx) movq 0x8(%r14...
/RIFTIO[P]libyang/src/tree_data.c
ly_set_rm_index
API int ly_set_rm_index(struct ly_set *set, unsigned int index) { if (!set || (index + 1) > set->number) { ly_errno = LY_EINVAL; return EXIT_FAILURE; } if (index == set->number - 1) { /* removing last item in set */ set->set.g[index] = NULL; } else { /* removing ...
testq %rdi, %rdi je 0x64240 leal 0x1(%rsi), %ecx movl 0x4(%rdi), %eax cmpl %eax, %ecx jbe 0x64256 pushq %rbp movq %rsp, %rbp callq 0xd7a0 movl $0x3, (%rax) movl $0x1, %eax popq %rbp retq decl %eax movq 0x8(%rdi), %rdx cmpl %esi, %eax jne 0x64268 movl %esi, %ecx leaq (%rdx,%rcx,8), %rcx jmp 0x6427c movl %eax, %ecx movq ...
/RIFTIO[P]libyang/src/tree_data.c
nscmp
int nscmp(const struct lyd_node *node1, const struct lyd_node *node2) { /* we have to cover submodules belonging to the same module */ if (lys_node_module(node1->schema) == lys_node_module(node2->schema)) { /* belongs to the same module */ return 0; } else { /* different modules */ ...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movq %rsi, %rbx movq (%rdi), %rdi callq 0xd830 movq %rax, %r14 movq (%rbx), %rdi callq 0xd830 xorl %ecx, %ecx cmpq %rax, %r14 setne %cl movl %ecx, %eax popq %rbx popq %r14 popq %rbp retq
/RIFTIO[P]libyang/src/printer.c
write_iff
static int write_iff(struct lyout *out, const struct lys_module *module, struct lys_iffeature *expr, int module_name_or_prefix, int *index_e, int *index_f) { int count = 0, brackets_flag = *index_e; uint8_t op; op = iff_getop(expr->expr, *index_e); (*index_e)++; switch (op) { case LY...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, -0x50(%rbp) movq %r8, %r15 movl %ecx, -0x40(%rbp) movq %rsi, -0x48(%rbp) movq %rdi, -0x38(%rbp) leaq 0x246b0(%rip), %r14 # 0x8aae7 movl $0x0, -0x2c(%rbp) movl (%r15), %r12d movq %rdx, %rbx movq (%rdx), %rdi ...
/RIFTIO[P]libyang/src/printer.c
lyd_print_mem
API int lyd_print_mem(char **strp, const struct lyd_node *root, LYD_FORMAT format, int options) { struct lyout out; int r; if (!strp) { ly_errno = LY_EINVAL; return EXIT_FAILURE; } out.type = LYOUT_MEMORY; out.method.mem.buf = NULL; out.method.mem.len = 0; out.method.me...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x20, %rsp testq %rdi, %rdi je 0x66953 movq %rdi, %rbx leaq -0x30(%rbp), %r14 movl $0x2, (%r14) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%r14) movq $0x0, 0x18(%r14) movq %r14, %rdi callq 0x66865 movq 0x8(%r14), %rcx movq %rcx, (%rbx) jmp 0x66963 callq 0xd7a0 movl $0x3,...
/RIFTIO[P]libyang/src/printer.c
main
int main() { std::string first = "Hello "; std::string second = "World"; std::string buffer = first + second; std::cout << buffer << "\n"; }
pushq %r15 pushq %r14 pushq %rbx subq $0x60, %rsp leaq 0x50(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xdef(%rip), %rsi # 0x2004 leaq 0xdee(%rip), %rdx # 0x200a leaq 0x40(%rsp), %rdi callq 0x1390 leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xdd5(%rip), %rsi # 0x200b leaq 0xdd3(%rip), %rdx # ...
/patricia-gallardo[P]insecure-coding-examples/practice/guidelines/standard_library/use_string_for_strings.cpp
HBLAS1::HBLAS1V::hblas1_swapv_invoker()
BOOST_AUTO_TEST_CASE(hblas1_swapv) { // Random Quaternion vector std::vector<HAXX::quaternion<double>> X(HBLAS1_VECLEN), Y(HBLAS1_VECLEN); for(auto &x : X) x = HAXX::quaternion<double>(dis(gen),dis(gen),dis(gen),dis(gen)); for(auto &x : Y) x = HAXX::quaternion<double>(dis(gen),dis(gen),dis(gen),dis(gen...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x136b18(%rip), %rbx # 0x16a680 leaq 0x114d54(%rip), %r12 # 0x1488c3 movq %r12, 0x60(%rsp) leaq 0x114da0(%rip), %r13 # 0x14891b movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas1.cxx
HBLAS1::HBLAS1V::hblas1_scalv_invoker()
BOOST_AUTO_TEST_CASE(hblas1_scalv) { // Random Quaternion vector std::vector<HAXX::quaternion<double>> X(HBLAS1_VECLEN); for(auto &x : X) x = HAXX::quaternion<double>(dis(gen),dis(gen),dis(gen),dis(gen)); // Random scaling factors double rAlpha = dis(gen); std::complex<double> c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x135c59(%rip), %rbx # 0x16a680 leaq 0x113e95(%rip), %r12 # 0x1488c3 movq %r12, 0x60(%rsp) leaq 0x113ee1(%rip), %r13 # 0x14891b movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas1.cxx
HBLAS1::HBLAS1V::hblas1_copyv_invoker()
BOOST_AUTO_TEST_CASE(hblas1_copyv) { // Random Quaternion vector std::vector<HAXX::quaternion<double>> X(HBLAS1_VECLEN), Y(HBLAS1_VECLEN); for(auto &x : X) x = HAXX::quaternion<double>(dis(gen),dis(gen),dis(gen),dis(gen)); // Check swap when both strides are equal for(int stride : strides) { std::...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x134a9a(%rip), %rbx # 0x16a680 leaq 0x112cd6(%rip), %r12 # 0x1488c3 movq %r12, 0x60(%rsp) leaq 0x112d22(%rip), %r13 # 0x14891b movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas1.cxx
HBLAS2::hblas2_gemv_square_NCC_LDSame_invoker()
BOOST_AUTO_TEST_CASE(hblas2_gemv_square_NCC_LDSame) { hblas2_gemv_square_LDSame<std::complex<double>,std::complex<double>,'N'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x12cd49(%rip), %rbx # 0x16cdf0 leaq 0x1094c1(%rip), %r12 # 0x14956f movq %r12, 0x60(%rsp) leaq 0x10950d(%rip), %r13 # 0x1495c7 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas2.cxx
HBLAS2::hblas2_gemv_square_TCC_LDSame_invoker()
BOOST_AUTO_TEST_CASE(hblas2_gemv_square_TCC_LDSame) { hblas2_gemv_square_LDSame<std::complex<double>,std::complex<double>,'T'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x12c5fb(%rip), %rbx # 0x16cdf0 leaq 0x108d73(%rip), %r12 # 0x14956f movq %r12, 0x60(%rsp) leaq 0x108dbf(%rip), %r13 # 0x1495c7 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas2.cxx
void HBLAS2::hblas2_gemv_square_LDSame<HAXX::quaternion<double>, double, (char)78>()
BOOST_AUTO_TEST_CASE(hblas2_gemv_square_CQR_LDSame) { hblas2_gemv_square_LDSame<HAXX::quaternion<double>,double,'C'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x358, %rsp # imm = 0x358 movl $0x4e200, %edi # imm = 0x4E200 callq 0x23510 movq %rax, %rbx movl $0x4e200, %edx # imm = 0x4E200 movq %rax, %rdi xorl %esi, %esi callq 0x232d0 movl $0xc80, %edi # imm = 0xC80 ca...
/wavefunction91[P]HAXX/tests/hblas2.cxx
void HBLAS2::hblas2_gemv_square_LDSame<HAXX::quaternion<double>, double, (char)67>()
BOOST_AUTO_TEST_CASE(hblas2_gemv_square_CQR_LDSame) { hblas2_gemv_square_LDSame<HAXX::quaternion<double>,double,'C'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x368, %rsp # imm = 0x368 movl $0x4e200, %edi # imm = 0x4E200 callq 0x23510 movq %rax, %r13 movl $0x4e200, %edx # imm = 0x4E200 movq %rax, %rdi xorl %esi, %esi callq 0x232d0 movl $0xc80, %edi # imm = 0xC80 ca...
/wavefunction91[P]HAXX/tests/hblas2.cxx
HBLAS3::hblas3_gemm_square_HH_TN_HD_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_TN_HD) { hblas3_gemm<qd,qd,qd,d,'T','N'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0x10135f(%rip), %rbx # 0x16f578 leaq 0xdc0cf(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xdc11b(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_NC_DH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_NC_DH) { hblas3_gemm<qd,qd,d,qd,'N','C'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xf13b5(%rip), %rbx # 0x16f578 leaq 0xcc125(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xcc171(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_TN_DH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_TN_DH) { hblas3_gemm<qd,qd,d,qd,'T','N'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xf0c67(%rip), %rbx # 0x16f578 leaq 0xcb9d7(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xcba23(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_TT_DH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_TT_DH) { hblas3_gemm<qd,qd,d,qd,'T','T'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xf0519(%rip), %rbx # 0x16f578 leaq 0xcb289(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xcb2d5(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_CT_DH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_CT_DH) { hblas3_gemm<qd,qd,d,qd,'C','T'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xeef2f(%rip), %rbx # 0x16f578 leaq 0xc9c9f(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xc9ceb(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_NN_ZH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_NN_ZH) { hblas3_gemm<qd,qd,cd,qd,'N','N'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xee093(%rip), %rbx # 0x16f578 leaq 0xc8e03(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xc8e4f(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
HBLAS3::hblas3_gemm_square_HH_NC_ZH_invoker()
BOOST_AUTO_TEST_CASE(hblas3_gemm_square_HH_NC_ZH) { hblas3_gemm<qd,qd,cd,qd,'N','C'>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq 0xed1f7(%rip), %rbx # 0x16f578 leaq 0xc7f67(%rip), %r12 # 0x14a2ef movq %r12, 0x60(%rsp) leaq 0xc7fb3(%rip), %r13 # 0x14a347 movq %r13, 0x68(%rsp) vxorps %xmm0, %xmm0, %xmm0 leaq 0x70(%rsp), %r1...
/wavefunction91[P]HAXX/tests/hblas3.cxx
showTime(SSD1306::OledPixel&)
void showTime( SSD1306::OledPixel& pixels) { //--------------------------------------------------------------------- pixels.clear(); //--------------------------------------------------------------------- time_t now; time(&now); struct tm* tm = localtime(&now); //--------------------...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq 0x60(%rsp), %rdi movq (%rdi), %rax callq *0x10(%rax) leaq 0x58(%rsp), %rdi callq 0x81e0 leaq 0x58(%rsp), %rdi callq 0x81b0 movq %rax, 0x50(%rsp) movq 0x50(%rsp), %rax movl 0x8(%rax), %eax movl $0xc, %ecx cltd idivl %ecx cvtsi2sd %edx, %xmm0 movsd 0x69b7(%rip), %xmm1 # 0xf...
/AndrewFromMelbourne[P]libSSD1306/examples/analog.cxx
LinuxKeys::LinuxKeys()
LinuxKeys::LinuxKeys() : stdinFd_{fileno(stdin)}, originalTermios_{} { tcgetattr(stdinFd_, &originalTermios_); struct termios term; memcpy(&term, &originalTermios_, sizeof(term)); term.c_lflag &= ~(ICANON|ECHO); tcsetattr(stdinFd_, TCSANOW, &term); setbuf(stdin...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x9456(%rip), %rax # 0x12fc0 movq (%rax), %rdi callq 0x8220 movq 0x8(%rsp), %rdi movl %eax, (%rdi) addq $0x4, %rdi xorl %esi, %esi movl $0x3c, %edx callq 0x8120 movq 0x8(%rsp), %rsi movl (%rsi), %edi addq $0x4, %rsi callq 0x8240...
/AndrewFromMelbourne[P]libSSD1306/examples/LinuxKeys.cxx
SSD1306::oppositeStyle(SSD1306::PixelStyle)
SSD1306::PixelStyle SSD1306::oppositeStyle( PixelStyle style) { PixelStyle opposite{PixelStyle::None}; switch (style) { case PixelStyle::Set: opposite = PixelStyle::Unset; break; case PixelStyle::Unset: opposite = PixelStyle::Set; break; case PixelStyle::...
movl %edi, -0x4(%rsp) movl $0x3, -0x8(%rsp) movl -0x4(%rsp), %eax movq %rax, -0x10(%rsp) subq $0x3, %rax ja 0x9d56 movq -0x10(%rsp), %rax leaq 0x5385(%rip), %rcx # 0xf0ac movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x1, -0x8(%rsp) jmp 0x9d56 movl $0x0, -0x8(%rsp) jmp 0x9d56 movl $0x2, -0x8(%rsp) jm...
/AndrewFromMelbourne[P]libSSD1306/lib/OledPixel.cxx
SSD1306::OledI2C::fillWith(unsigned char)
void SSD1306::OledI2C::fillWith( uint8_t value) { for (auto& block : blocks_) { auto& bytes = block.bytes_; for (auto byte = bytes.begin() + SSD1306::OledI2C::DataOffset ; byte != bytes.end() ; ++byte) { if (*byte != value) { ...
subq $0x48, %rsp movb %sil, %al movq %rdi, 0x40(%rsp) movb %al, 0x3f(%rsp) movq 0x40(%rsp), %rax addq $0x38, %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rdi callq 0xc7a0 movq %rax, 0x28(%rsp) movq 0x30(%rsp), %rdi callq 0xc7b0 movq %rax, 0x20(%rsp) movq 0x28(%rsp), %rax cmpq 0x20(%rsp), %rax je 0xb25b movq 0x28(%rsp),...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledI2C::setPixel(SSD1306::Point<int>)
void SSD1306::OledI2C::setPixel( SSD1306::OledPoint p) { if (not pixelInside(p)) { return; } PixelOffset po{p}; if ((blocks_[po.block].bytes_[po.byte] & (1 << po.bit)) == 0) { blocks_[po.block].bytes_[po.byte] |= (1 << po.bit); if (not blocks_[po.block].dirty_) ...
subq $0x48, %rsp movq %rsi, 0x40(%rsp) movq %rdi, 0x38(%rsp) movq 0x38(%rsp), %rdi movq %rdi, 0x10(%rsp) addq $0x8, %rdi movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rsi callq 0x9e00 testb $0x1, %al jne 0xb449 jmp 0xb505 movq 0x40(%rsp), %rax movq %rax, 0x1c(%rsp) movq 0x1c(%rsp), %rsi leaq 0x24(%rsp),...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledI2C::unsetPixel(SSD1306::Point<int>)
void SSD1306::OledI2C::unsetPixel( SSD1306::OledPoint p) { if (not pixelInside(p)) { return; } PixelOffset po{p}; if ((blocks_[po.block].bytes_[po.byte] & (1 << po.bit)) != 0) { blocks_[po.block].bytes_[po.byte] &= ~(1 << po.bit); if (not blocks_[po.block].dirty_) ...
subq $0x48, %rsp movq %rsi, 0x40(%rsp) movq %rdi, 0x38(%rsp) movq 0x38(%rsp), %rdi movq %rdi, 0x10(%rsp) addq $0x8, %rdi movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rsi callq 0x9e00 testb $0x1, %al jne 0xb569 jmp 0xb628 movq 0x40(%rsp), %rax movq %rax, 0x1c(%rsp) movq 0x1c(%rsp), %rsi leaq 0x24(%rsp),...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledI2C::xorPixel(SSD1306::Point<int>)
void SSD1306::OledI2C::xorPixel( SSD1306::OledPoint p) { if (not pixelInside(p)) { return; } PixelOffset po{p}; if ((blocks_[po.block].bytes_[po.byte] & (1 << po.bit)) == 0) { blocks_[po.block].bytes_[po.byte] |= (1 << po.bit); } else { blocks_[po.block]...
subq $0x48, %rsp movq %rsi, 0x40(%rsp) movq %rdi, 0x38(%rsp) movq 0x38(%rsp), %rdi movq %rdi, 0x10(%rsp) addq $0x8, %rdi movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rsi callq 0x9e00 testb $0x1, %al jne 0xb689 jmp 0xb782 movq 0x40(%rsp), %rax movq %rax, 0x1c(%rsp) movq 0x1c(%rsp), %rsi leaq 0x24(%rsp),...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledI2C::displayUpdate()
void SSD1306::OledI2C::displayUpdate() { uint8_t page{0}; uint8_t column{0}; for (auto& block : blocks_) { if (block.dirty_) { uint8_t column_low = column & 0xF; uint8_t column_high = (column >> 4) & 0x0F; sendCommand(OLED_SET_PAGE_START_ADDRESS_MASK...
subq $0xe8, %rsp movq %rdi, 0xe0(%rsp) movq 0xe0(%rsp), %rax movq %rax, 0x38(%rsp) movb $0x0, 0xdf(%rsp) movb $0x0, 0xde(%rsp) addq $0x38, %rax movq %rax, 0xd0(%rsp) movq 0xd0(%rsp), %rdi callq 0xc7a0 movq %rax, 0xc8(%rsp) movq 0xd0(%rsp), %rdi callq 0xc7b0 movq %rax, 0xc0(%rsp) movq 0xc8(%rsp), %rax cmpq 0xc0(%rsp), %...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledI2C::sendCommand(unsigned char, unsigned char, unsigned char) const
void SSD1306::OledI2C::sendCommand( uint8_t command, uint8_t v1, uint8_t v2) const { std::array<uint8_t, 4> data{OLED_COMMAND, command, v1, v2}; if (::write(fd_.fd(), data.data(), data.size()) == -1) { std::string what( "write " __FILE__ "(" + std::to_string(__LI...
subq $0xb8, %rsp movb %cl, %al movb %dl, %cl movb %sil, %dl movq %rdi, 0xb0(%rsp) movb %dl, 0xaf(%rsp) movb %cl, 0xae(%rsp) movb %al, 0xad(%rsp) movq 0xb0(%rsp), %rdi movb $0x0, 0xa9(%rsp) movb 0xaf(%rsp), %al movb %al, 0xaa(%rsp) movb 0xae(%rsp), %al movb %al, 0xab(%rsp) movb 0xad(%rsp), %al movb %al, 0xac(%rsp) addq ...
/AndrewFromMelbourne[P]libSSD1306/lib/OledI2C.cxx
SSD1306::OledBitmap<128, 64>::xorPixel(SSD1306::Point<int>)
void xorPixel( SSD1306::OledPoint p) override { if (not pixelInside(p)) { return; } PixelOffset offset{p}; if (blocks_[offset.block][offset.byte] & (1 << offset.bit)) { blocks_[offset.block][offset.byte] &= ~(1 << offset.bit); ...
subq $0x48, %rsp movq %rsi, 0x40(%rsp) movq %rdi, 0x38(%rsp) movq 0x38(%rsp), %rdi movq %rdi, 0x10(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rsi callq 0x9e00 testb $0x1, %al jne 0xd0b5 jmp 0xd17e movq 0x40(%rsp), %rax movq %rax, 0x1c(%rsp) movq 0x1c(%rsp), %rsi leaq 0x24(%rsp), %rdi callq 0xd2...
/AndrewFromMelbourne[P]libSSD1306/lib/OledBitmap.h
aliyun::Ons::CreateOnsClient(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Ons* Ons::CreateOnsClient(std::string endpoint, std::string appid, std::string secret) { std::string host_name = AliGetEndpointHost(endpoint, "Ons"); if(host_name.empty()) { return NULL; } return new Ons(host_name, appid, secret); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc0, %rsp movq %rdx, %r14 movq %rsi, %r15 leaq 0x90(%rsp), %rbx movq %rbx, -0x10(%rbx) movq (%rdi), %rsi movq 0x8(%rdi), %rdx addq %rsi, %rdx leaq 0x80(%rsp), %rdi callq 0x2fcb0 leaq 0x70(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x8b44a(%rip), %rsi # 0xbf...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons.cc
aliyun::Ons::Ons(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Ons::Ons(std::string host, std::string appid, std::string secret) { appid_ = strdup(appid.c_str()); secret_ = strdup(secret.c_str()); version_ = strdup("2015-10-20"); region_id_ = NULL; use_tls_ = true; support_tls_ = true; host_ = strdup(host.c_str()); proxy_host_ = NULL; }
pushq %r15 pushq %r14 pushq %rbx movq %rcx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq (%rdx), %rdi callq 0x32ff0 movq %rax, (%rbx) movq (%r14), %rdi callq 0x32ff0 movq %rax, 0x8(%rbx) leaq 0x8b204(%rip), %rdi # 0xbf004 callq 0x32ff0 movq %rax, 0x10(%rbx) xorl %r14d, %r14d movq %r14, 0x30(%rbx) movw $0x101, 0x28(%rb...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons.cc
Json::Reader::~Reader()
class JSON_API Reader { public: typedef char Char; typedef const Char *Location; /** \brief Constructs a Reader allowing all features * for parsing. */ Reader(); /** \brief Constructs a Reader allowing the specified feature set * for parsing. */ Re...
pushq %rbx movq %rdi, %rbx movq 0xe8(%rdi), %rdi leaq 0xf8(%rbx), %rax cmpq %rax, %rdi je 0x350b6 movq (%rax), %rsi incq %rsi callq 0x31380 movq 0xa0(%rbx), %rdi leaq 0xb0(%rbx), %rax cmpq %rax, %rdi je 0x350d4 movq (%rax), %rsi incq %rsi callq 0x31380 leaq 0x50(%rbx), %rdi callq 0x305b0 movq %rbx, %rdi popq %rbx jmp 0...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/jsoncpp/include/json/reader.h
aliyun::Ons::OnsClusterList(aliyun::OnsOnsClusterListRequestType const&, aliyun::OnsOnsClusterListResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsClusterList(const OnsOnsClusterListRequestType& req, OnsOnsClusterListResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::string secheme = this->use_tls_ ? "...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x4c8, %rsp # imm = 0x4C8 movq %rcx, %r15 movq %rdx, 0x40(%rsp) movq %rdi, %r12 leaq 0x140(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x89d1b(%rip), %rdx # 0xbf039 leaq 0x8...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_cluster_list.cc
aliyun::Ons::OnsTrendClusterInputTps(aliyun::OnsOnsTrendClusterInputTpsRequestType const&, aliyun::OnsOnsTrendClusterInputTpsResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsTrendClusterInputTps(const OnsOnsTrendClusterInputTpsRequestType& req, OnsOnsTrendClusterInputTpsResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::string s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x478, %rsp # imm = 0x478 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %r12 leaq 0x78(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x56d74(%rip), %rdx # 0xbf039 leaq 0x56d73(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_trend_cluster_input_tps.cc
aliyun::Ons::OnsTrendClusterOutputTps(aliyun::OnsOnsTrendClusterOutputTpsRequestType const&, aliyun::OnsOnsTrendClusterOutputTpsResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsTrendClusterOutputTps(const OnsOnsTrendClusterOutputTpsRequestType& req, OnsOnsTrendClusterOutputTpsResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::strin...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x478, %rsp # imm = 0x478 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %r12 leaq 0x78(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x5594c(%rip), %rdx # 0xbf039 leaq 0x5594b(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_trend_cluster_output_tps.cc
aliyun::Ons::OnsTrendGetMachineSar(aliyun::OnsOnsTrendGetMachineSarRequestType const&, aliyun::OnsOnsTrendGetMachineSarResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsTrendGetMachineSar(const OnsOnsTrendGetMachineSarRequestType& req, OnsOnsTrendGetMachineSarResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::string secheme...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x4f8, %rsp # imm = 0x4F8 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %r12 leaq 0x78(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x54524(%rip), %rdx # 0xbf039 leaq 0x54523(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_trend_get_machine_sar.cc
aliyun::Ons::OnsTrendTopicInputTps(aliyun::OnsOnsTrendTopicInputTpsRequestType const&, aliyun::OnsOnsTrendTopicInputTpsResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsTrendTopicInputTps(const OnsOnsTrendTopicInputTpsRequestType& req, OnsOnsTrendTopicInputTpsResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::string secheme...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x478, %rsp # imm = 0x478 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %r12 leaq 0x78(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x519ec(%rip), %rdx # 0xbf039 leaq 0x519eb(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_trend_topic_input_tps.cc
aliyun::Ons::OnsWarnDelete(aliyun::OnsOnsWarnDeleteRequestType const&, aliyun::OnsOnsWarnDeleteResponseType*, aliyun::OnsErrorInfo*)
int Ons::OnsWarnDelete(const OnsOnsWarnDeleteRequestType& req, OnsOnsWarnDeleteResponseType* response, OnsErrorInfo* error_info) { std::string str_response; int status_code; int ret = 0; bool parse_success = false; std::string secheme = this->use_tls_ ? "htt...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3f8, %rsp # imm = 0x3F8 movq %rcx, %r15 movq %rdx, 0x40(%rsp) movq %rdi, %r12 leaq 0x78(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) movzbl 0x29(%rdi), %ecx leaq 0x4e48a(%rip), %rdx # 0xbf039 leaq 0x4e...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun-api-ons/2015-10-20/src/ali_ons_ons_warn_delete.cc
aliyun::AliGetEndpointHost(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string AliGetEndpointHost(std::string region, std::string product) { std::string ret; for(int i = 0; regions[i].region_name_ ; i++) { for(int j = 0; regions[i].productions[j].product_name_ ; j++) { if(regions[i].productions[j].product_name_ == product) { ret = regions[i].productions[j].d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rsp) movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) leaq 0x78e81(%rip), %rax # 0xefa50 xorl %r13d, %r13d movq 0x8(%rax), %rbp movq (%rbp), %rsi testq %rsi, %r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/ali_get_region_host.cc
mbedtls_ripemd160
void mbedtls_ripemd160( const unsigned char *input, size_t ilen, unsigned char output[20] ) { mbedtls_ripemd160_context ctx; mbedtls_ripemd160_init( &ctx ); mbedtls_ripemd160_starts( &ctx ); mbedtls_ripemd160_update( &ctx, input, ilen ); mbedtls_ripemd160_finish( &ctx, output ); ...
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %rsi xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, (%r14) movaps %xmm0, 0x10(%r14) movups %xmm0, 0x4c(%r14) movaps %xmm0, 0x40(%r14) movaps %xmm0, 0x30(%r14) movaps %xmm0, 0x20(%r14) movabsq $-0x1032547698badcff, %rax # imm = 0xEFCDAB8...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ripemd160.c
mbedtls_ripemd160_self_test
int mbedtls_ripemd160_self_test( int verbose ) { int i; unsigned char output[20]; memset( output, 0, sizeof output ); for( i = 0; i < TESTS; i++ ) { if( verbose != 0 ) mbedtls_printf( " RIPEMD-160 test #%d: ", i + 1 ); mbedtls_ripemd160( (const unsigned char *) ripemd...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edi, %ebx pxor %xmm0, %xmm0 movq %rsp, %r14 movdqa %xmm0, (%r14) movl $0x0, 0x10(%r14) movl $0x1, %ebp leaq 0x454bc(%rip), %r15 # 0xc3e40 xorl %r12d, %r12d testl %ebx, %ebx je 0x7e99b leaq 0x4539e(%rip), %rdi # 0xc3d30 movl...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ripemd160.c
mbedtls_sha1_starts
void mbedtls_sha1_starts( mbedtls_sha1_context *ctx ) { ctx->total[0] = 0; ctx->total[1] = 0; ctx->state[0] = 0x67452301; ctx->state[1] = 0xEFCDAB89; ctx->state[2] = 0x98BADCFE; ctx->state[3] = 0x10325476; ctx->state[4] = 0xC3D2E1F0; }
movaps 0x452b1(%rip), %xmm0 # 0xc3d20 movups %xmm0, (%rdi) movabsq $0x1032547698badcfe, %rax # imm = 0x1032547698BADCFE movq %rax, 0x10(%rdi) movl $0xc3d2e1f0, 0x18(%rdi) # imm = 0xC3D2E1F0 retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
mbedtls_sha1_process
void mbedtls_sha1_process( mbedtls_sha1_context *ctx, const unsigned char data[64] ) { uint32_t temp, W[16], A, B, C, D, E; GET_UINT32_BE( W[ 0], data, 0 ); GET_UINT32_BE( W[ 1], data, 4 ); GET_UINT32_BE( W[ 2], data, 8 ); GET_UINT32_BE( W[ 3], data, 12 ); GET_UINT32_BE( W[ 4], data, 16 ); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r14 movl (%rsi), %ebp movl 0x4(%rsi), %r13d bswapl %ebp bswapl %r13d movl 0x8(%rsi), %r15d movq %rdi, -0x10(%rsp) movl 0x8(%rdi), %edx movl 0xc(%rdi), %r11d movl 0x10(%rdi), %r10d movl 0x14(%rdi), %ecx movl 0x18(%rdi), %esi movq %rsi, -0x8(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
mbedtls_sha1_update
void mbedtls_sha1_update( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) { size_t fill; uint32_t left; if( ilen == 0 ) return; left = ctx->total[0] & 0x3F; fill = 64 - left; ctx->total[0] += (uint32_t) ilen; ctx->total[0] &= 0xFFFFFFFF; if( ctx->total[0]...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax testq %rdx, %rdx je 0x7fc75 movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %ecx movl %ecx, %eax andl $0x3f, %eax movl %edx, %esi addl %ecx, %esi movl %esi, (%rdi) jae 0x7fbe4 incl 0x4(%r14) xorl %ebp, %ebp testl %eax, %eax je 0x7fc02 movl $0x40,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
mbedtls_sha1_finish
void mbedtls_sha1_finish( mbedtls_sha1_context *ctx, unsigned char output[20] ) { uint32_t last, padn; uint32_t high, low; unsigned char msglen[8]; high = ( ctx->total[0] >> 29 ) | ( ctx->total[1] << 3 ); low = ( ctx->total[0] << 3 ); PUT_UINT32_BE( high, msglen, 0 ); PUT_UINT3...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movl (%rdi), %eax movl 0x4(%rdi), %ecx shldl $0x3, %eax, %ecx movq %rsi, %r14 leal (,%rax,8), %edx movl %ecx, %esi shrl $0x18, %esi leaq 0x8(%rsp), %r15 movb %sil, (%r15) movl %ecx, %esi shrl $0x10, %esi movb %sil, 0x1(%r15) movb %ch, 0xa(%rsp) movb %cl,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
mbedtls_sha1_self_test
int mbedtls_sha1_self_test( int verbose ) { int i, j, buflen, ret = 0; unsigned char buf[1024]; unsigned char sha1sum[20]; mbedtls_sha1_context ctx; mbedtls_sha1_init( &ctx ); /* * SHA-1 */ for( i = 0; i < 3; i++ ) { if( verbose != 0 ) mbedtls_printf( " S...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x488, %rsp # imm = 0x488 movl %edi, %ebx pxor %xmm0, %xmm0 leaq 0x20(%rsp), %r14 movdqu %xmm0, 0x4c(%r14) movdqa %xmm0, 0x40(%r14) movdqa %xmm0, 0x30(%r14) movdqa %xmm0, 0x20(%r14) movdqa %xmm0, 0x10(%r14) movdqa %xmm0, (%r14) leaq 0x80...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
ssl_calc_verify_ssl
void ssl_calc_verify_ssl( mbedtls_ssl_context *ssl, unsigned char hash[36] ) { mbedtls_md5_context md5; mbedtls_sha1_context sha1; unsigned char pad_1[48]; unsigned char pad_2[48]; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify ssl" ) ); mbedtls_md5_init( &md5 ); mbedtls_sha1_init( &sha1 ); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rsi, %r15 movq %rdi, %rbx leaq 0x4222d(%rip), %rdx # 0xc4a2c leaq 0x432f9(%rip), %r8 # 0xc5aff movl $0x2, %esi movl $0x3c1, %ecx # imm = 0x3C1 xorl %eax, %eax callq 0x330b0 leaq 0x74(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
ssl_calc_verify_tls
void ssl_calc_verify_tls( mbedtls_ssl_context *ssl, unsigned char hash[36] ) { mbedtls_md5_context md5; mbedtls_sha1_context sha1; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> calc verify tls" ) ); mbedtls_md5_init( &md5 ); mbedtls_sha1_init( &sha1 ); mbedtls_md5_clone( &md5, &ssl->handshake->fin_md5 ); ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc0, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x419f2(%rip), %r14 # 0xc4a2c leaq 0x42af9(%rip), %r8 # 0xc5b3a movl $0x2, %esi movq %r14, %rdx movl $0x3f0, %ecx # imm = 0x3F0 xorl %eax, %eax callq 0x330b0 leaq 0xc(%rsp), %r12 movq %r12, %...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_psk_derive_premaster
int mbedtls_ssl_psk_derive_premaster( mbedtls_ssl_context *ssl, mbedtls_key_exchange_type_t key_ex ) { unsigned char *p = ssl->handshake->premaster; unsigned char *end = p + sizeof( ssl->handshake->premaster ); const unsigned char *psk = ssl->conf->psk; size_t psk_len = ssl->conf->psk_len; /* If th...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq (%rdi), %rax movq 0x60(%rdi), %r13 movq 0x378(%r13), %r14 testq %r14, %r14 jne 0x837a2 leaq 0x120(%rax), %rcx movq 0x118(%rax), %r14 jmp 0x837a9 leaq 0x380(%r13), %rcx addl $-0x5, %esi cmpl $0x3, %esi ja 0x838da leaq...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_resend
int mbedtls_ssl_resend( mbedtls_ssl_context *ssl ) { MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> mbedtls_ssl_resend" ) ); if( ssl->handshake->retransmit_state != MBEDTLS_SSL_RETRANS_SENDING ) { MBEDTLS_SSL_DEBUG_MSG( 2, ( "initialise resending" ) ); ssl->handshake->cur_msg = ssl->handshake->flight; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x409c4(%rip), %rdx # 0xc4a2c leaq 0x40dcd(%rip), %r8 # 0xc4e3c movl $0x2, %esi movl $0xa19, %ecx # imm = 0xA19 xorl %eax, %eax callq 0x330b0 movq 0x60(%rbx), %rax cmpb $0x1, 0x3d4(%rax) je 0x840d4 leaq...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_write_record
int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl ) { int ret, done = 0; size_t len = ssl->out_msglen; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write record" ) ); #if defined(MBEDTLS_SSL_PROTO_DTLS) if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && ssl->handshake != NULL && ssl...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq 0x158(%rdi), %r13 leaq 0x404e3(%rip), %rdx # 0xc4a2c leaq 0x40966(%rip), %r8 # 0xc4eb6 movl $0x2, %esi movl $0xa87, %ecx # imm = 0xA87 xorl %eax, %eax callq 0x330b0 movq (%rbx), %rax testb $0x2, 0...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_optimize_checksum
void mbedtls_ssl_optimize_checksum( mbedtls_ssl_context *ssl, const mbedtls_ssl_ciphersuite_t *ciphersuite_info ) { ((void) ciphersuite_info); #if defined(MBEDTLS_SSL_PROTO_SSL3) || defined(MBEDTLS_SSL_PROTO_TLS1) || \ defined(MBEDTLS_SSL_PROTO_TLS1_1) if( ssl->minor_ver < MBEDT...
cmpl $0x2, 0x18(%rdi) jg 0x88210 movq 0x60(%rdi), %rax leaq 0x24(%rip), %rcx # 0x88232 jmp 0x8822a cmpl $0x7, 0x14(%rsi) movq 0x60(%rdi), %rax jne 0x88223 leaq 0x46(%rip), %rcx # 0x88267 jmp 0x8822a leaq 0x4e(%rip), %rcx # 0x88278 movq %rcx, 0x5f8(%rax) retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_session_free
void mbedtls_ssl_session_free( mbedtls_ssl_session *session ) { if( session == NULL ) return; #if defined(MBEDTLS_X509_CRT_PARSE_C) if( session->peer_cert != NULL ) { mbedtls_x509_crt_free( session->peer_cert ); mbedtls_free( session->peer_cert ); } #endif #if defined(MBEDTLS_S...
testq %rdi, %rdi je 0x8843a pushq %rbx movq %rdi, %rbx movq 0x68(%rdi), %rdi testq %rdi, %rdi je 0x8841f callq 0x32f90 movq 0x68(%rbx), %rdi callq 0x31900 movq 0x78(%rbx), %rdi callq 0x31900 xorl %eax, %eax movb $0x0, (%rbx,%rax) incq %rax cmpq $0x98, %rax jne 0x8842a popq %rbx retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_set_hs_psk
int mbedtls_ssl_set_hs_psk( mbedtls_ssl_context *ssl, const unsigned char *psk, size_t psk_len ) { if( psk == NULL || ssl->handshake == NULL ) return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); if( psk_len > MBEDTLS_PSK_MAX_LEN ) return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); ...
movl $0xffff8f00, %eax # imm = 0xFFFF8F00 testq %rsi, %rsi je 0x891a8 pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x60(%rdi), %rcx testq %rcx, %rcx sete %dl cmpq $0x21, %rbx setae %sil orb %dl, %sil jne 0x891a3 movq 0x378(%rcx), %rdi testq %rdi, %rdi je 0x89155 callq 0x31...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_conf_dh_param_ctx
int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx ) { int ret; if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) { mbedtls_mpi_free( &conf->dhm_P ); mbedtls_mpi_f...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %rbx leaq 0xe8(%rdi), %r14 addq $0x8, %rsi movq %r14, %rdi callq 0x33290 testl %eax, %eax jne 0x8925a leaq 0x100(%rbx), %rdi addq $0x20, %r15 movq %r15, %rsi callq 0x33290 testl %eax, %eax je 0x89280 movl %eax, %ebp movq %r14, %rdi callq ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_get_version
const char *mbedtls_ssl_get_version( const mbedtls_ssl_context *ssl ) { #if defined(MBEDTLS_SSL_PROTO_DTLS) if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) { switch( ssl->minor_ver ) { case MBEDTLS_SSL_MINOR_VERSION_2: return( "DTLSv1.0" ); c...
movq (%rdi), %rax testb $0x2, 0x164(%rax) movl 0x18(%rdi), %eax jne 0x89547 cmpl $0x3, %eax ja 0x8956d leaq 0x3b4dd(%rip), %rcx # 0xc4a1c movslq (%rcx,%rax,4), %rax addq %rcx, %rax retq cmpq $0x3, %rax leaq 0x3bf89(%rip), %rcx # 0xc54db leaq 0x3bf8b(%rip), %rdx # 0xc54e4 cmoveq %rcx, %rdx cmpq $0x2, %rax le...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
ssl_write_hello_request
static int ssl_write_hello_request( mbedtls_ssl_context *ssl ) { int ret; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write hello request" ) ); ssl->out_msglen = 4; ssl->out_msgtype = MBEDTLS_SSL_MSG_HANDSHAKE; ssl->out_msg[0] = MBEDTLS_SSL_HS_HELLO_REQUEST; if( ( ret = mbedtls_ssl_write_record( ssl ) ...
pushq %rbp pushq %r14 pushq %rbx movq %rdi, %r14 leaq 0x3b1f4(%rip), %rdx # 0xc4a2c leaq 0x3cd0a(%rip), %r8 # 0xc6549 xorl %ebx, %ebx movl $0x2, %esi movl $0x1844, %ecx # imm = 0x1844 xorl %eax, %eax callq 0x330b0 movq $0x4, 0x158(%r14) movl $0x16, 0x150(%r14) movq 0x148(%r14), %rax movb $0x0, (%rax)...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_read
int mbedtls_ssl_read( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) { int ret, record_read = 0; size_t n; if( ssl == NULL || ssl->conf == NULL ) return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> read" ) ); #if defined(MBEDTLS_SSL_PROTO_DTLS) if( ssl->c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $0xffff8f00, %ebp # imm = 0xFFFF8F00 testq %rdi, %rdi je 0x89c75 movq %rdi, %rbx cmpq $0x0, (%rdi) je 0x89c75 movq %rdx, %r14 movq %rsi, %r15 leaq 0x3b053(%rip), %rdx # 0xc4a2c leaq 0x3bb73(%rip), %r8 # 0xc5553 movq %rbx, %...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_write
int mbedtls_ssl_write( mbedtls_ssl_context *ssl, const unsigned char *buf, size_t len ) { int ret; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write" ) ); if( ssl == NULL || ssl->conf == NULL ) return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); #if defined(MBEDTLS_SSL_RENEGOTIATION) if( ( ret = ssl_check_ctr_rene...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x3aa8e(%rip), %rdx # 0xc4a2c leaq 0x3b6d9(%rip), %r8 # 0xc567e movl $0x2, %esi movl $0x1a33, %ecx # imm = 0x1A33 xorl %eax, %eax callq 0x330b0 movl $0xffff8f00, %ebp # imm = 0xFFFF8F00 t...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_transform_free
void mbedtls_ssl_transform_free( mbedtls_ssl_transform *transform ) { if( transform == NULL ) return; #if defined(MBEDTLS_ZLIB_SUPPORT) deflateEnd( &transform->ctx_deflate ); inflateEnd( &transform->ctx_inflate ); #endif mbedtls_cipher_free( &transform->cipher_ctx_enc ); mbedtls_cipher_fre...
testq %rdi, %rdi je 0x8a1fc pushq %rbx movq %rdi, %rbx addq $0xa8, %rdi callq 0x2f760 leaq 0x100(%rbx), %rdi callq 0x2f760 leaq 0x78(%rbx), %rdi callq 0x2f620 leaq 0x90(%rbx), %rdi callq 0x2f620 xorl %eax, %eax movb $0x0, (%rbx,%rax) incq %rax cmpq $0x158, %rax # imm = 0x158 jne 0x8a1ec popq %rbx retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_free
void mbedtls_ssl_free( mbedtls_ssl_context *ssl ) { if( ssl == NULL ) return; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> free" ) ); if( ssl->out_buf != NULL ) { mbedtls_zeroize( ssl->out_buf, MBEDTLS_SSL_BUFFER_LEN ); mbedtls_free( ssl->out_buf ); } if( ssl->in_buf != NULL ) ...
testq %rdi, %rdi je 0x8a459 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x3a72b(%rip), %rdx # 0xc4a2c leaq 0x3b3d3(%rip), %r8 # 0xc56db movl $0x2, %esi movl $0x1af3, %ecx # imm = 0x1AF3 xorl %eax, %eax callq 0x330b0 movq 0x120(%rbx), %rax testq %rax, %rax je 0x8a343 xorl %ecx, %ecx movb $0x...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
ssl_cookie_write_dummy
static int ssl_cookie_write_dummy( void *ctx, unsigned char **p, unsigned char *end, const unsigned char *cli_id, size_t cli_id_len ) { ((void) ctx); ((void) p); ((void) end); ((void) cli_id); ((void) cli_id_len); return( MBEDTLS_ERR_SSL_FEATURE_UNAVA...
movl $0xffff8f80, %eax # imm = 0xFFFF8F80 retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_sig_from_pk
unsigned char mbedtls_ssl_sig_from_pk( mbedtls_pk_context *pk ) { #if defined(MBEDTLS_RSA_C) if( mbedtls_pk_can_do( pk, MBEDTLS_PK_RSA ) ) return( MBEDTLS_SSL_SIG_RSA ); #endif #if defined(MBEDTLS_ECDSA_C) if( mbedtls_pk_can_do( pk, MBEDTLS_PK_ECDSA ) ) return( MBEDTLS_SSL_SIG_ECDSA ); #endif ...
pushq %rbx movq %rdi, %rbx movl $0x1, %esi callq 0x30a80 movl %eax, %ecx movb $0x1, %al testl %ecx, %ecx jne 0x8a6b4 movq %rbx, %rdi movl $0x4, %esi callq 0x30a80 xorl %ecx, %ecx testl %eax, %eax setne %cl leal (%rcx,%rcx,2), %eax popq %rbx retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_hash_from_md_alg
unsigned char mbedtls_ssl_hash_from_md_alg( int md ) { switch( md ) { #if defined(MBEDTLS_MD5_C) case MBEDTLS_MD_MD5: return( MBEDTLS_SSL_HASH_MD5 ); #endif #if defined(MBEDTLS_SHA1_C) case MBEDTLS_MD_SHA1: return( MBEDTLS_SSL_HASH_SHA1 ); #endif #if defined(MBEDTLS_SHA25...
addl $-0x3, %edi leal 0x1(%rdi), %eax xorl %ecx, %ecx cmpl $0x6, %edi movzbl %al, %eax cmovael %ecx, %eax retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
ssl_mac
static void ssl_mac( mbedtls_md_context_t *md_ctx, unsigned char *secret, unsigned char *buf, size_t len, unsigned char *ctr, int type ) { unsigned char header[11]; unsigned char padding[48]; int padlen; int md_size = mbedtls_md_get_size( md_ctx->md_info ); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %r9d, %ebp movq %r8, %r15 movq %rcx, 0x18(%rsp) movq %rdx, %rbx movq %rsi, %r13 movq %rdi, %r14 movq (%rdi), %rdi callq 0x32740 movb %al, 0x7(%rsp) movq (%r14), %rdi callq 0x30ac0 xorl %ecx, %ecx cmpl $0x3, %eax sete %cl leaq 0x28(,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_x509_crt_info
int mbedtls_x509_crt_info( char *buf, size_t size, const char *prefix, const mbedtls_x509_crt *crt ) { int ret; size_t n; char *p; char key_size_str[BEFORE_COLON]; p = buf; n = size; ret = mbedtls_snprintf( p, n, "%scert. version : %d\n", ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r13 movq %rdi, (%rsp) movq %rsi, 0x8(%rsp) movl 0x30(%rcx), %r8d leaq 0x3aa51(%rip), %rdx # 0xc6749 movq %r12, %rcx xorl %eax, %eax callq 0x327f0 movl $0xffffd680, %ebx ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/x509_crt.c
x509_info_key_usage
static int x509_info_key_usage( char **buf, size_t *size, unsigned int key_usage ) { int ret; size_t n = *size; char *p = *buf; const char *sep = ""; KEY_USAGE( MBEDTLS_X509_KU_DIGITAL_SIGNATURE, "Digital Signature" ); KEY_USAGE( MBEDTLS_X509_KU_NON_REPUDIATIO...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %r15 movq (%rdi), %r12 testb %bpl, %bpl js 0x8c5c3 leaq 0x4055a(%rip), %rcx # 0xccb1b jmp 0x8c602 leaq 0x3a3ae(%rip), %rdx # 0xc6978 leaq 0x4054a(%rip), %rcx # 0xccb1b movq %r12, %rdi movq %r1...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/x509_crt.c
Json::StyledWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void StyledWriter::writeCommentAfterValueOnSameLine( const Value &root ) { if ( root.hasComment( commentAfterOnSameLine ) ) document_ += " " + normalizeEOL( root.getComment( commentAfterOnSameLine ) ); if ( root.hasComment( commentAfter ) ) { document_ += "\n"; document_ += normalizeEOL( ro...
pushq %r15 pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl $0x1, %esi callq 0x31c60 testb %al, %al je 0x9654c leaq 0x40(%rsp), %r15 movq %r15, %rdi movq %r14, %rsi movl $0x1, %edx callq 0x31660 leaq 0x20(%rsp), %rdi movq %r15, %rsi callq 0x2fc80 leaq 0x337d6(%rip), %rcx #...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/jsoncpp/src/lib_json/json_writer.cpp