secure-software-engineering / phasar

A LLVM-based static analysis framework.
Other
933 stars 140 forks source link

Stack overflow when analyzing #613

Closed asesidaa closed 1 year ago

asesidaa commented 1 year ago

Bug description

When analyzing mpi libraries, stackoverflow will happen (resulting in segmentation fault)

Steps to reproduce

Actual result: Get segmentation fault (when using ASAN, it shows stackoverflow) Expected result: Analysis finishes normally

Context (Environment)

Operating System:

Build Type:

Possible solution

Currently, for OpenMPI, I have identified that the following functions will crash Phasar:

MMory commented 1 year ago

Hi @asesidaa ,

I am pretty sure that you did not increase the stack size. For larger programs you need to increase the maximum stack size using the ulimit command line tool prior to running phasar-cli.

Cheers Martin

MMory commented 1 year ago

Hi @asesidaa,

did my reply help? If there are no updates within 24 hours I will consider this issue as resolved and close it.

Cheers Martin