Skip to content

Normalize addresses printed for non-file-scope pointers in output [] - #304

Open
mborland wants to merge 1 commit into
edgcpp:mainfrom
mborland:0002
Open

mborland wants to merge 1 commit into
edgcpp:mainfrom
mborland:0002

Conversation

@mborland

Copy link
Copy Markdown
Contributor

il_display prints a pointer to an entity outside the file-scope memory
region with its raw address. One example is the name of a function's
parameter, in the param-type entry of the function's type:

name:                    **possible non-file-scope ptr** (0x7c74a620a0): "x"

The address changes from run to run. The test output filter
(dev_tools/pylibs/edgtest/filter/__init__.py, _REGEX_REPLACEMENTS)
normalizes the other addresses (@…, @0x…, .text+0x…) but not this one.
So the recorded output of any test that displays such an IL never matches
twice.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant