File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1322,6 +1322,11 @@ pub trait BinaryViewExt: BinaryViewBase {
13221322 }
13231323 }
13241324
1325+ /// This list contains the analysis entry function, and functions like init_array, fini_array,
1326+ /// and TLS callbacks etc.
1327+ ///
1328+ /// We see `entry_functions` as good starting points for analysis, these functions normally don't
1329+ /// have internal references. Exported functions in a dll/so file are not included.
13251330 fn entry_point_functions ( & self ) -> Array < Function > {
13261331 unsafe {
13271332 let mut count = 0 ;
@@ -1706,6 +1711,9 @@ pub trait BinaryViewExt: BinaryViewBase {
17061711 }
17071712 }
17081713
1714+ /// Retrieve the metadata as the type `T`.
1715+ ///
1716+ /// Fails if the metadata does not exist, or if the metadata failed to coerce to type `T`.
17091717 fn get_metadata < T > ( & self , key : & str ) -> Option < Result < T > >
17101718 where
17111719 T : for < ' a > TryFrom < & ' a Metadata > ,
@@ -2235,6 +2243,9 @@ pub trait BinaryViewExt: BinaryViewBase {
22352243 }
22362244 }
22372245
2246+ /// Retrieve the string that falls on a given virtual address.
2247+ ///
2248+ /// NOTE: This returns discovered strings and is therefore governed by `analysis.limits.minStringLength` and other settings.
22382249 fn string_at ( & self , addr : u64 ) -> Option < BNStringReference > {
22392250 let mut str_ref = BNStringReference :: default ( ) ;
22402251 let success = unsafe { BNGetStringAtAddress ( self . as_ref ( ) . handle , addr, & mut str_ref) } ;
You can’t perform that action at this time.
0 commit comments