polytracker icon indicating copy to clipboard operation
polytracker copied to clipboard

Uninstrumented functions

Open ESultanik opened this issue 3 years ago • 4 comments

These are currently uninstrumented functions that we should probably support:

  • [x] bcmp
  • [x] bindtextdomain
  • [x] dirname
  • [x] fgetc
  • [x] fseeko
  • [x] mbtowc
  • [ ] getline
  • [ ] realloc
  • [ ] realpath
  • [ ] vsnprintf
  • [ ] wcrtomb

Here are other uninstrumented functions that we might also want to support, but are lower priority:

  • [ ] isatty
  • [ ] newlocale
  • [ ] pathconf
  • [ ] __xstat

ESultanik avatar Apr 03 '21 17:04 ESultanik

The lack of fgetc may be related to #6352.

ESultanik avatar Apr 08 '21 14:04 ESultanik

As requested, some other instances from libbfd:

==27721==WARNING: DataFlowSanitizer: call to uninstrumented function setlocale
==27721==WARNING: DataFlowSanitizer: call to uninstrumented function bindtextdomain

stevenagy avatar Apr 22 '21 20:04 stevenagy

Additional uninstrumented functions in #6505

ESultanik avatar Nov 10 '22 21:11 ESultanik

An overlapping set of uninstrumented functions documented in #6505 from a different nitf parser, DaeDaLus: https://github.com/trailofbits/polytracker/issues/6505#issuecomment-1315814533

kaoudis avatar Nov 15 '22 20:11 kaoudis