Project

General

Profile

Actions

Optimization #5517

open

decode: big clean up (macros and functions)

Added by Juliana Fajardini Reichow over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

decode.h seems to have some unused macros, functions that could replace macros, as well as functions that are named similarly than macros, but have slightly different behaviors.

I think it would be beneficial to go over the file and remove unused code and replace macros for functions when possible.

An interesting example is the PACKET_SET_ACTION macro - we have a PacketSetAction function which calls the macro, but takes into account packet tunneling - which doesn't seem to be accounted for in the corresponding macro.

Actions #2

Updated by Juliana Fajardini Reichow over 1 year ago

  • Target version changed from TBD to 8.0.0-beta1
Actions #3

Updated by Victor Julien 4 months ago

  • Assignee changed from Juliana Fajardini Reichow to OISF Dev
Actions

Also available in: Atom PDF