Benign freebsd Download

ocs_utils.c

Source contains low-bit mask syntaxSource references XOR syntax
SHA-256d6ee8bc3e388d07f7e1eaaf2e0b7481297d973a3993352f72ac6f3a71750667b

Evidence

imports ocs.h lines 29–45
⋯6 lines
35 */
36
37#include "ocs.h"
38#include "ocs_os.h"
39
40#define DEFAULT_SLAB_LEN (64*1024)
⋯5 lines
Reassigns seq_file count lines 100–109
⋯4 lines
104 array->os = os;
105 array->size = size;
106 array->count = count;
107 array->elems_per_row = slab_len / size;
108 array->n_rows = (count + array->elems_per_row - 1) / array->elems_per_row;
109 array->by …
C declares a character or byte buffer lines 640–657
⋯9 lines
649{
650 va_list ap;
651 char valuebuf[64];
652
653 va_start(ap, fmt);
⋯4 lines
Source contains low-bit mask syntax lines 1054–1058
1054:21… wqe_word_mask)*8) - 1); i >= 0; i--){
1055 if ((wqe_word_mask >> i) & 1) {
1056 q_hist->q_hist[q_hist->q_hist_index] = entryw[i];
1057 q_hist->q_hist_index++;
1058 q_hist->q_hist_index = q_hist->q_hist_ …
Source references XOR syntax lines 2275–2287
2275:59… en, unsigned short crc)
2276{
2277 if (blk_len > 0) {
2278 while (blk_len--) {
2279 crc = crctable[((crc>>8) ^ *blk_adr++) & 0xFFL] ^ (crc << 8);
2280 }
2281 }
⋯6 lines

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.