Skip to content

Conversation

a4lg
Copy link
Owner

@a4lg a4lg commented Oct 14, 2023

@a4lg a4lg force-pushed the riscv-mapping-sym-dot-handling branch 2 times, most recently from 019e2d9 to b3a9e9f Compare October 14, 2023 08:37
@a4lg a4lg added the bug Something isn't working label Oct 14, 2023
@a4lg a4lg force-pushed the riscv-mapping-sym-dot-handling branch from b3a9e9f to c7187ed Compare October 19, 2023 03:18
This commit makes minor improvements to mapping symbols (executable)
handling with a dot suffix.

1.  Use size_t instead of int
2.  Allocate minimum size for the architectural string buffer.
3.  memcpy instead of strncpy because we know the exact size to copy.
4.  Minor variable naming changes.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_get_map_state): Minor improvements to
	handling of executable mapping symbols with dot suffix.
@a4lg a4lg force-pushed the riscv-mapping-sym-dot-handling branch from c7187ed to 3bc9421 Compare October 19, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant