name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
ecc_weierstrass_point_new_from_x | WeierstrassPoint *ecc_weierstrass_point_new_from_x(
WeierstrassCurve *wc, mp_int *xorig, unsigned desired_y_parity)
{
assert(wc->sc);
/*
* The curve equation is y^2 = x^3 + ax + b, which is already
* conveniently in a form where we can compute the RHS and take
* the square root of it to get ... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x52670
jmp 0x5268f
leaq 0x170e9(%rip), %rdi # 0x69760
leaq 0x170e9(%rip), %rsi # 0x69767
movl $0x94, %edx
leaq 0x17137(%rip), %rcx # 0x697c1
callq... | /codexns[P]putty/crypto/ecc-arithmetic.c |
ecc_edwards_curve | EdwardsCurve *ecc_edwards_curve(mp_int *p, mp_int *d, mp_int *a,
mp_int *nonsquare_mod_p)
{
EdwardsCurve *ec = snew(EdwardsCurve);
ec->p = mp_copy(p);
ec->mc = monty_new(p);
ec->d = monty_import(ec->mc, d);
ec->a = monty_import(ec->mc, a);
if (nonsquare_mod_p)
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x1, %edi
movl $0x28, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x58b40
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3a890
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rc... | /codexns[P]putty/crypto/ecc-arithmetic.c |
ecc_edwards_add | EdwardsPoint *ecc_edwards_add(EdwardsPoint *P, EdwardsPoint *Q)
{
EdwardsCurve *ec = P->ec;
assert(Q->ec == ec);
EdwardsPoint *S = ecc_edwards_point_new_empty(ec);
/*
* The affine rule for Edwards addition of (x1,y1) and (x2,y2) is
*
* x_out = (x1 y2 + y1 x2) / (1 + d x1 x2 y1 y2)
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
cmpq -0x18(%rbp), %rax
jne 0x5473f
jmp 0x5475e
leaq 0x15274(%rip), %rdi # 0x699ba
leaq 0x1501a(%rip), %rsi # 0x... | /codexns[P]putty/crypto/ecc-arithmetic.c |
base64_encode_atom | void base64_encode_atom(const unsigned char *data, int n, char *out)
{
static const char base64_chars[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
unsigned word;
word = data[0] << 16;
if (n > 1)
word |= data[1] << 8;
if (n > 2)
word |= data[2];
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movzbl (%rax), %eax
shll $0x10, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x1, -0xc(%rbp)
jle 0x55293
movq -0x8(%rbp), %rax
movzbl 0x1(%rax), %eax
shll $0x8, %eax
orl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
cmpl... | /codexns[P]putty/utils/base64_encode_atom.c |
cert_expr_match_str | bool cert_expr_match_str(const char *expression,
const char *hostname, unsigned port)
{
ExprNode *en = parse(ptrlen_from_asciz(expression), NULL, NULL);
if (!en)
return false;
bool matched = eval(en, hostname, port);
exprnode_free(en);
return matched;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rdi
callq 0x55860
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
xorl %eax, %eax
movl %eax, %ecx
movq %rcx, %rdx
callq 0x556d0
movq %rax, -0x28... | /codexns[P]putty/utils/cert-expr.c |
eval | static bool eval(ExprNode *en, const char *hostname, unsigned port)
{
switch (en->op) {
case OP_AND:
for (size_t i = 0; i < en->nsubexprs; i++)
if (!eval(en->subexprs[i], hostname, port))
return false;
return true;
case OP_OR:
for (size_t i = 0; i < e... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x38(%rbp)
subq $0x4, %rax
ja 0x559f3
movq -0x38(%rbp), %rax
leaq 0x146ca(%rip), %rcx # 0x69f9c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
... | /codexns[P]putty/utils/cert-expr.c |
cert_expr_valid | bool cert_expr_valid(const char *expression,
char **error_msg, ptrlen *error_loc)
{
ExprNode *en = parse(ptrlen_from_asciz(expression), error_msg, error_loc);
if (en) {
exprnode_free(en);
return true;
} else {
return false;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x55860
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x556d0
movq %rax, -0x28(%... | /codexns[P]putty/utils/cert-expr.c |
lex | static Token lex(ptrlen *text, ptrlen *token, char **err)
{
const char *p = text->ptr, *e = p + text->len;
Token type = TOK_ERROR;
/* Skip whitespace */
while (p < e && is_space(*p))
p++;
const char *start = p;
if (!(p < e)) {
type = TOK_END;
goto out;
}
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
addq 0x8(%rcx), %rax
movq %rax, -0x28(%rbp)
movl $0x7, -0x2c(%rbp)
movq -0x20(%rbp), %rcx
xorl %eax,... | /codexns[P]putty/utils/cert-expr.c |
parse_atom | static ExprNode *parse_atom(ParserState *ps)
{
if (ps->tok == TOK_LPAR) {
ptrlen openpar = ps->toktext;
advance(ps); /* eat the ( */
ExprNode *subexpr = parse_expr(ps);
if (!subexpr)
return NULL;
if (ps->tok != TOK_RPAR) {
error(ps,... | pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x10(%rax)
jne 0x5654b
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x20(%rbp)
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x56080
movq -0x10(%rbp), %r... | /codexns[P]putty/utils/cert-expr.c |
dupstr | char *dupstr(const char *s)
{
char *p = NULL;
if (s) {
int len = strlen(s);
p = snewn(len + 1, char);
strcpy(p, s);
}
return p;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x5724f
movq -0x8(%rbp), %rdi
callq 0x8190
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x58b40
movq %rax, -0x10(%rbp... | /codexns[P]putty/utils/dupstr.c |
host_ca_new | host_ca *host_ca_new(void)
{
host_ca *hca = snew(host_ca);
memset(hca, 0, sizeof(*hca));
hca->opts.permit_rsa_sha1 = false;
hca->opts.permit_rsa_sha256 = true;
hca->opts.permit_rsa_sha512 = true;
return hca;
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x1, %edi
movl $0x20, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x58b40
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x8220
movq -0x8(%rbp), %rax
movb $0x0, 0x18(%rax)
movq -0x8(%rbp), %rax
movb $0x1, 0x19(%rax)
movq -0x8(%rbp), %r... | /codexns[P]putty/utils/host_ca_new_free.c |
GET_32BIT_MSB_FIRST | static inline uint32_t GET_32BIT_MSB_FIRST(const void *vp)
{
const uint8_t *p = (const uint8_t *)vp;
return (((uint32_t)p[3] ) | ((uint32_t)p[2] << 8) |
((uint32_t)p[1] << 16) | ((uint32_t)p[0] << 24));
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movzbl 0x3(%rax), %eax
movq -0x10(%rbp), %rcx
movzbl 0x2(%rcx), %ecx
shll $0x8, %ecx
orl %ecx, %eax
movq -0x10(%rbp), %rcx
movzbl 0x1(%rcx), %ecx
shll $0x10, %ecx
orl %ecx, %eax
movq -0x10(%rbp), %rcx
mo... | /codexns[P]putty/misc.h |
BinarySource_get_pstring | ptrlen BinarySource_get_pstring(BinarySource *src)
{
const unsigned char *ucp;
size_t len;
if (!avail(1))
return make_ptrlen("", 0);
ucp = consume(1);
len = *ucp;
if (!avail(len))
return make_ptrlen("", 0);
return make_ptrlen(consume(len), len);
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x1, %esi
callq 0x58120
testb $0x1, %al
jne 0x5893b
leaq 0xac4a(%rip), %rdi # 0x6356f
xorl %eax, %eax
movl %eax, %esi
callq 0x58180
movq %rax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
jmp 0x589c2
movq -0x18(%rbp), %rax
movq (%... | /codexns[P]putty/utils/marshal.c |
free_prompts | void free_prompts(prompts_t *p)
{
size_t i;
/* If an Ldisc currently knows about us, tell it to forget us, so
* it won't dereference a stale pointer later. */
if (p->ldisc_ptr_to_us)
*p->ldisc_ptr_to_us = NULL;
for (i=0; i < p->n_prompts; i++) {
prompt_t *pr = p->prompts[i];
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x78(%rax)
je 0x59966
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rax
movq $0x0, (%rax)
movq $0x0, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x28(%rcx), %rax
jae 0x599c0
movq -0x8(%rbp), %rax
movq 0x38(%ra... | /codexns[P]putty/utils/prompts.c |
ptrlen_startswith | bool ptrlen_startswith(ptrlen whole, ptrlen prefix, ptrlen *tail)
{
if (whole.len >= prefix.len &&
!memcmp(whole.ptr, prefix.ptr, prefix.len)) {
if (tail) {
tail->ptr = (const char *)whole.ptr + prefix.len;
tail->len = whole.len - prefix.len;
}
return true;
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x20(%rbp), %rax
jb 0x59bf8
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x82b0
cmpl $0x0, %eax
jne 0x5... | /codexns[P]putty/utils/ptrlen.c |
smemeq | unsigned smemeq(const void *av, const void *bv, size_t len)
{
const unsigned char *a = (const unsigned char *)av;
const unsigned char *b = (const unsigned char *)bv;
unsigned val = 0;
while (len-- > 0) {
val |= *a++ ^ *b++;
}
/* Now val is 0 iff we want to return 1, and in the range
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x18(%rbp)
cmpq $0x0, %rax
jbe 0x5a09a
movq... | /codexns[P]putty/utils/smemeq.c |
stripctrl_term_BinarySink_write | static void stripctrl_term_BinarySink_write(
BinarySink *bs, const void *vp, size_t len)
{
StripCtrlChars *sccpub = BinarySink_DOWNCAST(bs, StripCtrlChars);
StripCtrlCharsImpl *scc =
container_of(sccpub, StripCtrlCharsImpl, public);
bool utf = in_utf(scc->term);
if (utf != scc->last_term_ut... | 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, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $-0x98, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x60(%rax), %rdi
callq 0x5b440
andb $0x1, %al
movb %al, -0x29(%rbp)
mov... | /codexns[P]putty/utils/stripctrl.c |
stripctrl_locale_try_consume | static inline size_t stripctrl_locale_try_consume(
StripCtrlCharsImpl *scc, const char *p, size_t len)
{
wchar_t wc;
mbstate_t mbs_orig = scc->mbs_in;
size_t consumed = mbrtowc(&wc, p, len, &scc->mbs_in);
if (consumed == (size_t)-2) {
/*
* The buffer is too short to see the end of ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x2c(%rbp)
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x10(%rbp), %rcx
leaq -0x24(%rbp), %rdi
callq 0x81b0
movq %rax, -0x38(%rbp)
cmpq $-0x2, -0x... | /codexns[P]putty/utils/stripctrl.c |
findrelpos234 | void *findrelpos234(tree234 * t, void *e, cmpfn234 cmp,
int relation, int *index)
{
search234_state ss;
int reldir = (relation == REL234_LT || relation == REL234_LE ? -1 :
relation == REL234_GT || relation == REL234_GE ? +1 : 0);
bool equal_permitted = (relation != REL2... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq %r8, -0x30(%rbp)
cmpl $0x1, -0x24(%rbp)
je 0x5c7fa
cmpl $0x2, -0x24(%rbp)
jne 0x5c804
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
movl %eax, -0x70(%rbp)
jmp 0x5c82c
movb $0x1,... | /codexns[P]putty/utils/tree234.c |
wc_match_inner | static int wc_match_inner(
const char *wildcard, const char *target, size_t target_len)
{
const char *target_end = target + target_len;
int ret;
/*
* Every time we see a '*' _followed_ by a fragment, we just
* search along the string for a location at which the fragment
* matches. The on... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2a, %eax
je 0x5df33
movq -0x28(%rbp), %rdx
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rs... | /codexns[P]putty/utils/wildcard.c |
phr_parse_request | int phr_parse_request(const char *buf_start, size_t len, const char **method, size_t *method_len, const char **path,
size_t *path_len, int *minor_version, struct phr_header *headers, size_t *num_headers, size_t last_len)
{
const char *buf = buf_start, *buf_end = buf_start + len;
size_t max... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r15
movq %r8, %rbp
movq %rcx, %r8
movq %rdx, %r14
movq %rsi, %r13
movq 0x60(%rsp), %rax
movq (%rax), %rcx
movq %rcx, 0x8(%rsp)
andq $0x0, (%rdx)
movq %rdi, %rbx
movq %r8, 0x10(%rsp)
andq $0x0, (%r8)
movq 0x68(%rsp), %rdx
andq ... | /mattn[P]clask/clask/../clask/picohttpparser.c |
phr_decode_chunked | ssize_t phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf, size_t *_bufsz)
{
size_t dst = 0, src = 0, bufsz = *_bufsz;
ssize_t ret = -2; /* incomplete */
while (1) {
switch (decoder->_state) {
case CHUNKED_IN_CHUNK_SIZE:
for (;; ++src) {
int v;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbp
movq (%rdx), %r15
movb 0xa(%rdi), %cl
xorl %r13d, %r13d
leaq 0xd420(%rip), %r8 # 0x15004
pushq $-0x2
popq %rax
pushq $-0x1
popq %rdi
xorl %ebx, %ebx
cmpb $0x5, %cl
ja 0x7dce
movzbl %cl, %ec... | /mattn[P]clask/clask/../clask/picohttpparser.c |
main | int main() {
auto s = clask::server();
s.log.default_level = clask::log_level::INFO;
s.static_dir("/files", "./files");
s.static_dir("/", "./public");
s.GET("/api", [](clask::request&) {
nlohmann::json data;
int n = 0;
for (const auto& e : std::filesystem::directory_iterator("files")) {
auto... | pushq %rbx
subq $0x380, %rsp # imm = 0x380
leaq 0x98(%rsp), %rdi
callq 0x94d8
movl $0x2, 0x196aa(%rip) # 0x214c0
leaq 0xd905(%rip), %rsi # 0x15722
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x8f68
leaq 0xd8ee(%rip), %rsi # 0x15721
leaq 0x30(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x8f68
le... | /mattn[P]clask/example/upload/main.cxx |
parse_http_version(char const*, char const*, int*, int*) | static const char *parse_http_version(const char *buf, const char *buf_end, int *minor_version, int *ret)
{
/* we want at least [HTTP/1.<two chars>] to try to parse */
if (buf_end - buf < 9) {
*ret = -2;
return NULL;
}
EXPECT_CHAR_NO_CHECK('H');
EXPECT_CHAR_NO_CHECK('T');
EXPECT_... | subq %rdi, %rsi
cmpq $0x8, %rsi
jg 0x8018
movl $0xfffffffe, (%rcx) # imm = 0xFFFFFFFE
jmp 0x8054
movq %rdi, %rax
cmpb $0x48, (%rdi)
jne 0x8051
cmpb $0x54, 0x1(%rax)
jne 0x8051
cmpb $0x54, 0x2(%rax)
jne 0x8051
cmpb $0x50, 0x3(%rax)
jne 0x8051
cmpb $0x2f, 0x4(%rax)
jne 0x8051
cmpb $0x31, 0x5(%rax)
jne 0x8051
cmpb $0x... | /mattn[P]clask/clask/../clask/picohttpparser.c |
clask::logger::~logger() | inline logger::~logger() {
if (lv >= logger::level()) {
os << std::endl;
std::cerr << os.str().c_str();
}
} | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x180a1(%rip), %rax # 0x209e8
movq %rax, (%rdi)
movl 0x180(%rdi), %eax
cmpl 0x18b6a(%rip), %eax # 0x214c0
jl 0x8985
leaq 0x8(%rbx), %rdi
callq 0x6280
leaq 0x10(%rbx), %rsi
movq %rsp, %rdi
callq 0x6740
movq (%rsp), %rsi
movq 0x18670(%rip), %rdi # 0x20fe8
callq... | /mattn[P]clask/clask/../clask/core.hpp |
clask::response_writer::write(char*, unsigned long) | inline void response_writer::write(char* buf, size_t n) {
write(std::string(buf, n));
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x9b6e
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
leaq 0x8(%rsp), %rdi
callq 0x6968
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rb... | /mattn[P]clask/clask/../clask/core.hpp |
clask::response_writer::set_header(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | inline void response_writer::set_header(std::string key, const std::string& val) {
auto h = camelize(key);
for (auto& hh : headers) {
if (hh.first == h) {
hh.second = val;
return;
}
}
headers.emplace_back(h, val);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rdi, %r13
movq %rsp, %r14
movq %r14, %rdi
callq 0xb618
leaq 0x8(%r13), %r15
movq 0x8(%r13), %r12
movq 0x10(%r13), %r13
cmpq %r13, %r12
je 0xa7a6
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a6e
testb %al, %al
jne 0xa7b6
addq $0x40... | /mattn[P]clask/clask/../clask/core.hpp |
clask::to_wstring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | inline std::wstring to_wstring(const std::string& input) {
try {
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
return converter.from_bytes(input);
} catch (std::range_error&) {
size_t length = input.length();
std::wstring result;
result.reserve(length);
for (size_t i = 0;... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbd5a
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0xbdc6
leaq 0x8(%rsp), %rdi
callq 0xbde2
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rdx, %r12... | /mattn[P]clask/clask/../clask/core.hpp |
long clask::to_time_t<std::chrono::time_point<std::filesystem::__file_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l>>>>(std::chrono::time_point<std::filesystem::__file_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l>>>) | std::time_t to_time_t(TP tp) {
using namespace std::chrono;
auto sctp = time_point_cast<system_clock::duration>(tp - TP::clock::now() + system_clock::now());
return system_clock::to_time_t(sctp);
} | pushq %rbx
movq %rdi, %rbx
callq 0xca22
subq %rax, %rbx
callq 0x6060
addq %rbx, %rax
movl $0x3b9aca00, %ecx # imm = 0x3B9ACA00
cqto
idivq %rcx
popq %rbx
retq
| /mattn[P]clask/clask/../clask/core.hpp |
clask::sort_handlers(clask::_node&) | inline void sort_handlers(node& n) {
std::sort(
n.children.begin(),
n.children.end(),
[](const node& x, const node& y){ return x.name > y.name; }
);
for (auto& v : n.children) {
sort_handlers(v);
}
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq (%rdi), %rdi
movq 0x8(%r14), %rsi
callq 0xce65
movq (%r14), %rbx
movq 0x8(%r14), %r14
cmpq %r14, %rbx
je 0xcdbc
movq %rbx, %rdi
callq 0xcd8c
addq $0xa0, %rbx
jmp 0xcda6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /mattn[P]clask/clask/../clask/core.hpp |
clask::logger::get[abi:cxx11](clask::_log_level) | inline std::ostringstream& logger::get(log_level level) {
auto t = std::time(nullptr);
auto tm = *std::localtime(&t);
os << std::put_time(&tm, "%Y/%m/%d %H:%M:%S ");
switch (level) {
case log_level::ERR: os << "ERR: "; break;
case log_level::WARN: os << "WARN: "; break;
case log_level::INFO: os << "... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebx
movq %rdi, %r14
xorl %edi, %edi
callq 0x6530
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x6410
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
leaq 0x10(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm1, 0x10(%rsi)
movaps %xmm2, 0x20... | /mattn[P]clask/clask/../clask/core.hpp |
nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>::operator=(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::al... | basic_json& operator=(basic_json other) noexcept (
std::is_nothrow_move_constructible<value_t>::value and
std::is_nothrow_move_assignable<value_t>::value and
std::is_nothrow_move_constructible<json_value>::value and
std::is_nothrow_move_assignable<json_value>::value
)
{
/... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x1063e
movb (%r14), %al
movb (%rbx), %cl
movb %cl, (%r14)
movb %al, (%rbx)
movq 0x8(%r14), %rax
movq 0x8(%rbx), %rcx
movq %rcx, 0x8(%r14)
movq %rax, 0x8(%rbx)
movq %r14, %rdi
callq 0x1063e
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
p... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>::json_value::json_value(nlohmann::detail::value_t) | json_value(value_t t)
{
switch (t)
{
case value_t::object:
{
object = create<object_t>();
break;
}
case value_t::array:
{
array = create<array_t>()... | pushq %rbx
movq %rdi, %rbx
cmpl $0x7, %esi
ja 0x106fb
movl %esi, %eax
leaq 0x4abe(%rip), %rcx # 0x151b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
andq $0x0, (%rbx)
jmp 0x10723
callq 0x10726
jmp 0x10720
movb $0x0, (%rbx)
jmp 0x10723
callq 0x1077a
jmp 0x10720
leaq 0x638d(%rip), %rdi # 0x16aa8
callq ... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
nlohmann::detail::exception::name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int) | static std::string name(const std::string& ename, int id_)
{
return "[json.exception." + ename + "." + std::to_string(id_) + "] ";
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
movl %edx, %ebp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x533d(%rip), %rsi # 0x15c81
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x10a71
leaq 0x4e2e(%rip), %rdx # 0x15786
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0xfabe
movq %rsp, %rdi
movl %ebp, %esi
callq 0x1... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
void nlohmann::detail::serializer<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>>::dump_integer<long, 0>(long) | void dump_integer(NumberType x)
{
static constexpr std::array<std::array<char, 2>, 100> digits_to_99
{
{
{{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
{{'1', '0'}... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x12b2e
movq %rsi, %r14
js 0x12b43
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12db2
jmp 0x12b62
movq (%rbx), %rdi
movq (%rdi), %rax
movq (%rax), %rax
pushq $0x30
popq %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
movb $0x2d, 0x10(%rbx)
movq %rbx, %... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
nlohmann::detail::serializer<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>>::decode(unsigned char&, unsigned int&, unsigned char) | static std::uint8_t decode(std::uint8_t& state, std::uint32_t& codep, const std::uint8_t byte) noexcept
{
static const std::array<std::uint8_t, 400> utf8d =
{
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1F
... | movl %edx, %ecx
leaq 0x441d(%rip), %rax # 0x17118
movzbl (%rcx,%rax), %ecx
cmpb $0x0, (%rdi)
je 0x12d15
andb $0x3f, %dl
movzbl %dl, %r8d
movl (%rsi), %edx
shll $0x6, %edx
orl %r8d, %edx
jmp 0x12d24
movl $0xff, %r8d
shrl %cl, %r8d
movzbl %dl, %edx
andl %r8d, %edx
movl %edx, (%rsi)
movzbl (%rdi), %edx
shll $0x4, %ed... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
nlohmann::detail::dtoa_impl::format_buffer(char*, int, int, int, int) | inline char* format_buffer(char* buf, int len, int decimal_exponent,
int min_exp, int max_exp)
{
assert(min_exp < 0);
assert(max_exp > 0);
const int k = len;
const int n = len + decimal_exponent;
// v = buf * 10^(n-k)
// k is the length of the buffer (number of decim... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testl %ecx, %ecx
jns 0x13171
testl %r8d, %r8d
jle 0x13190
movl %esi, %r14d
movq %rdi, %rbx
leal (%rdx,%r14), %r15d
testl %edx, %edx
sets %al
cmpl %r8d, %r15d
setg %sil
orb %al, %sil
je 0x130cd
cmpl %r8d, %r15d
setg %al
testl %r15d, %r15d
setle %sil
orb %al, %sil
je... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
nlohmann::detail::dtoa_impl::find_largest_pow10(unsigned int, unsigned int&) | inline int find_largest_pow10(const std::uint32_t n, std::uint32_t& pow10)
{
// LCOV_EXCL_START
if (n >= 1000000000)
{
pow10 = 1000000000;
return 10;
}
// LCOV_EXCL_STOP
else if (n >= 100000000)
{
pow10 = 100000000;
return 9;
}
else if (n >= 10000000)... | cmpl $0x3b9ac9ff, %edi # imm = 0x3B9AC9FF
jbe 0x1395e
pushq $0xa
popq %rax
movl $0x3b9aca00, %ecx # imm = 0x3B9ACA00
jmp 0x139e6
cmpl $0x5f5e0ff, %edi # imm = 0x5F5E0FF
jbe 0x13970
pushq $0x9
popq %rax
movl $0x5f5e100, %ecx # imm = 0x5F5E100
jmp 0x139e6
cmpl $0x98967f, %edi # imm = 0x9... | /mattn[P]clask/example/upload/./nlohmann/json.hpp |
Chip8::Chip8::~Chip8() | Chip8::~Chip8() {
SDL_Quit();
} | pushq %rbx
movq %rdi, %rbx
callq 0x2070
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x27bd
callq 0x21d0
movq $0x0, 0x18(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x27d3
callq 0x21d0
movq $0x0, 0x10(%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x27e9
callq 0x21d0
movq $0x0, 0x8(%rbx)
movq %rbx, %rdi
popq %rbx
jmp ... | /TylerBrock[P]chip8/chip8.cpp |
Chip8::CPU::reset() | void CPU::reset() {
_program_counter = 0x200;
_delay_timer = 0;
_sound_timer = 0;
_stack_pointer = 0;
_index_register = 0;
std::fill_n(_registers, sizeof(_registers), 0);
} | xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x2000000, 0x10(%rdi) # imm = 0x2000000
retq
nop
| /TylerBrock[P]chip8/cpu.cpp |
Chip8::CPU::run_cycle() | void CPU::run_cycle() {
// Decode instruction
OpCode op = _m->getByte(_program_counter) << 8 | _m->getByte(_program_counter + 1);
std::cout << "Operation at 0x"
<< std::hex << _program_counter << " -> " << std::setw(4) << int(op)
<< std::endl;
Address a = op & k... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r13
movq 0x20(%rdi), %rdi
movzwl 0x12(%r13), %esi
callq 0x3762
movzbl %al, %ebp
movl %ebp, %r15d
shll $0x8, %r15d
movq 0x20(%r13), %rdi
movzwl 0x12(%r13), %esi
incl %esi
callq 0x3762
movb %al, 0xc(%rsp)
movzbl %al, %ebx
orl %... | /TylerBrock[P]chip8/cpu.cpp |
Chip8::CPU::dump() | void CPU::dump() {
std::cout << "-------- CPU Registers --------" << std::endl;
for (int i=0; i<4; i++) {
std::cout << std::hex << std::setfill('0') <<
std::setw(1) << i + 0 << ": 0x" << std::setw(2) << int(_registers[i+0]) << " " <<
std::setw(1) << i + 4 <... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, (%rsp)
movq 0x30ae(%rip), %rbx # 0x5fd0
leaq 0x1235(%rip), %rsi # 0x415e
movl $0x1f, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
... | /TylerBrock[P]chip8/cpu.cpp |
Chip8::Graphics::refresh() | void Graphics::refresh() {
if (SDL_RenderClear(_renderer) != 0) {
std::cout << "[graphics] clear error: " << SDL_GetError() << std::endl;
}
for (int pixel = 0; pixel < kGraphicsWidth * kGraphicsHeight; pixel++) {
SDL_Rect scaled_pixel = {
(pixel % kGraph... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x810(%rdi), %rdi
callq 0x21c0
testl %eax, %eax
je 0x3695
movq 0x29b7(%rip), %r14 # 0x5fd0
leaq 0xba7(%rip), %rsi # 0x41c7
movl $0x18, %edx
movq %r14, %rdi
callq 0x2230
callq 0x2170
testq %rax, %rax
je 0x3656
movq %rax, %r15
mo... | /TylerBrock[P]chip8/graphics.cpp |
ya_getopt_longopts(int, char* const*, char*, char const*, option const*, int*, int*) | static int ya_getopt_longopts(int argc, char * const argv[], char *arg, const char *optstring, const struct option *longopts, int *longindex, int *long_only_flag)
{
char *val = NULL;
const struct option *opt;
size_t namelen;
int idx;
for (idx = 0; longopts[idx].name != NULL; idx++) {
opt = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %rbx
movq %rcx, (%rsp)
movq %rdx, %r13
movq %rsi, %r12
movl %edi, 0xc(%rsp)
addq $0x18, %rbx
xorl %ebp, %ebp
movq -0x18(%rbx), %r15
testq %r15, %r15
je 0x3444
movq %r15, %rdi
callq 0x2120
movq %rax, %r14
mo... | /sp-nitech[P]SPTK/third_party/GETOPT/ya_getopt.cc |
sptk::ZeroCrossingAnalysis::Run(std::vector<double, std::allocator<double>> const&, int*, sptk::ZeroCrossingAnalysis::Buffer*) const | bool ZeroCrossingAnalysis::Run(const std::vector<double>& signals,
int* num_zero_crossing,
ZeroCrossingAnalysis::Buffer* buffer) const {
// Check inputs.
if (!is_valid_ || signals.size() != static_cast<std::size_t>(frame_length_) ||
NULL == num_zer... | cmpb $0x1, 0xc(%rdi)
jne 0x369a
xorl %eax, %eax
testq %rcx, %rcx
je 0x369c
testq %rdx, %rdx
je 0x369c
movq (%rsi), %r8
movq 0x8(%rsi), %rsi
subq %r8, %rsi
movq %rsi, %r9
sarq $0x3, %r9
movslq 0x8(%rdi), %rdi
cmpq %rdi, %r9
jne 0x369c
cmpb $0x0, 0x8(%rcx)
je 0x369d
movsd (%r8), %xmm0
movsd %xmm0, 0x10(%rcx)
movb $0x0, 0... | /sp-nitech[P]SPTK/src/analysis/zero_crossing_analysis.cc |
bool sptk::SnPrintf<sptk::int24_t>(sptk::int24_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char*) | bool SnPrintf(int24_t data, const std::string& print_format,
std::size_t buffer_size, char* buffer) {
if (print_format.empty() || 0 == buffer_size || NULL == buffer) {
return false;
}
return (std::snprintf(buffer, buffer_size, print_format.c_str(),
static_cast<int>(data)... | xorl %eax, %eax
testq %rcx, %rcx
je 0x3a8f
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
testq %rdx, %rdx
je 0x3a8a
cmpq $0x0, 0x8(%rsi)
je 0x3a8a
movq %rcx, %r14
movq (%rsi), %r15
callq 0x6a36
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x2350
testl %eax, %eax
setns %al
pop... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::SnPrintf<sptk::uint24_t>(sptk::uint24_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char*) | bool SnPrintf(uint24_t data, const std::string& print_format,
std::size_t buffer_size, char* buffer) {
if (print_format.empty() || 0 == buffer_size || NULL == buffer) {
return false;
}
return (std::snprintf(buffer, buffer_size, print_format.c_str(),
static_cast<int>(data... | xorl %eax, %eax
testq %rcx, %rcx
je 0x3ad1
testq %rdx, %rdx
je 0x3ad1
cmpq $0x0, 0x8(%rsi)
je 0x3ad1
pushq %rax
movq (%rsi), %rax
movzwl 0x1(%rdi), %esi
shll $0x8, %esi
movzbl (%rdi), %r8d
orl %esi, %r8d
movq %rcx, %rdi
movq %rdx, %rsi
movq %rax, %rdx
movl %r8d, %ecx
xorl %eax, %eax
callq 0x2350
testl %eax, %eax
setns ... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
sptk::ConvertSpecialStringToDouble(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double*) | bool ConvertSpecialStringToDouble(const std::string& input, double* output) {
if (input.empty() || NULL == output) {
return false;
}
std::string lowercase_input(input);
std::transform(input.begin(), input.end(), lowercase_input.begin(),
[](unsigned char c) {
return stati... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
xorl %r14d, %r14d
testq %rsi, %rsi
je 0x3cd3
movq %rdi, %r15
cmpq $0x0, 0x8(%rdi)
je 0x3cd3
movq %rsi, %rbx
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x22e0
movq (%r15), %r12
movq 0x8(%r15), %r15
xorl %r13d, %r13d
movq ... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
sptk::Warp(double, double, double) | double Warp(double omega, double alpha, double theta) {
if (0.0 == alpha && 0.0 == theta) return omega;
const double x(omega - theta);
const double y(omega + theta);
return (omega + std::atan2(alpha * std::sin(x), 1.0 - alpha * std::cos(x)) +
std::atan2(alpha * std::sin(y), 1.0 - alpha * std::cos(y)))... | movapd %xmm0, %xmm3
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jne 0x404c
jp 0x404c
ucomisd %xmm0, %xmm2
jne 0x404c
jnp 0x4101
subq $0x28, %rsp
movapd %xmm3, %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x20(%rsp)
addsd %xmm3, %xmm2
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, (%rsp)
movsd %xmm3, 0x10(%rsp)
callq 0x2080
mulsd (%rsp), %x... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
sptk::PrintErrorMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>> const&) | void PrintErrorMessage(const std::string& program_name,
const std::ostringstream& message) {
std::ostringstream stream;
stream << program_name << ": " << message.str() << "!" << std::endl;
std::cerr << stream.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x22d0
movq %r15, %rdi
movq %r14, %rsi
callq 0x2230
leaq 0x60df(%rip), %rsi # 0xa57f
movq %rax, %rdi
callq 0x2250
movq %rax, %r14
addq $0x8, %rbx
leaq 0x8(%rsp), %... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<sptk::int24_t>(sptk::int24_t*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x4684
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x4684
movq %rdi, %rsi
pushq $0x3
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x3, 0x8(%rbx)
jne 0x4684
movq (%rbx), %rax
movq -0x18(%rax), %ra... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<int>(int*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x46d0
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x46d0
movq %rdi, %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x4, 0x8(%rbx)
jne 0x46d0
movq (%rbx), %rax
movq -0x18(%rax), %ra... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<long>(long*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x471c
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x471c
movq %rdi, %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x8, 0x8(%rbx)
jne 0x471c
movq (%rbx), %rax
movq -0x18(%rax), %ra... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<float>(float*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x48e4
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x48e4
movq %rdi, %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x4, 0x8(%rbx)
jne 0x48e4
movq (%rbx), %rax
movq -0x18(%rax), %ra... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<double>(double*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x4930
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x4930
movq %rdi, %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x8, 0x8(%rbx)
jne 0x4930
movq (%rbx), %rax
movq -0x18(%rax), %ra... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<long double>(long double*, std::istream*) | bool ReadStream(T* data_to_read, std::istream* input_stream) {
if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) {
return false;
}
const int type_byte(sizeof(*data_to_read));
input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte);
return (type_byte == input_stream->g... | pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x497c
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x497c
movq %rdi, %rsi
pushq $0x10
popq %rdx
movq %rbx, %rdi
callq 0x22a0
cmpq $0x10, 0x8(%rbx)
jne 0x497c
movq (%rbx), %rax
movq -0x18(%rax), %... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<signed char>(bool, int, int, int, std::vector<signed char, std::allocator<signed char>>*, std::istream*, int*) | bool ReadStream(bool zero_padding, int stream_skip, int read_point,
int read_size, std::vector<T>* sequence_to_read,
std::istream* input_stream, int* actual_read_size) {
if (stream_skip < 0 || read_point < 0 || read_size <= 0 ||
NULL == sequence_to_read || NULL == input_stream ||... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r12d
movl %edx, %eax
orl %esi, %eax
sets %al
testl %ecx, %ecx
setle %cl
orb %al, %cl
testq %r8, %r8
sete %al
testq %r9, %r9
sete %dl
orb %al, %dl
orb %cl, %dl
jne 0x4a73
movq %r9, %rbx
movq (%r9), %rax
movq -0x18(%... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<unsigned short>(bool, int, int, int, std::vector<unsigned short, std::allocator<unsigned short>>*, std::istream*, int*) | bool ReadStream(bool zero_padding, int stream_skip, int read_point,
int read_size, std::vector<T>* sequence_to_read,
std::istream* input_stream, int* actual_read_size) {
if (stream_skip < 0 || read_point < 0 || read_size <= 0 ||
NULL == sequence_to_read || NULL == input_stream ||... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r13d
movl %edx, %eax
orl %esi, %eax
sets %al
testl %ecx, %ecx
setle %cl
orb %al, %cl
testq %r8, %r8
sete %al
testq %r9, %r9
sete %dl
orb %al, %dl
orb %cl, %dl
jne 0x52b5
movq %r9, %rbx
movq (%r9), %rax
movq -0x18(%... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<float>(bool, int, int, int, std::vector<float, std::allocator<float>>*, std::istream*, int*) | bool ReadStream(bool zero_padding, int stream_skip, int read_point,
int read_size, std::vector<T>* sequence_to_read,
std::istream* input_stream, int* actual_read_size) {
if (stream_skip < 0 || read_point < 0 || read_size <= 0 ||
NULL == sequence_to_read || NULL == input_stream ||... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r13d
movl %edx, %eax
orl %esi, %eax
sets %al
testl %ecx, %ecx
setle %cl
orb %al, %cl
testq %r8, %r8
sete %al
testq %r9, %r9
sete %dl
orb %al, %dl
orb %cl, %dl
jne 0x586a
movq %r9, %rbx
movq (%r9), %rax
movq -0x18(%... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::ReadStream<double>(bool, int, int, int, std::vector<double, std::allocator<double>>*, std::istream*, int*) | bool ReadStream(bool zero_padding, int stream_skip, int read_point,
int read_size, std::vector<T>* sequence_to_read,
std::istream* input_stream, int* actual_read_size) {
if (stream_skip < 0 || read_point < 0 || read_size <= 0 ||
NULL == sequence_to_read || NULL == input_stream ||... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r13d
movl %edx, %eax
orl %esi, %eax
sets %al
testl %ecx, %ecx
setle %cl
orb %al, %cl
testq %r8, %r8
sete %al
testq %r9, %r9
sete %dl
orb %al, %dl
orb %cl, %dl
jne 0x59d3
movq %r9, %rbx
movq (%r9), %rax
movq -0x18(%... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<long>(int, int, std::vector<long, std::allocator<long>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x618d
xorl %r12d, %r12d
jmp 0x6206
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %ecx
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<unsigned char>(int, int, std::vector<unsigned char, std::allocator<unsigned char>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x6241
xorl %r12d, %r12d
jmp 0x62ab
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %ecx
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<unsigned short>(int, int, std::vector<unsigned short, std::allocator<unsigned short>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x62e6
xorl %r12d, %r12d
jmp 0x635d
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %ecx
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<sptk::uint24_t>(int, int, std::vector<sptk::uint24_t, std::allocator<sptk::uint24_t>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x639b
xorl %r12d, %r12d
jmp 0x641b
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %esi
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<float>(int, int, std::vector<float, std::allocator<float>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x65be
xorl %r12d, %r12d
jmp 0x6637
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %ecx
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
bool sptk::WriteStream<double>(int, int, std::vector<double, std::allocator<double>> const&, std::ostream*, int*) | bool WriteStream(int write_point, int write_size,
const std::vector<T>& sequence_to_write,
std::ostream* output_stream, int* actual_write_size) {
if (write_point < 0 || write_size <= 0 || NULL == output_stream) {
return false;
}
const int end(write_point + write_size);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
testl %edi, %edi
sets %al
testl %esi, %esi
setle %cl
orb %al, %cl
testq %rbx, %rbx
sete %al
orb %cl, %al
je 0x6672
xorl %r12d, %r12d
jmp 0x66eb
movq %rdx, %rbp
movl %esi, %r15d
movl %edi, %r13d
leal (%r15,%r13), %ecx
movq (%rdx... | /sp-nitech[P]SPTK/src/utils/sptk_utils.cc |
sptk::Matrix::Matrix(int, int) | Matrix::Matrix(int num_row, int num_column)
: num_row_(num_row < 0 ? 0 : num_row),
num_column_(num_column < 0 ? 0 : num_column) {
data_.resize(num_row_ * num_column_);
index_.resize(num_row_);
for (int i(0); i < num_row_; ++i) {
index_[i] = &data_[i * num_column_];
}
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
leaq 0x7c2d(%rip), %rax # 0xfd30
movq %rax, (%rdi)
xorl %eax, %eax
testl %esi, %esi
cmovlel %eax, %esi
movl %esi, 0x8(%rdi)
testl %edx, %edx
cmovgl %edx, %eax
movl %eax, 0xc(%rdi)
leaq 0x10(%rdi), %rbx
leaq 0x28(%rdi), %r14
imull %eax, %esi
xorps %xmm0, %xmm0
movups... | /sp-nitech[P]SPTK/src/math/matrix.cc |
sptk::Matrix::Matrix(int, int, std::vector<double, std::allocator<double>> const&) | Matrix::Matrix(int num_row, int num_column, const std::vector<double>& vector)
: num_row_(num_row < 0 ? 0 : num_row),
num_column_(num_column < 0 ? 0 : num_column),
data_(vector),
index_(num_row_) {
for (int i(0); i < num_row_; ++i) {
index_[i] = &data_[i * num_column_];
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
leaq 0x7b87(%rip), %rax # 0xfd30
movq %rax, (%rdi)
xorl %eax, %eax
testl %esi, %esi
cmovlel %eax, %esi
movl %esi, 0x8(%rdi)
testl %edx, %edx
cmovgl %edx, %eax
movl %eax, 0xc(%rdi)
leaq 0x10(%rdi), %rbx
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x8ade
le... | /sp-nitech[P]SPTK/src/math/matrix.cc |
sptk::Matrix::At(int, int) | double& Matrix::At(int row, int column) {
if (row < 0 || num_row_ <= row || column < 0 || num_column_ <= column) {
throw std::out_of_range(kErrorMessageForOutOfRange);
}
return index_[row][column];
} | pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
js 0x83e4
testl %edx, %edx
js 0x83e4
cmpl %esi, 0x8(%rdi)
jle 0x83e4
cmpl %edx, 0xc(%rdi)
jle 0x83e4
movl %esi, %ecx
movq 0x28(%rdi), %rsi
movl %edx, %eax
shlq $0x3, %rax
addq (%rsi,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x10
popq %rdi
callq 0x216... | /sp-nitech[P]SPTK/src/math/matrix.cc |
sptk::Matrix::At(int, int) const | const double& Matrix::At(int row, int column) const {
if (row < 0 || num_row_ <= row || column < 0 || num_column_ <= column) {
throw std::out_of_range(kErrorMessageForOutOfRange);
}
return index_[row][column];
} | pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
js 0x8456
testl %edx, %edx
js 0x8456
cmpl %esi, 0x8(%rdi)
jle 0x8456
cmpl %edx, 0xc(%rdi)
jle 0x8456
movl %esi, %ecx
movq 0x28(%rdi), %rsi
movl %edx, %eax
shlq $0x3, %rax
addq (%rsi,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x10
popq %rdi
callq 0x216... | /sp-nitech[P]SPTK/src/math/matrix.cc |
sptk::Matrix::GetSubmatrix(int, int, int, int, sptk::Matrix*) const | bool Matrix::GetSubmatrix(int row_offset, int num_row_of_submatrix,
int column_offset, int num_column_of_submatrix,
Matrix* submatrix) const {
if (row_offset < 0 || num_row_of_submatrix <= 0 ||
num_row_ < row_offset + num_row_of_submatrix || column_offset < 0 ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
testl %esi, %esi
sets %al
testl %edx, %edx
setle %cl
orb %al, %cl
je 0x88d4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r8d, %r15d
xorl %eax, %eax
testl %r8d, %r8d
jle ... | /sp-nitech[P]SPTK/src/math/matrix.cc |
sptk::SymmetricMatrix::SymmetricMatrix(int) | SymmetricMatrix::SymmetricMatrix(int num_dimension)
: num_dimension_(num_dimension < 0 ? 0 : num_dimension) {
data_.resize(num_dimension_ * (num_dimension_ + 1) / 2);
index_.resize(num_dimension_);
for (int i(0), j(0); i < num_dimension_; ++i, j += i) {
index_[i] = &data_[j];
}
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
leaq 0x6e2d(%rip), %rax # 0xfd60
movq %rax, (%rdi)
xorl %eax, %eax
testl %esi, %esi
cmovlel %eax, %esi
movl %esi, 0x8(%rdi)
leaq 0x10(%rdi), %rbx
leaq 0x28(%rdi), %r14
leal 0x1(%rsi), %eax
imull %eax, %esi
shrl %esi
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
sptk::SymmetricMatrix::SymmetricMatrix(sptk::SymmetricMatrix const&) | SymmetricMatrix::SymmetricMatrix(const SymmetricMatrix& matrix)
: num_dimension_(matrix.num_dimension_),
data_(matrix.data_),
index_(num_dimension_) {
for (int i(0), j(0); i < num_dimension_; ++i, j += i) {
index_[i] = &data_[j];
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
leaq 0x6d8f(%rip), %rax # 0xfd60
movq %rax, (%rdi)
movl 0x8(%rsi), %eax
movl %eax, 0x8(%rdi)
leaq 0x10(%rdi), %rbx
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x8ade
leaq 0x28(%r15), %r14
movslq 0x8(%r15), %rsi
leaq 0xf(%rsp), %rdx
movq %r14, %rdi
callq ... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
sptk::SymmetricMatrix::At(int, int) const | const double& SymmetricMatrix::At(int row, int column) const {
if (row < column) {
std::swap(row, column);
}
if (column < 0 || num_dimension_ <= row) {
throw std::out_of_range(kErrorMessageForOutOfRange);
}
return index_[row][column];
} | pushq %r14
pushq %rbx
pushq %rax
cmpl %edx, %esi
movl %edx, %eax
cmovgl %esi, %eax
cmovll %esi, %edx
testl %edx, %edx
js 0x91b2
cmpl %eax, 0x8(%rdi)
jle 0x91b2
movslq %eax, %rcx
movq 0x28(%rdi), %rsi
movl %edx, %eax
shlq $0x3, %rax
addq (%rsi,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x10
popq %rdi
... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
sptk::SymmetricMatrix::GetDiagonal(std::vector<double, std::allocator<double>>*) const | bool SymmetricMatrix::GetDiagonal(
std::vector<double>* diagonal_elements) const {
if (NULL == diagonal_elements) {
return false;
}
if (diagonal_elements->size() != static_cast<std::size_t>(num_dimension_)) {
diagonal_elements->resize(num_dimension_);
}
for (int i(0); i < num_dimension_; ++i) {
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rsi, %rsi
je 0x9265
movq %rdi, %r14
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
sarq $0x3, %rcx
movl 0x8(%rdi), %eax
movslq %eax, %rsi
cmpq %rsi, %rcx
je 0x923f
movq %rbx, %rdi
callq 0x59e4
movl 0x8(%r14), %eax
movq 0x28(%r14), %rcx
xorl %edx, %edx
testl %eax, %eax
cmo... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
sptk::SymmetricMatrix::CholeskyDecomposition(sptk::SymmetricMatrix*, std::vector<double, std::allocator<double>>*) const | bool SymmetricMatrix::CholeskyDecomposition(
SymmetricMatrix* lower_triangular_matrix,
std::vector<double>* diagonal_elements) const {
if (NULL == lower_triangular_matrix || NULL == diagonal_elements ||
this == lower_triangular_matrix || 0.0 == index_[0][0]) {
return false;
}
if (lower_triangul... | xorl %eax, %eax
cmpq %rsi, %rdi
je 0x9422
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
testq %rsi, %rsi
je 0x941d
movq %rdx, %r15
testq %rdx, %rdx
je 0x941d
movq %rdi, %r14
movq 0x28(%rdi), %rax
movq (%rax), %rax
movsd (%rax), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x9307
jp 0x9307
xorl %eax, %eax
jmp 0x... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
sptk::SymmetricMatrix::Invert(sptk::SymmetricMatrix*) const | bool SymmetricMatrix::Invert(SymmetricMatrix* inverse_matrix) const {
if (NULL == inverse_matrix || this == inverse_matrix) {
return false;
}
if (inverse_matrix->num_dimension_ != num_dimension_) {
inverse_matrix->Resize(num_dimension_);
}
SymmetricMatrix lower_triangular_matrix(num_dimension_);
s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
testq %rsi, %rsi
sete %al
cmpq %rsi, %rdi
sete %cl
orb %al, %cl
je 0x944c
xorl %eax, %eax
jmp 0x9635
movq %rsi, %rbx
movl 0x8(%rsi), %esi
movl 0x8(%rdi), %eax
cmpl %eax, %esi
movq %rdi, %r14
je 0x946a
movq %rbx, %rdi
movl %eax, %esi
call... | /sp-nitech[P]SPTK/src/math/symmetric_matrix.cc |
add | static int
add(char *argv[]) {
zip_source_t *zs;
if ((zs = zip_source_buffer(za, argv[1], strlen(argv[1]), 0)) == NULL) {
fprintf(stderr, "can't create zip_source from buffer: %s\n", zip_strerror(za));
return -1;
}
if (zip_file_add(za, decode_filename(argv[0]), zs, 0) == -1) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq 0x71e5(%rip), %rax # 0xa758
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x3150
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq %rax, %rdx
xorl %... | /nih-at[P]libzip/src/ziptool.c |
set_file_compression | static int
set_file_compression(char *argv[]) {
zip_int32_t method;
zip_uint32_t flags;
zip_uint64_t idx;
idx = strtoull(argv[0], NULL, 10);
method = get_compression_method(argv[1]);
flags = (zip_uint32_t)strtoull(argv[2], NULL, 10);
if (zip_set_file_compression(za, idx, method, flags) < 0) ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x3320
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x6510
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
xor... | /nih-at[P]libzip/src/ziptool.c |
set_file_mtime | static int
set_file_mtime(char *argv[]) {
/* set file last modification time (mtime) */
time_t mtime;
zip_uint64_t idx;
idx = strtoull(argv[0], NULL, 10);
mtime = (time_t)strtoull(argv[1], NULL, 10);
if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
fprintf(stderr, "can't set file mtime a... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x3320
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x3320
movq %rax, -0x18(%rbp)
... | /nih-at[P]libzip/src/ziptool.c |
launch.cold.9 | static int
force_timing_changes(uint8_t wanted_perflvl, int mmiotrace)
{
Display *dpy = NULL;
int ret = 0, i = 0;
/* wait for X to come up */
do
{
usleep(10000); /* 10 ms */
dpy = XOpenDisplay(NULL);
i++;
} while(!dpy && i < 200 ); /* wait 2 seconds */
fprintf(stderr, "-- Display opened\n");
if (!dpy) {... | pushq %rbp
pushq %rbx
pushq %rax
movq 0x872d(%rip), %rax # 0xbff0
movq (%rax), %rbx
pushq $0x1
popq %rbp
movl %ebp, %edi
callq 0x3420
leaq 0x3f5c(%rip), %rsi # 0x7833
movq %rbx, %rdi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3220
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| /envytools[P]envytools/nva/set_timings.c |
signal_handler | void signal_handler(int sig)
{
if (sig == SIGSEGV)
fprintf(stderr, "Received a sigsegv. Exit nicely...\n");
else
fprintf(stderr, "Received a termination request. Exit nicely...\n");
system("killall X");
exit(99);
} | pushq %rax
cmpl $0xb, %edi
movq 0x8219(%rip), %rax # 0xbff0
movq (%rax), %rcx
movl $0x23, %eax
movl $0x2f, %esi
cmoveq %rax, %rsi
leaq 0x3279(%rip), %rax # 0x7068
leaq 0x3296(%rip), %rdi # 0x708c
cmoveq %rax, %rdi
movl $0x1, %edx
callq 0x3400
leaq 0x32b1(%rip), %rdi # 0x70bc
callq 0x3100
movl $0x63,... | /envytools[P]envytools/nva/nvamemtiming.c |
parse_cmd_line | int parse_cmd_line(int argc, char **argv, struct nvamemtiming_conf *conf)
{
int c, val;
conf->cnum = 0;
conf->mmiotrace = false;
conf->mode = MODE_AUTO;
conf->vbios.file = NULL;
conf->range.start = -1;
conf->range.end = -1;
while ((c = getopt (argc, argv, "hts:f:d:b:c:e:v:")) != -1)
switch (c) {
case 'e'... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %ebp
xorl %eax, %eax
movl %eax, (%rdx)
movb $0x0, 0x4(%rdx)
movl %eax, 0x8(%rdx)
movq $0x0, 0x10(%rdx)
movw $0xffff, 0xc(%rdx) # imm = 0xFFFF
leaq 0x3387(%rip), %r15 # 0x7389
leaq 0x2ffb(%ri... | /envytools[P]envytools/nva/nvamemtiming.c |
main | int main(int argc, char** argv)
{
unsigned long start_time, total_time;
struct nvamemtiming_conf conf;
struct timeval tv;
int ret;
signal(SIGINT, signal_handler);
signal(SIGSEGV, signal_handler);
if (nva_init()) {
fprintf (stderr, "PCI init failure!\n");
return 1;
}
parse_cmd_line(argc, argv, &conf);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq -0x40c(%rip), %r14 # 0x3dcc
movl $0x2, %edi
movq %r14, %rsi
callq 0x3200
movl $0xb, %edi
movq %r14, %rsi
callq 0x3200
xorl %eax, %eax
callq 0x6933
testl %eax, %eax
jne 0x4316
movq %rsp, %r14
movl %ebp, %edi
movq %rbx,... | /envytools[P]envytools/nva/nvamemtiming.c |
launch | static int
launch(struct nvamemtiming_conf *conf, FILE *outf, uint8_t progression, enum color color)
{
printf("--- Start sequence number %u\n", progression);
if (system("rmmod nvidia") == 127)
{
fprintf(stderr, "rmmod not found. Abort\n");
exit (2);
}
if (vbios_upload_pramin(conf->cnum, conf->vbios.data, con... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movl %ecx, %r13d
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x31db(%rip), %rdi # 0x75bc
movl %edx, %esi
xorl %eax, %eax
callq 0x3110
leaq 0x31e9(%rip), %rdi # 0x75da
callq 0x3100
cmpl $0x7f, %eax
je 0x4a21
movl (%r14)... | /envytools[P]envytools/nva/set_timings.c |
shallow_dump | int
shallow_dump(struct nvamemtiming_conf *conf)
{
char filename[21];
int i;
if (conf->range.start == (unsigned char) -1 || conf->range.end == (unsigned char) -1)
sprintf(filename, "regs_timing_%i_%i", conf->range.start, conf->range.end);
else
sprintf(filename, "regs_timing");
/* TODO: get this filename fro... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movzbl 0xc(%rdi), %edx
movzbl 0xd(%rdi), %ecx
cmpl $0xff, %edx
je 0x4a94
cmpl $0xff, %ecx
movl $0xff, %ecx
jne 0x4aa7
leaq 0x2a5d(%rip), %rsi # 0x74f8
movq %rsp, %rdi
xorl %eax, %eax
callq 0x33e0
jmp 0x4abd
movabsq $0x6d69745f73676572, %rax # imm = 0x6D69745F73676572
mov... | /envytools[P]envytools/nva/set_timings.c |
bitfield_check | int bitfield_check(struct nvamemtiming_conf *conf)
{
char outfile[21];
snprintf(outfile, 20, "entry_b_%i", conf->bitfield.index);
/* TODO: get this filename from the command line */
FILE *outf = fopen(outfile, "wb");
if (!outf) {
perror("Open the output file");
return 1;
}
printf("Bitfield mode: test inde... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movzbl 0xc(%rdi), %ecx
leaq 0x2a34(%rip), %rdx # 0x7549
xorl %ebp, %ebp
movq %rsp, %r14
movl $0x14, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x3140
leaq 0x2922(%rip), %rsi # 0x7452
movq %r14, %rdi
callq 0x3360
testq %rax... | /envytools[P]envytools/nva/set_timings.c |
manual_check | int manual_check(struct nvamemtiming_conf *conf)
{
char outfile[21];
snprintf(outfile, 20, "entry_%i_%i", conf->manual.index, conf->manual.value);
/* TODO: get this filename from the command line */
FILE *outf = fopen(outfile, "wb");
if (!outf) {
perror("Open the output file");
return 1;
}
printf("Manual ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movzbl 0xc(%rdi), %ecx
movzbl 0xd(%rdi), %r8d
leaq 0x29a3(%rip), %rdx # 0x7587
xorl %ebx, %ebx
movq %rsp, %r15
movl $0x14, %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3140
leaq 0x2853(%rip), %rsi # 0x7452
movq %r15, %rdi
callq 0x3360
testq %ra... | /envytools[P]envytools/nva/set_timings.c |
write_to_file | static int
write_to_file(const char *path, const char *data)
{
FILE *file = fopen(path, "wb");
if (!file)
return 1;
fputs(data, file);
fclose(file);
return 0;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x27d2(%rip), %rsi # 0x7452
callq 0x3360
testq %rax, %rax
je 0x4ca4
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3160
movq %r14, %rdi
callq 0x30a0
xorl %eax, %eax
jmp 0x4ca9
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /envytools[P]envytools/nva/set_timings.c |
dump_regs | static void
dump_regs(int cnum, FILE* outf, uint32_t ref_val[], int ref_exist, uint32_t reg, uint32_t regs_len, enum color color)
{
uint32_t val;
int r;
for (r = 0; r < regs_len; r+=4)
{
if (r % 0x10 == 0)
fprintf(outf, "%08x: ", reg + r);
val = nva_r... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %ecx, 0x8(%rsp)
movq %rdx, 0x18(%rsp)
testl %r9d, %r9d
je 0x4de5
movq %rsi, %r15
movl 0x70(%rsp), %r12d
movslq %edi, %rax
movq %rax, 0x30(%rsp)
movl %r8d, %eax
movq %rax, 0x28(%rsp)
movl %r9d, %eax
movq %rax, 0x20(%rsp)
leaq 0x27ff(... | /envytools[P]envytools/nva/set_timings.c |
vbios_upload_pramin | int vbios_upload_pramin(int cnum, uint8_t *vbios, int length)
{
uint32_t old_bar0_pramin = 0;
int i = 0;
if (nva_cards[cnum]->chipset.chipset < 0x04) {
return ECARD;
}
fprintf(stderr, "Attempt to upload the vbios to card %i (nv%02x) using PRAMIN\n",
cnum, nva_cards[cnum]->chipset.chipset);
/* Update the c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0x828d(%rip), %r14 # 0xd090
movq (%r14), %rax
movslq %edi, %r15
movq (%rax,%r15,8), %rax
movl 0x14(%rax), %ecx
movl $0xfffffffa, %eax # imm = 0xFFFFFFFA
cmpl $0x4, %ecx
jge 0x4e23
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %edx, %eb... | /envytools[P]envytools/nva/vbios_mgmt.c |
find_display | static XEXT_GENERATE_FIND_DISPLAY (find_display, nvctrl_ext_info,
nvctrl_extension_name,
&nvctrl_extension_hooks,
NV_CONTROL_EVENTS, NVCTRL_EXT_NEED_CHECK)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, nvctrl... | pushq %rbx
movq %rdi, %rbx
leaq 0x804d(%rip), %rdi # 0xd078
movq %rbx, %rsi
callq 0x30b0
testq %rax, %rax
je 0x503a
popq %rbx
retq
leaq 0x8037(%rip), %rdi # 0xd078
leaq 0x29e8(%rip), %rdx # 0x7a30
leaq 0x72e9(%rip), %rcx # 0xc338
movq %rbx, %rsi
movl $0x5, %r8d
movq $-0x1, %r9
popq %rbx
jmp 0x3410
| /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLSetTargetAttribute | void XNVCTRLSetTargetAttribute (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
int value
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSetAttributeReq *req;
XNVCTRLSimpleCheckExtension (dpy, info);
XNVCTRLCheckTargetData... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r9d, %ebp
movl %r8d, %r14d
movl %ecx, %r15d
movq %rdi, %rbx
movl %esi, 0xc(%rsp)
movl %edx, 0x8(%rsp)
callq 0x5020
testq %rax, %rax
je 0x53c3
movq %rax, %r12
cmpq $0x0, 0x10(%rax)
je 0x53c3
leaq 0xc(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rbx,... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLSetTargetAttributeAndGetStatus | Bool XNVCTRLSetTargetAttributeAndGetStatus (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
int value
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSetAttributeAndGetStatusReq *req;
xnvCtrlSetAttributeAndGetStatusReply rep;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, 0x4(%rsp)
movl %r8d, (%rsp)
movl %ecx, %r15d
movl %edx, %r12d
movl %esi, %r13d
movq %rdi, %rbx
callq 0x5020
xorl %r14d, %r14d
testq %rax, %rax
je 0x554e
movq %rax, %rbp
cmpq $0x0, 0x10(%rax)
je 0x554e
movq 0x968(%rbx), %rax
te... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLQueryTargetAttribute | Bool XNVCTRLQueryTargetAttribute (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
int *value
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlQueryAttributeReply rep;
xnvCtrlQueryAttributeReq *req;
Bool exists;
if(!Xex... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
callq 0x5020
xorl %r12d, %r12d
testq %rax, %rax
je 0x5676
movq %rax, %r13
cmpq $0x0, 0x10(%rax)
je 0x5676
leaq 0x4(%rsp), %rdx
movq %r... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLQueryTargetStringAttribute | Bool XNVCTRLQueryTargetStringAttribute (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
char **ptr
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlQueryStringAttributeReply rep;
xnvCtrlQueryStringAttributeReq *req;
Bool ex... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
callq 0x5020
movq %rax, %r13
testq %r14, %r14
sete %al
testq %r13, %r13
sete %cl
xorl %r12d, %r12d
orb %al, %cl
jne 0x57d9
cmpq $0x0, ... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLSetTargetStringAttribute | Bool XNVCTRLSetTargetStringAttribute (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
char *ptr
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSetStringAttributeReq *req;
xnvCtrlSetStringAttributeReply rep;
int size;
Bo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r12
movl %r8d, 0xc(%rsp)
movl %ecx, 0x8(%rsp)
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %rbx
callq 0x5020
xorl %r15d, %r15d
testq %rax, %rax
je 0x595a
movq %rax, %rbp
cmpq $0x0, 0x10(%rax)
je 0x595a
movq %r12, 0x10(%rsp)
mo... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLQueryValidTargetAttributeValues | Bool XNVCTRLQueryValidTargetAttributeValues (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
NVCTRLAttributeValidValuesRec *values
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlQueryValidAttributeV... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %r15d
movl %ecx, %r12d
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
callq 0x5020
movq %rax, %r13
testq %r14, %r14
sete %al
testq %r13, %r13
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x5abb
cmpq $0x0, 0... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLSetGvoColorConversion | void XNVCTRLSetGvoColorConversion (
Display *dpy,
int screen,
float colorMatrix[3][3],
float colorOffset[3],
float colorScale[3]
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSetGvoColorConversionReq *req;
XNVCTRLSimpleCheckExtension (dpy, info);
LockDisplay (dpy);
GetR... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %rbx
callq 0x5020
testq %rax, %rax
je 0x5c21
movq %rax, %r13
cmpq $0x0, 0x10(%rax)
je 0x5c21
movq 0x968(%rbx), %rax
testq %rax, %rax
je 0x5b23
movq %rbx, %rdi
callq *(%r... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLQueryGvoColorConversion | Bool XNVCTRLQueryGvoColorConversion (
Display *dpy,
int screen,
float colorMatrix[3][3],
float colorOffset[3],
float colorScale[3]
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlQueryGvoColorConversionReply rep;
xnvCtrlQueryGvoColorConversionReq *req;
if(!XextHasExtension... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, (%rsp)
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %rbx
callq 0x5020
xorl %r13d, %r13d
testq %rax, %rax
je 0x5d49
movq %rax, %r14
cmpq $0x0, 0x10(%rax)
je 0x5d49
movq 0x968(%rbx), %rax
testq %rax, %rax
je 0x5c9a
... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.