Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
c4125ece
Commit
c4125ece
authored
4 years ago
by
Melvin Klimke
Committed by
Enkelmann
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed .cspec match, so that the "id" attribute is matched instead of the "name" attribute (#92)
parent
734e5f75
master
…
v0.7
v0.6
v0.5
v0.4
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ParseCspecContent.java
ghidra/p_code_extractor/internal/ParseCspecContent.java
+1
-1
No files found.
ghidra/p_code_extractor/internal/ParseCspecContent.java
View file @
c4125ece
...
...
@@ -216,7 +216,7 @@ public class ParseCspecContent {
while
(
parser
.
peek
().
isStart
())
{
XmlElement
langProperty
=
parser
.
peek
();
if
(
langProperty
.
getName
().
equals
(
"compiler"
))
{
if
(
langProperty
.
getAttribute
(
"
name
"
).
equals
(
compilerSpecId
.
getIdAsString
()))
{
if
(
langProperty
.
getAttribute
(
"
id
"
).
equals
(
compilerSpecId
.
getIdAsString
()))
{
parser
.
start
();
cspec
=
langProperty
.
getAttribute
(
"spec"
);
parser
.
end
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment