Benign debian Download

base64-inl.h

imports base64.hCalls a native Base64 decoder
SHA-256efea162e1edcd71d6244f0593d219737c26e044edc71f446e884987eac236a7b

Evidence

imports base64.h lines 4–20
4:3… f defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5
6#include "base64.h"
7#include "libbase64.h"
8#include "util.h"
9
10namespace node {
11
12static constexpr char base64_table_url[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
13 "abcdefghijklmnopqrstuvwxyz"
14 "0123456789-_";
⋯6 lines
English function-word token "for" lines 32–38
32:19… sh)
33// MSVC C4003: not enough actual parameters for macro 'identifier'
34#pragma warning(disable : 4003)
35#endif
36
37template <typename TypeName>
38bool ba …
C declares a character or byte buffer lines 73–79
73:20… clen / 4 * 4;
74 size_t i = 0;
75 size_t k = 0;
76 while (i < max_i && k < max_k) {
77 const unsigned char txt[] = {
78 static_cast<unsigned char>(unbase64(static_cast<uint8_t>(src[i + 0]))),
79 static_cast<unsigned char>(unbase6 …
Calls a native Base64 decoder lines 116–123
116:18… ecoded_size_fast(size);
117}
118
119
120template <typename TypeName>
121size_t base64_decode(char* const dst, const size_t dstlen,
122 const TypeName* const src, const size_t srclen) {
123 const size_t dec …
English function-word token "that" lines 133–135
133:3… // We know how much we'll write, just make sure that there's space.
134 CHECK(dlen >= base64_encoded_size(slen, mode) &&
135 "not enough space pro …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.