Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rv_histogram: Make it more verbose #275

Closed
wants to merge 1 commit into from

Conversation

ChinYikMing
Copy link
Collaborator

@ChinYikMing ChinYikMing commented Nov 23, 2023

Section headers must be present for static analysis

Closed #272

tools/rv_histogram.c Fixed Show fixed Hide fixed
tools/rv_histogram.c Fixed Show fixed Hide fixed
tools/rv_histogram.c Fixed Show fixed Hide fixed
@@ -28,6 +28,8 @@
static unsigned short max_col;
static unsigned short used_col;

static int ret_val = 0;

Check warning

Code scanning / Cppcheck (reported by Codacy)

misra violation 809 with no text in the supplied rule-texts-file

misra violation 809 with no text in the supplied rule-texts-file
(void) fprintf(stderr, "no section headers are found in %s\n",
elf_prog);
ret_val = 1;
goto end;

Check notice

Code scanning / Cppcheck (reported by Codacy)

MISRA 15.1 rule

MISRA 15.1 rule
return 1;
(void) fprintf(stderr, "elf_open %s failed\n", elf_prog);
ret_val = 1;
goto end;

Check notice

Code scanning / Cppcheck (reported by Codacy)

MISRA 15.1 rule

MISRA 15.1 rule
Section headers must be present for static analysis

Closed sysprog21#272
@ChinYikMing
Copy link
Collaborator Author

resolved by #276

@ChinYikMing ChinYikMing deleted the pr branch December 16, 2023 07:41
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.

histogram: Fail to execute with cc.elf
1 participant