Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/run-rl-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: ReversingLabs Rl-Scanner
run-name: ReversingLabs rl-scanner

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
types: [opened, synchronize, edited, ready_for_review, reopened]

jobs:
checkout-build-scan-action:
runs-on: ubuntu-latest

permissions:
statuses: write
pull-requests: write
# The next 3 permissions are used for SARIF report upload
security-events: write
actions: read
contents: read

steps:
# Need to check out data before we can do anything
- uses: actions/checkout@v4

# Replace this with your build process
# Need to produce one file as the build artifact in scanfile=<relative file path>
- name: Create the build artifact
id: build

shell: bash

run: |
# Prepare the build process
make | tee build-log.txt
echo "build-log=build-log.txt" >>$GITHUB_OUTPUT
echo "scanfile=bin/xlisp" >> $GITHUB_OUTPUT

# Use the rl-scanner-composite action
- name: Scan the build artifact
id: rl-scan

env:
RLSECURE_ENCODED_LICENSE: ${{ secrets.RLSECURE_ENCODED_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}

uses: rl-maartenb/gh-action-rl-scanner-composite-test@v0.0.4
with:
artifact-to-scan: ${{ steps.build.outputs.scanfile }}
report-path: "My_Report_Dir"
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
*.suo
*.obj
*.pdb
*.ilk
*.ilk
bin/
lib/
obj/
35 changes: 35 additions & 0 deletions 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
rm -f -r obj
rm -f -r lib
rm -f -r bin
mkdir bin
mkdir obj
mkdir obj/xlisp
obj/xlisp/xlisp.o
mkdir lib
mkdir obj/lib
obj/lib/unstuff.o
obj/lib/xlansi.o
obj/lib/xlapi.o
obj/lib/xlcobj.o
obj/lib/xlcom.o
obj/lib/xldbg.o
obj/lib/xldmem.o
obj/lib/xlfasl.o
obj/lib/xlftab.o
obj/lib/xlfun1.o
obj/lib/xlfun2.o
obj/lib/xlfun3.o
obj/lib/xlimage.o
obj/lib/xlinit.o
obj/lib/xlint.o
obj/lib/xlio.o
obj/lib/xlmain.o
obj/lib/xlitersq.o
obj/lib/xlmath.o
obj/lib/xlobj.o
obj/lib/xlosint.o
obj/lib/xlprint.o
obj/lib/xlread.o
obj/lib/xlsym.o
lib/libxlisp.a
bin/xlisp
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ clean:
#########

.PHONY: xlisp
xlisp: $(BINDIR) $(BINDIR)/xlisp$(EXT)
xlisp: clean $(BINDIR) $(BINDIR)/xlisp$(EXT)

XLISPOBJS=\
$(XLISPOBJDIR)/xlisp.o
Expand Down Expand Up @@ -135,4 +135,3 @@ $(OBJSUBDIRS): $(OBJDIR)

$(DIRS) $(OBJSUBDIRS):
$(MKDIR) $@

1 change: 1 addition & 0 deletions test123
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test again