inlinecall

Print call sites of an inline function
git clone git://git.margiolis.net/inlinecall.git
Log | Files | Refs | README | LICENSE

inlinecall.1 (643B)


      1 .Dd February 15, 2023
      2 .Dt INLINECALL 1
      3 .Os
      4 .Sh NAME
      5 .Nm inlinecall
      6 .Nd print call sites of an inline function
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Ar function
     10 .Ar file 
     11 .Sh DESCRIPTION
     12 .Pp
     13 .Nm
     14 finds the call sites of
     15 .Ar function
     16 (if it's an inline function) in
     17 .Ar file
     18 and outputs the results in the following format:
     19 .Bd -literal -offset indent
     20 cu1_func_declaration_file:line
     21 	[low_bound - high_bound]	inline_copy1_file:line	caller_func()
     22 	[low_bound - high_bound]	inline_copy2_file:line	caller_func()
     23 	...
     24 cu2_func_declaration_file:line
     25 	...
     26 .Ed
     27 .Sh SEE ALSO
     28 .Xr dwarf 3 ,
     29 .Xr elf 3 ,
     30 .Xr gelf 3
     31 .Sh AUTHORS
     32 .An Christos Margiolis Aq Mt christos@FreeBSD.org