You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
When I saw this, I thought to myself, surely there is a better way!
According to the IDA CPP header,
/// Invisible COLOR_ADDR tags in the output text are used to refer to ctree items and variablesstructctree_anchor_t
{
uval_t value;
#defineANCHOR_INDEX0x1FFFFFFF
#defineANCHOR_MASK0xC0000000
#defineANCHOR_CITEM0x00000000///< c-tree item
#defineANCHOR_LVAR0x40000000///< declaration of local variable
#defineANCHOR_ITP0x80000000///< item type preciser
#defineANCHOR_BLKCMT0x20000000///< block comment (for ctree items)
...
item_preciser_tget_itp(void)
bool is_valid_anchor(void)
bool is_citem_anchor(void)
bool is_itp_anchor(void)
...
};
… these other types of anchors are embedded in the string, and the citem_t anchor just happens to be all 0's. I do (think I) see them in a few places, such as this local variable anchor here:
Referring to this code, used to add a comment:
https://github.com/fireeye/FIDL/blob/e6ceb000cda43b450717eb171309c02dee06dd4f/FIDL/decompiler_utils.py#L2126-L2135
When I saw this, I thought to myself, surely there is a better way!
According to the IDA CPP header,
… these other types of anchors are embedded in the string, and the
citem_t
anchor just happens to be all 0's. I do (think I) see them in a few places, such as this local variable anchor here:But I don't see them at all on some other lines where I would at least expect to see an
ANCHOR_ITP
for anITP_SEMI
item preciser, like this:which corresponds to this line:
So, what gives? Why these anchors only on some lines?
The text was updated successfully, but these errors were encountered: