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
Commits
98a23287
Commit
98a23287
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
addressed libehp building problems
parent
036b2a64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
Scons changes for libehp linking
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
SConscript
+7
-4
7 additions, 4 deletions
SConscript
libehp
+1
-1
1 addition, 1 deletion
libehp
with
9 additions
and
5 deletions
.gitignore
+
1
−
0
View file @
98a23287
scons_build
.sconsign.dblite
build_ida/
build_irdb_lib/
...
...
This diff is collapsed.
Click to expand it.
SConscript
+
7
−
4
View file @
98a23287
...
...
@@ -117,6 +117,10 @@ Export('argenv', 'STARS_CCFLAGS', 'STARS_LDFLAGS', 'STARS_LDPREFIX')
installers
=
[]
libehp
=
argenv
.
SConscript
(
"
libehp/SConscript
"
,
variant_dir
=
'
scons_build/libehp
'
);
libehp
=
argenv
.
Install
(
"
$SMPSA_HOME/libehp/lib
"
,
libehp
);
Default
(
libehp
)
if
int
(
argenv
[
'
build_ida
'
])
==
1
or
int
(
argenv
[
'
build_ida7
'
])
==
1
:
if
argenv
[
'
IDASDK
'
]
is
None
:
print
'
Cannot proceed without IDASDK set.
'
...
...
@@ -140,6 +144,7 @@ if int(argenv['build_ida']) == 1 or int(argenv['build_ida7']) == 1:
elif
int
(
argenv
[
'
build_ida7
'
])
==
1
:
print
"
Build IDA 7.0+ Plugin
"
lib
=
SConscript
(
'
SConscript.ida7
'
,
variant_dir
=
'
build_ida
'
)
argenv
.
Depends
(
lib
,
libehp
)
print
"
Done build IDA Plugin
"
test
=
argenv
.
Command
(
target
=
"
./test.log
"
,
source
=
lib
,
action
=
"
IDAROOT=$IDAROOT SMPSA_HOME=$SMPSA_HOME $SMPSA_HOME/tests/scripts/make_baseline.sh 2>&1 |tee ./test.log
"
)
argenv
.
Depends
(
test
,
lib
)
...
...
@@ -155,13 +160,11 @@ if int(argenv['build_irdb']) == 1 or int(argenv['build_irdb_driver']) == 1:
print
"
Build IDA/IRDB library
"
lib
=
SConscript
(
'
SConscript.irdb_lib
'
,
variant_dir
=
'
build_irdb_lib
'
)
installers
=
installers
+
lib
argenv
.
Depends
(
lib
,
libehp
)
libehp
=
argenv
.
SConscript
(
"
libehp/SConscript
"
,
variant_dir
=
'
scons_build/libehp
'
);
libehp
=
argenv
.
Install
(
"
$SMPSA_HOME/libehp/lib
"
,
libehp
);
argenv
.
Depends
(
lib
,
libehp
)
Default
(
libehp
,
lib
)
Default
(
lib
)
if
'
PEDI_HOME
'
in
os
.
environ
:
pedi
=
Command
(
target
=
"
./testoutput
"
,
...
...
This diff is collapsed.
Click to expand it.
libehp
@
5fe925b2
Subproject commit
f1a844b025aae92d6b32f174fa246b621be32982
Subproject commit
5fe925b21b9b2c227ad79a98efb9b890af2d1247
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment