This example demonstrates use of the pcre
library in KasperskyOS.
In this example, the Client
program uses the pcre
library and prints the results to the console.
The CMake
system, which is included with KasperskyOS Community Edition, is used to build and run the example.
Example files
The code of the example and build scripts are available at the following path:
/opt/KasperskyOS-Community-Edition-<version>/examples/pcre
Building and running example
See Building and running examples section.
To ensure that the pcre
example will correctly run in Raspberry Pi, you must do the following after building the example and preparing your bootable SD card:
/lib
directory on the bootable SD card if this directory doesn't already exist.build/hdd/lib
directory that was generated when building the example and copy the directory contents to the /lib
directory on the bootable SD card.