1. 28 Jan, 2018 1 commit
    • Hisham Muhammad's avatar
      Core/Linux: reorganize process reading loop · 66909bf5
      Hisham Muhammad authored
      Move functions that read process data into LinuxProcess.c
      and change flow from a monolithic `ProcessList_scan ->
      ProcessList_goThroughEntries` into the following:
      
      ```
      ProcessList_scan -> (Linux)ProcessList_goThroughEntries ->
      ProcessList_scanProcess -> (Linux)Process_update
      ```
      
      This will allow hooking plugins into the scanning
      process.
      
      Other platforms need to be similarly reworked.
      66909bf5
  2. 27 Jul, 2017 1 commit
  3. 03 Jun, 2016 1 commit
  4. 02 Jun, 2016 1 commit
    • Explorer09's avatar
      Add assert and __attribute__((nonnull)) on xStrdup · 3297616e
      Explorer09 authored
      __attribute__((nonnull)) will help catching "calling with NULL" mistake on
      compile time.
      
      I also convert xStrdup into a macro, that will do assert() inline when the
      code is *not* built with -DNDEBUG . For release builds (with -DNDEBUG),
      preprocessor trick will ensure that generated code remains the same.
      3297616e
  5. 31 Jan, 2016 1 commit