I've been using BAP to analyze cURL in RISC-V (libcurl.4.4.0).
Calling llvm-objdump on the binary results in this dump.
Generating BIL for the same binary using bap libcurl.4.4.0 -dbil.adt produces this file.
In the BIL output, after the instruction jal appears in a subroutine all the subsequent instructions are lost. In these cases, jal is used to call PLT stubs in the binary.
An example can be found in the curl_easy_getinfo subroutine given below:
I've been using BAP to analyze cURL in RISC-V (libcurl.4.4.0).
Calling
llvm-objdump
on the binary results in this dump.Generating BIL for the same binary using
bap libcurl.4.4.0 -dbil.adt
produces this file.In the BIL output, after the instruction
jal
appears in a subroutine all the subsequent instructions are lost. In these cases,jal
is used to call PLT stubs in the binary.An example can be found in the
curl_easy_getinfo
subroutine given below:The BIL for this subroutine is as follows:
Instructions at
1be44
,1be46
and1be48
do not appear in the BIL output.Is there a workaround?