Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMPStaticAnalyzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
SMPStaticAnalyzer
Compare revisions
754a400ffb55eb62c22f7ae70750e710e8a44e71 to 48edeefcbe4b29a80c354d089f13b950a3162bd8
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
opensrc/SMPStaticAnalyzer
Select target project
No results found
48edeefcbe4b29a80c354d089f13b950a3162bd8
Select Git revision
Swap
Target
opensrc/SMPStaticAnalyzer
Select target project
opensrc/SMPStaticAnalyzer
1 result
754a400ffb55eb62c22f7ae70750e710e8a44e71
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
reworking scons file for pedi insanity
· 48edeefc
Jason Hiser
authored
5 years ago
48edeefc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-2
1 addition, 2 deletions
.gitignore
SConscript
+13
-18
13 additions, 18 deletions
SConscript
with
14 additions
and
20 deletions
.gitignore
View file @
48edeefc
...
...
@@ -62,5 +62,4 @@ tests/quick/*.til
tests/quick/*.infoannot
tests/quick/*.idaoutput
tests/quick/*.annot
build
This diff is collapsed.
Click to expand it.
SConscript
View file @
48edeefc
...
...
@@ -137,8 +137,7 @@ if processor == "x86_64":
env
=
libehpEnv
Export
(
'
env
'
)
libehp
=
libehpEnv
.
SConscript
(
"
libehp/SConscript
"
,
variant_dir
=
'
scons_build/libehp
'
);
libehp
=
libehpEnv
.
Install
(
"
$SMPSA_HOME/libehp/lib
"
,
libehp
);
libehp
=
libehpEnv
.
SConscript
(
"
libehp/SConscript
"
)
if
int
(
argenv
[
'
build_ida
'
])
==
1
or
int
(
argenv
[
'
build_ida7
'
])
==
1
:
...
...
@@ -160,20 +159,12 @@ if int(argenv['build_ida']) == 1 or int(argenv['build_ida7']) == 1:
if
int
(
argenv
[
'
build_ida
'
])
==
1
:
print
"
Build IDA Plugin
"
idalib
=
SConscript
(
'
SConscript.ida
'
,
variant_dir
=
'
build
_
ida
'
)
idalib
=
SConscript
(
'
SConscript.ida
'
,
variant_dir
=
'
build
/
ida
'
)
elif
int
(
argenv
[
'
build_ida7
'
])
==
1
:
print
"
Build IDA 7.0+ Plugin
"
idalib
=
SConscript
(
'
SConscript.ida7
'
,
variant_dir
=
'
build
_
ida
'
)
idalib
=
SConscript
(
'
SConscript.ida7
'
,
variant_dir
=
'
build
/
ida
'
)
print
"
Done build IDA Plugin
"
# Prepare to remove test binaries from repo by not running STARS on them
# test=argenv.Command(target="./test.log", source=idalib, action="IDAROOT=$IDAROOT SMPSA_HOME=$SMPSA_HOME $SMPSA_HOME/tests/scripts/make_baseline.sh 2>&1 |tee ./test.log")
# argenv.Depends(test,idalib)
# ab=argenv.AlwaysBuild(test)
# argenv.Default(ab)
# installers=installers+ab
Default
(
idalib
)
argenv
.
Depends
(
idalib
,
libehp
)
...
...
@@ -183,7 +174,7 @@ if int(argenv['build_irdb']) == 1 or int(argenv['build_irdb_driver']) == 1:
print
'
Cannot build libstars.a without SECURITY_TRANSFORMS_HOME set. Did you forget the env. var.? Or try setting build_irdb=0.
'
exit
(
1
)
print
"
Build IDA/IRDB library
"
irdblib
=
SConscript
(
'
SConscript.irdb_lib
'
,
variant_dir
=
'
build
_
irdb_lib
'
)
irdblib
=
SConscript
(
'
SConscript.irdb_lib
'
,
variant_dir
=
'
build
/
irdb_lib
'
)
installers
=
installers
+
irdblib
Default
(
irdblib
)
argenv
.
Depends
(
irdblib
,
libehp
)
...
...
@@ -191,12 +182,16 @@ if int(argenv['build_irdb']) == 1 or int(argenv['build_irdb_driver']) == 1:
if
'
PEDI_HOME
'
in
os
.
environ
:
pedi
=
Command
(
target
=
"
./testoutput
"
,
source
=
"
./SConscript
"
,
pedi
=
Command
(
target
=
"
./
smp-
testoutput
"
,
source
=
installers
,
action
=
"
if [ -f manifest.txt.config ]; then
"
+
os
.
environ
[
'
PEDI_HOME
'
]
+
"
/pedi -m manifest.txt ; else echo Skipping PEDI; fi
"
)
Depends
(
pedi
,
installers
)
Default
(
pedi
)
Return
(
'
pedi
'
)
ret
=
installers
if
Dir
(
'
.
'
).
abspath
==
Dir
(
'
#.
'
).
abspath
:
Default
(
pedi
)
ret
=
ret
+
pedi
else
:
Default
(
installers
)
Return
(
'
ret
'
)
...
...
This diff is collapsed.
Click to expand it.