Project

General

Profile

Actions

Optimization #9246

open
SZ SZ

Replace magical numbers in bytetest/bytejump/util-byte by macro

Optimization #9246: Replace magical numbers in bytetest/bytejump/util-byte by macro

Added by Sergey Zhidkih 4 days ago. Updated 4 days ago.

Status:
New
Priority:
Low
Target version:
Effort:
low
Difficulty:
Label:

Description

Hello! So recently I was triaging some old sanitizers reports in detect-bytejump/detect-bytest and stumbled across multiple explanations of same magical numbers: Show


I find this over-explained. Wouldn't it be better to create two macros with the explanation in the definition instead of placing it everywhere?

SZ Updated by Sergey Zhidkih 4 days ago Actions #1

  • Effort set to low
Actions

Also available in: PDF Atom