Issue 46809 in oss-fuzz: binutils:fuzz_as: Direct-leak in xrealloc

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 46809 by sheriffbot: binutils:fuzz_as: Direct-leak in 
xrealloc
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46809#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 47562 in oss-fuzz: binutils:fuzz_as: Unexpected-exit in xexit

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 47562 by sheriffbot: binutils:fuzz_as: Unexpected-exit in 
xexit
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47562#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 47852 in oss-fuzz: binutils:fuzz_as: Null-dereference in section_symbol

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 47852 by sheriffbot: binutils:fuzz_as: Null-dereference in 
section_symbol
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47852#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 48094 in oss-fuzz: binutils:fuzz_as: Undefined-shift in resolve_expression

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 48094 by sheriffbot: binutils:fuzz_as: Undefined-shift in 
resolve_expression
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48094#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 48218 in oss-fuzz: binutils:fuzz_as: Out-of-memory in fuzz_as

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 48218 by sheriffbot: binutils:fuzz_as: Out-of-memory in 
fuzz_as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48218#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 48410 in oss-fuzz: binutils:fuzz_as: Direct-leak in xmalloc

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 48410 by sheriffbot: binutils:fuzz_as: Direct-leak in 
xmalloc
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48410#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 48515 in oss-fuzz: binutils:fuzz_as: Use-of-uninitialized-value in operand

2022-07-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 48515 by sheriffbot: binutils:fuzz_as: 
Use-of-uninitialized-value in operand
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48515#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

[Bug gprofng/29350] New: Incorrect function name assigned

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29350

Bug ID: 29350
   Summary: Incorrect function name assigned
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: ruud.vanderpas at oracle dot com
  Target Milestone: ---

The gp-display-text tool assigns an incorrect name to a function. This is a
snippet from the source listing as produced with the source command from
gp-display-text:

 184. MEM_STATIC unsigned MEM_64bits(void) { return sizeof(size_t)==8; }
 185.
  
 186. MEM_STATIC unsigned MEM_isLittleEndian(void)
 187. {
 188. const union { U32 u; BYTE c[4]; } one = { 1 };   /* don't use static
: performance detrimental  */
 189. return one.c[0];
 190. }

Note that function MEM_isLittleEndian is labeled as MEM_64bits.

In the output of the fsummary command, I see this. Note that I removed the path
names:

MEM_64bits
Exclusive Total CPU Time:  1.551 (  2.1%)
Inclusive Total CPU Time:  1.551 (  2.1%)
Size:  6
  PC Address: 12:0x00028b00
 Source File: 
 Object File: 
 Load Object: 
Mangled Name:
 Aliases: MEM_isLittleEndian

I'm not sure if this is indeed an alias for the same function though.

This code cannot be shared easily, but I can prepare a test case. Let me know
if there is interest in this.

I observed this problem with various gcc releases by the way. I'm using an OCI
instance with a Haswell processor, running Oracle Linux 8:

Linux  5.4.17-2102.202.5.el8uek.x86_64 #2 SMP Sat May 22
16:16:03 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29350] Incorrect function name assigned

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29350

Ruud van der Pas  changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29351] New: [display html] Move dynamic loading of modules to a later stage

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29351

Bug ID: 29351
   Summary: [display html] Move dynamic loading of modules to a
later stage
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: ruud.vanderpas at oracle dot com
  Target Milestone: ---

Currently, gp-display-html tries to dynamically load certain modules that are
needed as early as possible.

This approach potentially creates a build time issue, because the --help and
--version options that are used by help2man to generate the man page, fail as
well.

The solution is to move the module loading part past the point where these two
options are parsed and processed. In that way, the man page will be generated
regardless of any missing modules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29351] [display html] Move dynamic loading of modules to a later stage

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29351

Ruud van der Pas  changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29352] New: [gp-display-html] Fix the message Hexadecimal number > 0xffffffff non-portable

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29352

Bug ID: 29352
   Summary: [gp-display-html] Fix the message Hexadecimal number >
0x non-portable
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: ruud.vanderpas at oracle dot com
  Target Milestone: ---

The following Perl warning message is displayed several times:
Hexadecimal number > 0x non-portable

While this does not seem to affect the correctness of the results, these
messages need to be addressed and fixed.

It is worth noting that so far, these have only been observed on a Sun
Microsystems X5-2 server using the Intel E5-2600 v3 ("River Forest/Haswell")
processor.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29352] display html] Fix the message Hexadecimal number > 0xffffffff non-portable

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29352

Ruud van der Pas  changed:

   What|Removed |Added

Summary|[gp-display-html] Fix the   |display html] Fix the
   |message Hexadecimal number  |message Hexadecimal number
   |> 0x non-portable   |> 0x non-portable
   Priority|P2  |P3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29353] New: [display html] Fix a lay-out issue in the html disassembly files

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29353

Bug ID: 29353
   Summary: [display html] Fix a lay-out issue in the html
disassembly files
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: ruud.vanderpas at oracle dot com
  Target Milestone: ---

The generated html has a lay-out issue. In some html lines, the instruction is
not aligned with the other instructions in the same file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29353] [display html] Fix a lay-out issue in the html disassembly files

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29353

Ruud van der Pas  changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29352] [display html] Fix the message Hexadecimal number > 0xffffffff non-portable

2022-07-10 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29352

Ruud van der Pas  changed:

   What|Removed |Added

Summary|display html] Fix the   |[display html] Fix the
   |message Hexadecimal number  |message Hexadecimal number
   |> 0x non-portable   |> 0x non-portable

-- 
You are receiving this mail because:
You are on the CC list for the bug.